reboot(role): intro. reboot role, which handles local conns. gracefully
Also use this role instead of plain ansible.builtin.reboot. This is in preparation for using ansible_pull as we don't want to have ansible.builtin.reboot fail local playbook runs.
This commit is contained in:
parent
13a8dc9b6f
commit
635bbd447d
5 changed files with 59 additions and 2 deletions
13
roles/reboot/meta/argument_specs.yaml
Normal file
13
roles/reboot/meta/argument_specs.yaml
Normal file
|
@ -0,0 +1,13 @@
|
|||
argument_specs:
|
||||
main:
|
||||
options:
|
||||
reboot__local_handling:
|
||||
type: str
|
||||
required: false
|
||||
choices:
|
||||
- "none"
|
||||
- "ignore"
|
||||
- "file"
|
||||
reboot__local_handling_file:
|
||||
type: path
|
||||
required: false
|
Loading…
Add table
Add a link
Reference in a new issue