Other updates to role to cope with warnings in newer Ansible versions.
This commit is contained in:
parent
099af70925
commit
b40ddd873b
@ -35,6 +35,8 @@
|
|||||||
|
|
||||||
- name: Cleanup of unneeded packages
|
- name: Cleanup of unneeded packages
|
||||||
shell: apt-get -y autoremove
|
shell: apt-get -y autoremove
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
register: autoremove
|
register: autoremove
|
||||||
changed_when: "'Rimozione' in autoremove.stdout"
|
changed_when: "'Rimozione' in autoremove.stdout"
|
||||||
|
|
||||||
|
@ -28,6 +28,8 @@
|
|||||||
|
|
||||||
- name: Disabling pulseaudio startup on lightdm
|
- name: Disabling pulseaudio startup on lightdm
|
||||||
shell: chmod -x /usr/bin/start-pulseaudio-x11
|
shell: chmod -x /usr/bin/start-pulseaudio-x11
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
|
|
||||||
- name: Removing old (and not-working) approach
|
- name: Removing old (and not-working) approach
|
||||||
file:
|
file:
|
||||||
|
@ -7,3 +7,5 @@
|
|||||||
# Correctly managing ansible-pull runs.
|
# Correctly managing ansible-pull runs.
|
||||||
- name: Updating local version for repo
|
- name: Updating local version for repo
|
||||||
shell: 'rm -f {{ ansible_local.checksum.repover_file }} && echo "{{ ansible_local.checksum.repover }}" > {{ ansible_local.checksum.repover_file }}'
|
shell: 'rm -f {{ ansible_local.checksum.repover_file }} && echo "{{ ansible_local.checksum.repover }}" > {{ ansible_local.checksum.repover_file }}'
|
||||||
|
args:
|
||||||
|
warn: false
|
||||||
|
@ -29,8 +29,7 @@
|
|||||||
|
|
||||||
- name: Installing domain packages
|
- name: Installing domain packages
|
||||||
apt:
|
apt:
|
||||||
pkg: '{{ item }}'
|
pkg:
|
||||||
|
- winbind
|
||||||
|
- samba
|
||||||
state: present
|
state: present
|
||||||
with_items:
|
|
||||||
- winbind
|
|
||||||
- samba
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user