ansible-galaxy role init <role_name>
Initialize roles
Arguments
Name | Description |
---|---|
role_name | Name of the role |
Options
Name | Description |
---|---|
--server, -s <api_server> | The Galaxy API server URL |
--token, --api-key <api_key> | The Ansible Galaxy API key which can be found at https://galaxy.ansible.com/me/preferences |
--ignore-certs, -c | Ignore SSL certificate validation errors |
--force, -f | Force overwriting an existing role or collection |
--offline | Don't query the galaxy API when creating roles |
--init-path <init_path> | The path in which the skeleton collection will be created |
--role-skeleton <role_skeleton> | The path in which the skeleton role will be created |
--type <role_type> | Initialize using an alternate role type |