Prevent glenux.bash from setting status to 'changed'.
This commit is contained in:
parent
94b1a0fe4d
commit
5909683cc8
1 changed files with 3 additions and 0 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue