summaryrefslogtreecommitdiff
path: root/common/iso-install.yml
diff options
context:
space:
mode:
Diffstat (limited to 'common/iso-install.yml')
-rw-r--r--common/iso-install.yml14
1 files changed, 11 insertions, 3 deletions
diff --git a/common/iso-install.yml b/common/iso-install.yml
index 1a211319..dea08b3a 100644
--- a/common/iso-install.yml
+++ b/common/iso-install.yml
@@ -55,15 +55,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: