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.
currently, if i define group memebership in
ploy.conf
(groups = foo
) i can use that group to define group specific variables ingroup_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:running
ploy configure foo
I getploy 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
andbar
on staging by issuingploy configure staging-foo
.what needs to be done to achieve this?