Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
5637426f
Commit
5637426f
authored
Jun 06, 2014
by
James Cammarata
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'devel' of
https://github.com/ansible/ansible
into devel
parents
5f929890
bd5cf57e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
README.md
+2
-1
library/cloud/ec2_group
+4
-0
No files found.
README.md
View file @
5637426f
...
...
@@ -42,7 +42,8 @@ Branch Info
Author
======
Michael DeHaan -- michael@ansible.com
Ansible was created by Michael DeHaan (michael@ansible.com) and has contributions from over
700 users (and growing). Thanks everyone!
[
Ansible, Inc
](
http://ansible.com
)
library/cloud/ec2_group
View file @
5637426f
...
...
@@ -230,6 +230,10 @@ def main():
# to 0.0.0.0/0 is added automatically but it's not
# reflected in the object returned by the AWS API
# call. We re-read the group for getting an updated object
# amazon sometimes takes a couple seconds to update the security group so wait till it exists
while
len
(
ec2
.
get_all_security_groups
(
filters
=
{
'group_id'
:
group
.
id
,
}))
==
0
:
time
.
sleep
(
0.1
)
group
=
ec2
.
get_all_security_groups
(
group_ids
=
(
group
.
id
,))[
0
]
changed
=
True
else
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment