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

allow to configure groups #16

Open
tomster opened this issue Sep 7, 2015 · 0 comments
Open

allow to configure groups #16

tomster opened this issue Sep 7, 2015 · 0 comments
Assignees

Comments

@tomster
Copy link
Contributor

tomster commented Sep 7, 2015

currently, if i define group memebership in ploy.conf (groups = foo) i can use that group to define group specific variables in group_vars/foo.yml and it works as expected.

what i would also expect, though, is that i can run configure against this group.

i.e. given the this ploy.conf snippet:

[ez-instance:foo]
master = staging production
groups = foo

[ez-instance:bar]
master = staging production
groups = foo

running ploy configure foo I get ploy configure: error: argument instance: invalid choice: 'foo'.

as an added bonus it would be really convenient to be able to target a group specifically to a host, i.e. i would like to be able to configure foo and bar on staging by issuing ploy configure staging-foo.

what needs to be done to achieve this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants