fix variable name

This commit is contained in:
Antonio J. Delgado 2022-10-24 12:59:29 +03:00
parent e32b76d7bf
commit e82701e287

View file

@ -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