mirror of
https://bitbucket.org/atlassian/dc-deployments-automation.git
synced 2025-12-14 08:53:07 -06:00
DCD-890: Fixes from testing.
This commit is contained in:
@@ -16,6 +16,8 @@ provisioner:
|
|||||||
name: ansible
|
name: ansible
|
||||||
lint:
|
lint:
|
||||||
name: ansible-lint
|
name: ansible-lint
|
||||||
|
options:
|
||||||
|
x: ["303", "602"]
|
||||||
inventory:
|
inventory:
|
||||||
links:
|
links:
|
||||||
group_vars: ../../../../group_vars/
|
group_vars: ../../../../group_vars/
|
||||||
|
|||||||
@@ -6,6 +6,8 @@
|
|||||||
resource: "{{ ansible_ec2_instance_id }}"
|
resource: "{{ ansible_ec2_instance_id }}"
|
||||||
state: list
|
state: list
|
||||||
register: ec2_instance_tags
|
register: ec2_instance_tags
|
||||||
|
tags:
|
||||||
|
- notest
|
||||||
|
|
||||||
- name: Retrieve autoscaling group
|
- name: Retrieve autoscaling group
|
||||||
set_fact:
|
set_fact:
|
||||||
@@ -48,8 +50,8 @@
|
|||||||
region: "{{ ansible_ec2_placement_region }}"
|
region: "{{ ansible_ec2_placement_region }}"
|
||||||
resource: "{{ ansible_ec2_instance_id }}"
|
resource: "{{ ansible_ec2_instance_id }}"
|
||||||
tags:
|
tags:
|
||||||
"atl:deployment:commit": "{{ git_out.stdout }}"
|
"atl:deployment:commit": "{{ git_out.stdout }}"
|
||||||
"atl:deployment:first-run": "{{ ansible_date_time.iso8601 }}"
|
"atl:deployment:first-run": "{{ ansible_date_time.iso8601 }}"
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
when:
|
when:
|
||||||
|
|||||||
Reference in New Issue
Block a user