Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support external templates directory for role init #18661

Closed
wants to merge 1 commit into from

Conversation

realloc
Copy link

@realloc realloc commented Nov 29, 2016

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

ansible-galaxy cli

ANSIBLE VERSION
ansible 2.3.0 (feature/role_templates 520a12f6f0) last updated 2016/11/28 19:31:06 (GMT +900)
SUMMARY

As a role developer I want to use custom role templates for each of my projects
and still use ansible-galaxy init for initial role skeleton generation. The
additional -t argument sets the path to search for such templates instead of
standard one. It may be useful in corporate environment where each team has it's
own role templates.

Usage example:

ansible-galaxy init  -p ~/Project1/roles -t ~/Project1/role_templates role1

It may be useful when you have some corporate templates for Ansible
role generation.
@ansibot ansibot added affects_2.3 This issue/PR affects Ansible v2.3 needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Dec 13, 2016
@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Dec 20, 2016
@ansibot ansibot added needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. and removed needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. labels Jan 3, 2017
@ansibot
Copy link
Contributor

ansibot commented Jan 8, 2017

@ansibot ansibot added needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. labels Apr 11, 2017
@ansibot ansibot added the support:core This issue/PR relates to code supported by the Ansible Engineering Team. label Jun 29, 2017
@abadger
Copy link
Contributor

abadger commented Jul 27, 2017

An equivalent feature named role skeletons was added via this PR: #17079 The feature is in the current stable release (ansible-2.3.x).

@abadger abadger closed this Jul 27, 2017
@ansibot ansibot added docs This issue/PR relates to or includes documentation. feature This issue/PR relates to a feature request. and removed docs_pull_request labels Mar 3, 2018
@ansible ansible locked and limited conversation to collaborators Apr 26, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
affects_2.3 This issue/PR affects Ansible v2.3 c:cli/galaxy c:cli/ c:galaxy/ docs This issue/PR relates to or includes documentation. feature This issue/PR relates to a feature request. needs_rebase https://docs.ansible.com/ansible/devel/dev_guide/developing_rebasing.html needs_revision This PR fails CI tests or a maintainer has requested a review/revision of the PR. stale_ci This PR has been tested by CI more than one week ago. Close and re-open this PR to get it retested. support:core This issue/PR relates to code supported by the Ansible Engineering Team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants