fix: turns legacy command into supported shell
This commit is contained in:
@@ -72,9 +72,8 @@
|
|||||||
- "::1"
|
- "::1"
|
||||||
|
|
||||||
- name: scripted version of mysql_secure_installation
|
- name: scripted version of mysql_secure_installation
|
||||||
command: "{{ item }}"
|
shell: "{{ item }}"
|
||||||
args:
|
args:
|
||||||
warn: false
|
|
||||||
creates: ~/mysql_secure_installation
|
creates: ~/mysql_secure_installation
|
||||||
loop:
|
loop:
|
||||||
- "mysql -e \"DELETE FROM mysql.user WHERE User='';\""
|
- "mysql -e \"DELETE FROM mysql.user WHERE User='';\""
|
||||||
|
@@ -1,15 +1,11 @@
|
|||||||
---
|
---
|
||||||
|
|
||||||
- name: delete squid plugins
|
- name: delete squid plugins
|
||||||
shell:
|
shell: "rm -f /etc/munin/plugins/squid_*"
|
||||||
cmd: "rm -f /etc/munin/plugins/squid_*"
|
|
||||||
warn: false
|
|
||||||
notify:
|
notify:
|
||||||
- restart munin-node
|
- restart munin-node
|
||||||
|
|
||||||
- name: delete lxc interfaces plugins
|
- name: delete lxc interfaces plugins
|
||||||
shell:
|
shell: "rm -f /etc/munin/plugins/if_*veth* /etc/munin/plugins/if_*fw* /etc/munin/plugins/if_*vmbr*"
|
||||||
cmd: "rm -f /etc/munin/plugins/if_*veth* /etc/munin/plugins/if_*fw* /etc/munin/plugins/if_*vmbr*"
|
|
||||||
warn: false
|
|
||||||
notify:
|
notify:
|
||||||
- restart munin-node
|
- restart munin-node
|
||||||
|
Reference in New Issue
Block a user