Prevent glenux.bash from setting status to 'changed'.

This commit is contained in:
Glenn Y. Rolland 2015-12-29 15:29:57 +01:00
parent 94b1a0fe4d
commit 5909683cc8

View file

@ -2,6 +2,9 @@
- name: List installable sh scripts - name: List installable sh scripts
shell: ls -1 "{{role_path}}/files/bashrc.d/"*.sh shell: ls -1 "{{role_path}}/files/bashrc.d/"*.sh
register: bash_scripts register: bash_scripts
failed_when:
bash_scripts.rc != 0
changed_when: False
# tasks file for roles/glenux.bash # tasks file for roles/glenux.bash
- name: Install main configuration files for bash - name: Install main configuration files for bash