Commit 757bffdb by nadeemshahzad

remove local version of ansible modules

parent 137e06eb
......@@ -49,7 +49,7 @@
state: absent
- name: Send Hipchat notification cleanup has finished
hipchat_2_0_0_1:
hipchat:
api: "{{ hipchat_url }}"
token: "{{ hipchat_token }}"
room: "{{ hipchat_room }}"
......
......@@ -57,7 +57,7 @@
register: instance_tags
- name: Create AMI
ec2_ami_2_0_0_1:
ec2_ami:
instance_id: "{{ instance_id }}"
name: "{{ edx_environment }} -- {{ deployment }} -- {{ play }} -- {{ extra_name_identifier }} -- {{ app_version[:7] }}"
region: "{{ ec2_region }}"
......@@ -112,7 +112,7 @@
mode: 0600
- name: Send Hipchat notification AMI is finished baking
hipchat_2_0_0_1:
hipchat:
api: "{{ hipchat_url }}"
token: "{{ hipchat_token }}"
room: "{{ hipchat_room }}"
......
......@@ -31,7 +31,7 @@
become_user: "{{ APPLICATION_USER }}"
- name: Send Hipchat notification
hipchat_2_0_0_1:
hipchat:
api: "{{ HIPCHAT_URL }}"
token: "{{ HIPCHAT_TOKEN }}"
room: "{{ HIPCHAT_ROOM }}"
......
......@@ -31,7 +31,7 @@
become_user: "{{ APPLICATION_USER }}"
- name: Send Hipchat notification
hipchat_2_0_0_1:
hipchat:
api: "{{ HIPCHAT_URL }}"
token: "{{ HIPCHAT_TOKEN }}"
room: "{{ HIPCHAT_ROOM }}"
......
......@@ -131,7 +131,7 @@
- "{{ migration_files.stdout_lines }}"
- name: Send Hipchat notification cleanup has finished
hipchat_2_0_0_1:
hipchat:
api: "{{ HIPCHAT_URL }}"
token: "{{ HIPCHAT_TOKEN }}"
room: "{{ HIPCHAT_ROOM }}"
......
......@@ -89,7 +89,7 @@
- "{{ migration_files.stdout_lines }}"
- name: Send Hipchat notification cleanup has finished
hipchat_2_0_0_1:
hipchat:
api: "{{ HIPCHAT_URL }}"
token: "{{ HIPCHAT_TOKEN }}"
room: "{{ HIPCHAT_ROOM }}"
......
......@@ -18,7 +18,7 @@
- name: terminating single instance
local_action:
module: ec2_2_1_1_0
module: ec2
state: 'absent'
region: "{{ region }}"
instance_ids: "{{tag_lookup.instance_ids}}"
......@@ -36,7 +36,7 @@
- name: Launch ec2 instance
local_action:
module: ec2_2_1_1_0
module: ec2
keypair: "{{ keypair }}"
group: "{{ security_group }}"
instance_type: "{{ instance_type }}"
......@@ -58,7 +58,7 @@
- name: Add DNS name
local_action:
module: route53_2_1_1_0
module: route53
overwrite: yes
command: create
zone: "{{ dns_zone }}"
......@@ -70,7 +70,7 @@
- name: Add DNS names for services
local_action:
module: route53_2_1_1_0
module: route53
overwrite: yes
command: create
zone: "{{ dns_zone }}"
......
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