summaryrefslogtreecommitdiff
path: root/common/usb-install.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2021-01-02 14:05:59 +0100
committerChristian Pointner <equinox@spreadspace.org>2021-01-02 14:05:59 +0100
commitca8dd7b0534625b16376837c2ee737b48991606d (patch)
tree8a6c6d3f3d0315636aafb995629d5aad4ec19c61 /common/usb-install.yml
parentprepare ch-dione and ch-helene for test kubernetes cluster (diff)
install playbooks: fix order handlers and reboot
Diffstat (limited to 'common/usb-install.yml')
-rw-r--r--common/usb-install.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/common/usb-install.yml b/common/usb-install.yml
index a7d4e944..4ef69039 100644
--- a/common/usb-install.yml
+++ b/common/usb-install.yml
@@ -45,15 +45,23 @@
# roles:
# ### TODO: add role that configures networking
- # - role: reboot-and-wait
- # reboot_delay: 10
- # reboot_timeout: 120
post_tasks:
- name: reenable StrictHostKeyChecking
set_fact:
ansible_ssh_extra_args: ""
+ - name: run all handlers before rebooting
+ meta: flush_handlers
+
+ ### TODO: enable this once network config is done by ansible
+ # - name: reboot the new machine
+ # vars:
+ # reboot_delay: 10
+ # reboot_timeout: 120
+ # import_role:
+ # name: reboot-and-wait
+
- name: run host playbook
vars: