ansible: check_mode: bind_mounts; skip tasks (#282)
Co-authored-by: Michael Grote <michael.grote@posteo.de> Reviewed-on: mg/ansible#282 Co-authored-by: mg <michael.grote@posteo.de> Co-committed-by: mg <michael.grote@posteo.de>
This commit is contained in:
parent
e746c9f62b
commit
14fef2df59
1 changed files with 2 additions and 0 deletions
|
@ -20,6 +20,8 @@
|
||||||
notify: restart lxc
|
notify: restart lxc
|
||||||
# füge bind-mount hinzu falls er fehlt, also rc ungleich 0
|
# füge bind-mount hinzu falls er fehlt, also rc ungleich 0
|
||||||
# pro bind-mount
|
# pro bind-mount
|
||||||
|
when: not ansible_check_mode
|
||||||
|
# überspringe wenn in check-mode
|
||||||
|
|
||||||
# schreibe vm id in die Liste "reboot"
|
# schreibe vm id in die Liste "reboot"
|
||||||
- name: set reboot list
|
- name: set reboot list
|
||||||
|
|
Loading…
Reference in a new issue