Build docker image from DCD

This commit is contained in:
asulthana
2019-07-01 09:03:35 +00:00
parent f86f7d52f2
commit 0693c757cd
2 changed files with 3 additions and 3 deletions

View File

@@ -11,4 +11,4 @@
- name: Use EC2 instance ID for cluster node ID
set_fact:
atl_cluster_node_id: "{{ ansible_ec2_instance_id }}"
atl_local_ipv4: "{{ ansible_ec2_local_ipv4 | default(ansible_default_ipv4.address) }}"
atl_local_ipv4: "{{ ansible_ec2_local_ipv4 | default(ansible_default_ipv4) }}"

View File

@@ -1,13 +1,13 @@
---
- name: Restart Product
service:
systemd:
name: "{{ atl_systemd_service_name }}"
state: restarted
when: atl_startup_restart
- name: Enable Product
service:
systemd:
name: "{{ atl_systemd_service_name }}"
enabled: true
when: atl_startup_enable