# 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