Add hello.yml
This commit is contained in:
parent
c9a1e7d67a
commit
95f68ae9a7
1 changed files with 14 additions and 0 deletions
14
hello.yml
Normal file
14
hello.yml
Normal file
|
|
@ -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'
|
||||
Loading…
Add table
Add a link
Reference in a new issue