Listing of script should be on the control node.
This commit is contained in:
parent
4acd4e2a0a
commit
364735f5a7
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
---
|
---
|
||||||
- name: List installable sh scripts
|
- name: List installable sh scripts
|
||||||
shell: ls -1 "{{role_path}}/files/bashrc.d/"*.sh
|
become: false
|
||||||
|
local_action: shell ls -1 "{{role_path}}/files/bashrc.d/"*.sh
|
||||||
register: bash_scripts
|
register: bash_scripts
|
||||||
failed_when:
|
failed_when:
|
||||||
bash_scripts.rc != 0
|
bash_scripts.rc != 0
|
||||||
|
|
Loading…
Reference in a new issue