fix variable name
This commit is contained in:
parent
e32b76d7bf
commit
e82701e287
1 changed files with 3 additions and 3 deletions
|
@ -17,10 +17,10 @@
|
|||
- not puppet_agent.stat.isdir
|
||||
|
||||
# Not found expected path trying to find with the command which
|
||||
- name: Find puppet agent
|
||||
- name: Find puppet agent with which command
|
||||
shell: which puppet
|
||||
register: puppet_which
|
||||
failed_when: puppet_script.rc == 127
|
||||
failed_when: puppet_which.rc == 127
|
||||
when:
|
||||
- not puppet_agent_cmd
|
||||
|
||||
|
@ -46,7 +46,7 @@
|
|||
- puppet_which_stat.stat.executable
|
||||
|
||||
# Not found from command which trying to find with the command whereis
|
||||
- name: Find puppet agent with whereis
|
||||
- name: Find puppet agent with whereis command
|
||||
shell: "whereis -b puppet | awk 'BEGIN {FS=\": \"} {print($2)}'"
|
||||
register: puppet_whereis
|
||||
failed_when: puppet_whereis.rc == 127
|
||||
|
|
Loading…
Reference in a new issue