This commit is contained in:
parent
cfcf3de49b
commit
22bb558b5c
1 changed files with 14 additions and 0 deletions
14
playbooks/reboot_test.yaml
Normal file
14
playbooks/reboot_test.yaml
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
---
|
||||||
|
- name: reboot test
|
||||||
|
hosts: all
|
||||||
|
tasks:
|
||||||
|
- name: debug before
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: before
|
||||||
|
|
||||||
|
- name: reboot
|
||||||
|
ansible.builtin.reboot:
|
||||||
|
|
||||||
|
- name: debug after
|
||||||
|
ansible.builtin.debug:
|
||||||
|
msg: after
|
Loading…
Add table
Add a link
Reference in a new issue