new file: playbooks/host_maintenance/os_reboot.yaml
image-deploy.yaml / build-push-image (push) Successful in 49s
image-deploy.yaml / build-push-image (push) Successful in 49s
renamed: roles/host_maintenance/tasks/main.yml -> roles/host_maintenance/tasks/main.yaml new file: roles/host_maintenance/tasks/os_reboot.yaml
This commit is contained in:
1 parent
e245f5ebff
commit
52b13e3d74
3 files changed
+15
No files matched your search
@@ -0,0 +1,7 @@
|
|||||||
|
- name: host maintenance - os update
|
||||||
|
hosts: '{{target|default("all")}}'
|
||||||
|
become: true
|
||||||
|
tasks:
|
||||||
|
- ansible.builtin.include_role:
|
||||||
|
name: mylimbo.globals.host_maintenance
|
||||||
|
tasks_from: os_reboot
|
||||||
File renamed without changes.
@@ -0,0 +1,8 @@
|
|||||||
|
- name: Reboot
|
||||||
|
reboot:
|
||||||
|
msg: "Reboot initiated by Ansible"
|
||||||
|
connect_timeout: 5
|
||||||
|
reboot_timeout: 300
|
||||||
|
pre_reboot_delay: 0
|
||||||
|
post_reboot_delay: 30
|
||||||
|
test_command: uptime
|
||||||
Reference in new issue
Block a user