use multiline shell command

This commit is contained in:
Sergey Bubnov 2018-11-07 13:46:32 +04:00
parent 2f018f4698
commit d3610fdb95

View File

@ -85,7 +85,9 @@
# when: node.net is defined
- name: apply NICs config
command: 'alterator-cmdline /net-eth action write commit "#t"; service network restart'
shell: |
alterator-cmdline /net-eth action write commit "#t"
service network restart
changed_when: false
async: 100
poll: 0