Created
July 4, 2014 07:20
-
-
Save mralexjuarez/c4cfae2f6f4f23af1d1b to your computer and use it in GitHub Desktop.
One-Liner to Create Ansible roles directory structure.
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
mkdir -p tasks handlers templates files vars meta ; touch tasks/main.yml handlers/main.yml vars/main.yml meta/main.yml |
You can use ansible-galaxy command to create number of roles
`
$ mkdir roles && cd roles && sudo ansible-galaxy init your_role_name
`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks man! it was useful!