Adding sudo on apt tasks.

This commit is contained in:
Emiliano Vavassori 2015-09-14 03:37:32 +02:00
parent ee97f873c4
commit bb2a98892f
5 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,7 @@
apt:
name: ntp
state: present
sudo: yes
- name: Configuring NTP
template:

View File

@ -5,6 +5,7 @@
apt:
name: libpam-winbind
state: present
sudo: yes
# Leaving them here commented, as they may be needed in the future
# for improvements on login times.

View File

@ -5,6 +5,7 @@
apt:
name: libpam-mount
state: present
sudo: yes
- name: Configuring pam_mount
template:

View File

@ -5,6 +5,7 @@
apt:
pkg: '{{ item }}'
state: present
sudo: yes
with_items:
- winbind
- samba

View File

@ -6,6 +6,7 @@
apt:
name: '{{ item }}'
state: present
sudo: yes
with_items: "{{ addpkg }}"
- name: Removing packages for specific role from NetworkPackageManager