diff --git a/hello.yml b/hello.yml new file mode 100644 index 0000000..93e62ae --- /dev/null +++ b/hello.yml @@ -0,0 +1,14 @@ +--- +- 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'