Adding sudo on apt tasks.
This commit is contained in:
parent
ee97f873c4
commit
bb2a98892f
@ -5,6 +5,7 @@
|
||||
apt:
|
||||
name: ntp
|
||||
state: present
|
||||
sudo: yes
|
||||
|
||||
- name: Configuring NTP
|
||||
template:
|
||||
|
@ -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.
|
||||
|
@ -5,6 +5,7 @@
|
||||
apt:
|
||||
name: libpam-mount
|
||||
state: present
|
||||
sudo: yes
|
||||
|
||||
- name: Configuring pam_mount
|
||||
template:
|
||||
|
@ -5,6 +5,7 @@
|
||||
apt:
|
||||
pkg: '{{ item }}'
|
||||
state: present
|
||||
sudo: yes
|
||||
with_items:
|
||||
- winbind
|
||||
- samba
|
||||
|
@ -6,6 +6,7 @@
|
||||
apt:
|
||||
name: '{{ item }}'
|
||||
state: present
|
||||
sudo: yes
|
||||
with_items: "{{ addpkg }}"
|
||||
|
||||
- name: Removing packages for specific role from NetworkPackageManager
|
||||
|
Loading…
x
Reference in New Issue
Block a user