sema/hello.yml

15 lines
324 B
YAML
Raw Permalink Normal View History

2025-08-26 19:24:32 +00:00
---
- 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'