moving files to old

This commit is contained in:
2021-02-28 23:19:04 +00:00
parent 63657fbe47
commit 86d3a9a0ec
28 changed files with 0 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
---
- name: Configure /etc/network/interfaces
template:
src: "{{interfaces_template}}"
dest: /etc/network/interfaces
register: _configure_interfaces
- block:
- name: Reboot for networking changes
shell: "sleep 5 && shutdown -r now 'Networking changes found, rebooting'"
async: 1
poll: 0
- name: Wait for server to come back online
wait_for_connection:
delay: 15
when: _configure_interfaces is changed