Skip to content

allow to configure groups #16

@tomster

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?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions