summaryrefslogtreecommitdiff
path: root/hello_world.yml
blob: 67b340de37b793623871ca6ad035ff0b15bfbc2b (plain)
1
2
3
4
5
6
7
8
9
10
# To run this, name this file hello_world.yml and run the following in the same directory
# ansible-playbook hello_world.yml -i 'local,' --connection=local

- name: hello world example
  hosts: all
  tasks:
  - name: Create a directory
    file:
      path=hello_world
      state=directory