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:
Michael Grote 2021-12-15 22:20:17 +01:00
parent e746c9f62b
commit 14fef2df59
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@
notify: restart lxc
# füge bind-mount hinzu falls er fehlt, also rc ungleich 0
# pro bind-mount
when: not ansible_check_mode
# überspringe wenn in check-mode
# schreibe vm id in die Liste "reboot"
- name: set reboot list