Last active
February 28, 2022 18:38
-
-
Save rythie/9ed1b8f2c30fff1f64cf to your computer and use it in GitHub Desktop.
Ansible hello world example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |
- hosts: | |
- local | |
tasks: | |
- name: Create a directory | |
file: path=hello_world state=directory |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment