add quotes for shell command
This commit is contained in:
parent
de63c0747f
commit
5e9d4906ad
|
@ -22,7 +22,7 @@
|
|||
notify: restart munin-node
|
||||
|
||||
- name: Rename the localdomain data dir
|
||||
shell: mv /var/lib/munin/localdomain /var/lib/munin/{{ ansible_domain }} && rename "s/localhost.localdomain/{{ ansible_fqdn }}/" /var/lib/munin/{{ ansible_domain }}/*
|
||||
shell: "mv /var/lib/munin/localdomain /var/lib/munin/{{ ansible_domain }} && rename \"s/localhost.localdomain/{{ ansible_fqdn }}/\" /var/lib/munin/{{ ansible_domain }}/*"
|
||||
args:
|
||||
creates: /var/lib/munin/{{ ansible_domain }}
|
||||
removes: /var/lib/munin/localdomain
|
||||
|
|
Loading…
Reference in New Issue