ansible-galaxy role init <role_name>

Initialize roles

Arguments

NameDescription
role_nameName of the role

Options

NameDescription
--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, -cIgnore SSL certificate validation errors
--force, -fForce overwriting an existing role or collection
--offlineDon'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