Skip to content

Latest commit

 

History

History
23 lines (17 loc) · 628 Bytes

INSTALL.md

File metadata and controls

23 lines (17 loc) · 628 Bytes

Installation

To use this Ansible role skeleton, as described in Ansible Galaxy documentation:

ansible-galaxy init --role-skeleton=skeleton role_name
mv role_name ansible-role-role_name
cd ./ansible-role-role_name/
rm INSTALL.md

or add this to ansible.cfg:

[galaxy]
role_skeleton = /path/to/skeleton
role_skeleton_ignore = ^.git$,^.*/.git_keep$

Followed by ansible-galaxy init role_name.

Don't include ansible-role to the role name, for example use java instead of ansible-role-java.