Other updates to role to cope with warnings in newer Ansible versions.

This commit is contained in:
Emiliano Vavassori 2019-11-19 00:10:53 +01:00
parent 099af70925
commit b40ddd873b
4 changed files with 9 additions and 4 deletions

View File

@ -35,6 +35,8 @@
- name: Cleanup of unneeded packages
shell: apt-get -y autoremove
args:
warn: false
register: autoremove
changed_when: "'Rimozione' in autoremove.stdout"

View File

@ -28,6 +28,8 @@
- name: Disabling pulseaudio startup on lightdm
shell: chmod -x /usr/bin/start-pulseaudio-x11
args:
warn: false
- name: Removing old (and not-working) approach
file:

View File

@ -7,3 +7,5 @@
# Correctly managing ansible-pull runs.
- name: Updating local version for repo
shell: 'rm -f {{ ansible_local.checksum.repover_file }} && echo "{{ ansible_local.checksum.repover }}" > {{ ansible_local.checksum.repover_file }}'
args:
warn: false

View File

@ -29,8 +29,7 @@
- name: Installing domain packages
apt:
pkg: '{{ item }}'
pkg:
- winbind
- samba
state: present
with_items:
- winbind
- samba