Commit c1acacdb by Kevin Falcone Committed by GitHub

Merge pull request #3342 from edx/jibsheet/upgrade-ansible-ec2-modules

Pull down ec2 and route53 from ansible 2 for assume role support
parents c50894db e347caf3
#!/usr/bin/python #!/usr/bin/env python
# This file is part of Ansible # This file is part of Ansible
# #
# Ansible is free software: you can redistribute it and/or modify # Ansible is free software: you can redistribute it and/or modify
...@@ -402,4 +402,4 @@ def main(): ...@@ -402,4 +402,4 @@ def main():
from ansible.module_utils.basic import * from ansible.module_utils.basic import *
from ansible.module_utils.ec2 import * from ansible.module_utils.ec2 import *
main() main()
\ No newline at end of file
#!/usr/bin/python #!/usr/bin/env python
# This file is part of Ansible # This file is part of Ansible
# #
# Ansible is free software: you can redistribute it and/or modify # Ansible is free software: you can redistribute it and/or modify
......
#!/usr/bin/python #!/usr/bin/env python
# This file is part of Ansible # This file is part of Ansible
# #
# Ansible is free software: you can redistribute it and/or modify # Ansible is free software: you can redistribute it and/or modify
......
#!/usr/bin/python #!/usr/bin/env python
# This file is part of Ansible # This file is part of Ansible
# #
# Ansible is free software: you can redistribute it and/or modify # Ansible is free software: you can redistribute it and/or modify
......
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
- name: terminating single instance - name: terminating single instance
local_action: local_action:
module: ec2 module: ec2_2_1_1_0
state: 'absent' state: 'absent'
region: "{{ region }}" region: "{{ region }}"
instance_ids: "{{tag_lookup.instance_ids}}" instance_ids: "{{tag_lookup.instance_ids}}"
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
- name: Launch ec2 instance - name: Launch ec2 instance
local_action: local_action:
module: ec2 module: ec2_2_1_1_0
keypair: "{{ keypair }}" keypair: "{{ keypair }}"
group: "{{ security_group }}" group: "{{ security_group }}"
instance_type: "{{ instance_type }}" instance_type: "{{ instance_type }}"
...@@ -56,7 +56,7 @@ ...@@ -56,7 +56,7 @@
- name: Add DNS name - name: Add DNS name
local_action: local_action:
module: route53 module: route53_2_1_1_0
overwrite: yes overwrite: yes
command: create command: create
zone: "{{ dns_zone }}" zone: "{{ dns_zone }}"
...@@ -68,7 +68,7 @@ ...@@ -68,7 +68,7 @@
- name: Add DNS names for services - name: Add DNS names for services
local_action: local_action:
module: route53 module: route53_2_1_1_0
overwrite: yes overwrite: yes
command: create command: create
zone: "{{ dns_zone }}" zone: "{{ dns_zone }}"
......
...@@ -2,7 +2,7 @@ git+https://github.com/edx/ansible.git@stable-1.9.3-rc1-edx#egg=ansible==1.9.3-e ...@@ -2,7 +2,7 @@ git+https://github.com/edx/ansible.git@stable-1.9.3-rc1-edx#egg=ansible==1.9.3-e
PyYAML==3.11 PyYAML==3.11
Jinja2==2.8 Jinja2==2.8
MarkupSafe==0.23 MarkupSafe==0.23
boto==2.32.1 boto==2.33.0
ecdsa==0.11 ecdsa==0.11
paramiko==1.15.1 paramiko==1.15.1
pycrypto==2.6.1 pycrypto==2.6.1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment