summaryrefslogtreecommitdiff
path: root/hello_world.yml
blob: 66af7874330d8eca797d2d3d34f133c9e83a41b6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
---
# 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
        mode: '0600'