Skip to content

allow to configure groups #16

Description

@tomster

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions