sema/hello.yml
2025-08-26 19:24:32 +00:00

14 lines
324 B
YAML

---
- name: Simple Hello World playbook
hosts: all
gather_facts: no
tasks:
- name: Echo Hello World
ansible.builtin.command: echo "Hello World"
- name: Create hello.world file with content
ansible.builtin.copy:
dest: /tmp/hello.world
content: "Hello World\n"
mode: '0644'