fix if which find two puppet
This commit is contained in:
parent
c775d96ef1
commit
4079cd4be4
1 changed files with 5 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
notify: 'Restart puppetserver'
|
||||
|
||||
- name: Find puppetserver command
|
||||
shell: which puppetserver | true
|
||||
shell: which puppetserver | awk '{print($1)}' | true
|
||||
register: which_puppetserver
|
||||
|
||||
- name: Find puppetserver command with where
|
||||
|
@ -127,3 +127,6 @@
|
|||
copy:
|
||||
dest: /etc/puppetlabs/r10k/r10k.yaml
|
||||
content: "{{ r10k_config | to_nice_yaml }}"
|
||||
|
||||
- name: Deploy environment
|
||||
shell: r10k deploy environment --config /etc/puppetlabs/r10k/r10k.yaml
|
Loading…
Reference in a new issue