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

Add name_tag option to set name tag on created disk. #3693

Closed
wants to merge 9 commits into from
Closed

Add name_tag option to set name tag on created disk. #3693

wants to merge 9 commits into from

Conversation

berenddeboer
Copy link
Contributor

Add option to give a name to created ec2 volumes, with a lot of volumes they easily get lost otherwise.

Probably this approach needs to be revisited when generic tagging is going to be supported, but this is at least a step forward.

PS: new pull request to make sure it is a clean request.

@mpdehaan
Copy link
Contributor

mpdehaan commented Aug 6, 2013

It feels like we should be able to generically just specify a list of tags like the ec2 module.

it is currently true that in the ec2 module the name tag must be JSON, but I want to see it updated so that if not JSON and actually a complex argument in Ansible we can work with that too, but also simple key=value pairs. This code should be cleaned up and standardized first, then we need to make this module do the same.

I would hope that it could set multiple tags like the other rather than just setting one tag.

This will also be needing a rebase but per the above we are not ready to merge now.

cc @lwade

srgvg and others added 8 commits August 8, 2013 12:30
that loop over a lookup plugin. Fixes #3704 and #3735
docfix: grammar in docstring for sysctl module
Previous patch was reverted due to the fact that there was an issue
with the results not always being a dictionary (they're sometimes
a unicode string, ie. when the with_items is used with yum). This
minor change corrects that by checking for a dict object.
@lwade
Copy link
Contributor

lwade commented Aug 13, 2013

o.O looks like this has gone a little squiffy.

Regarding tags, we need an ec2_tag module which we can use to set tags on any resource, then we should back out tag functionality from modules, imo. Since most things can be tagged in AWS I think this makes most sense.

@berenddeboer
Copy link
Contributor Author

I know we need an ec2_tag module. But now we have nothing, so I reckoned something was better than nothing.

@jimi-c
Copy link
Member

jimi-c commented Aug 13, 2013

Merged in the ec2_tag module today, so I'm going to go ahead and close this.

@jimi-c jimi-c closed this Aug 13, 2013
@ansibot ansibot added feature This issue/PR relates to a feature request. and removed feature_pull_request labels Mar 4, 2018
@ansible ansible locked and limited conversation to collaborators Apr 24, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature This issue/PR relates to a feature request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants