Commit a68b172c authored by EKbfh's avatar EKbfh

Add config tags

parent 6b1924ac
......@@ -8,6 +8,8 @@
host: "{{ item }}"
with_items: "{{ groups['svc-consul-exec'] }}"
when: "'bootstrap' in hostvars[item]['consul_power'] or 'server' in hostvars[item]['consul_power']"
tags:
- config
# Add user
- name: Add Consul user
......@@ -18,6 +20,8 @@
system: "True"
home: "{{ consul_home }}"
shell: "/bin/sh"
tags:
- config
- name: "Include OS-specific tasks"
include_tasks: "os/{{ ansible_distribution }}/main.yml"
......@@ -35,6 +39,8 @@
- name: Include dir settings
import_tasks: dirs.yml
tags:
- config
- name: Install consul python bindings
import_tasks: control.yml
......
......@@ -7,6 +7,8 @@
when:
- '"master" in postgres_power'
- "'svc-postgres-master' not in groups"
tags:
- config
- name: set postgres master fact
changed_when: "False"
......@@ -17,6 +19,8 @@
delegate_to: "{{ item }}"
delegate_facts: "True"
with_items: "{{ groups['all'] }}"
tags:
- config
- include_tasks: "os/{{ ansible_distribution }}/main.yml"
tags:
......
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