ansible-training-test/playbooks/poweroff.yml

8 lines
137 B
YAML
Executable File

- hosts: alpine
gather_facts: false
tasks:
- name: poweroff
command: poweroff
become: true
ignore_errors: true