summaryrefslogtreecommitdiff
path: root/hello_world.yml
diff options
context:
space:
mode:
Diffstat (limited to 'hello_world.yml')
-rw-r--r--hello_world.yml12
1 files changed, 7 insertions, 5 deletions
diff --git a/hello_world.yml b/hello_world.yml
index 67b340d..66af787 100644
--- a/hello_world.yml
+++ b/hello_world.yml
@@ -1,10 +1,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
+- name: Hello world example
hosts: all
tasks:
- - name: Create a directory
- file:
- path=hello_world
- state=directory
+ - name: Create a directory
+ file:
+ path: hello_world
+ state: directory
+ mode: '0600'