This commit is contained in:
Antonio J. Delgado 2022-10-21 21:25:33 +03:00
parent ab2a75d6ab
commit 702d94563a

View file

@ -28,7 +28,7 @@
- name: Set fact for puppet path to estimated path when not found
set_fact:
puppet_cmd: "/usr/local/bin/puppet"
when: which_puppet.stdout == "" or not which_puppet_stat.stat.executable or which_puppet_stat.isdir
when: which_puppet.stdout == "" or not which_puppet_stat.stat.executable or which_puppet_stat.stat.isdir
- name: Obtain puppet configuration directory
shell: "{{ puppet_cmd }} config print confdir"