change to legit tasks
This commit is contained in:
parent
c7cce79783
commit
c95c30e5ac
10
.ansible-lint
Normal file
10
.ansible-lint
Normal file
@ -0,0 +1,10 @@
|
||||
skip_list:
|
||||
- yaml[truthy]
|
||||
- yaml[colons]
|
||||
- no-changed-when
|
||||
- line-length
|
||||
- yaml[empty-lines]
|
||||
- name[template]
|
||||
- yaml[comments]
|
||||
- meta-incorrect
|
||||
- package-latest
|
@ -1,25 +1,34 @@
|
||||
---
|
||||
- name: Do something, reboot, do something else
|
||||
- name: Update, reboot, Podman, reboot, relay status
|
||||
hosts: all
|
||||
become: false
|
||||
gather_facts: false
|
||||
|
||||
|
||||
tasks:
|
||||
- name: Do something
|
||||
ansible.builtin.debug:
|
||||
msg: "hello. im doing. something. perhaps."
|
||||
- name: Update system to latest package revisions
|
||||
ansible.builtin.package:
|
||||
name : '*'
|
||||
state : latest
|
||||
|
||||
|
||||
- name: I am. To be. Rebooted...
|
||||
- name: Reboot to refresh system state
|
||||
ansible.builtin.reboot:
|
||||
msg : "Goodbye. Cruel, world."
|
||||
test_command : /bin/true
|
||||
|
||||
|
||||
- name: Do something else
|
||||
- name: Install Podman
|
||||
ansible.builtin.package:
|
||||
name : podman
|
||||
state : present
|
||||
|
||||
|
||||
- name: Reboot to refresh system state
|
||||
ansible.builtin.reboot:
|
||||
|
||||
|
||||
- name: Relay status
|
||||
ansible.builtin.debug:
|
||||
msg: "hello. im doing... something... ELSE!"
|
||||
msg: "{{ inventory_hostname }} has completed all operations successfully."
|
||||
|
||||
|
||||
...
|
||||
|
Loading…
x
Reference in New Issue
Block a user