Skip to content
Snippets Groups Projects
Commit b482611a authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Remove redundant common play and add haproxy hosts"

parents 74c508fa 4963898b
No related branches found
No related tags found
No related merge requests found
--- ---
- include: "{{ action }}.yml" - include: "{{ action }}.yml"
tags: common
when: not common_run when: not common_run
- name: Registering common role has run - name: Registering common role has run
set_fact: set_fact:
common_run: True common_run: True
tags: common
when: not common_run when: not common_run
--- ---
- hosts: # NOTE(awiddersheim): Gather facts for all hosts as a
# first step since several plays below require them when
# building their configurations. The below 'gather_facts'
# set to 'false' is a bit confusing but this is to avoid
# Ansible gathering facts twice.
- name: Gather facts for all hosts
hosts:
- all - all
serial: '{{ serial|default("0") }}' serial: '{{ serial|default("0") }}'
roles: gather_facts: false
- { role: common, tasks:
tags: common } - setup:
tags: always
- hosts: - hosts:
- ceph-mon - ceph-mon
...@@ -45,7 +52,8 @@ ...@@ -45,7 +52,8 @@
tags: telegraf, tags: telegraf,
when: enable_telegraf | bool } when: enable_telegraf | bool }
- hosts: haproxy - hosts:
- haproxy
roles: roles:
- { role: haproxy, - { role: haproxy,
tags: haproxy, tags: haproxy,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment