check that target is not the same as source
This commit is contained in:
parent
829489b2de
commit
22cbabf6ce
1 changed files with 2 additions and 0 deletions
|
@ -86,6 +86,8 @@
|
|||
state: link
|
||||
dest: /usr/local/bin/puppet
|
||||
src: "{{ puppet_agent_cmd }}"
|
||||
when:
|
||||
- puppet_agent_cmd != '/usr/local/bin/puppet'
|
||||
|
||||
- name: Obtain puppet configuration directory
|
||||
shell: "/usr/local/bin/puppet config print confdir"
|
||||
|
|
Loading…
Reference in a new issue