Update testing playbook

This commit is contained in:
Sergei Antipov 2018-03-02 12:41:17 +07:00
parent 630a798de6
commit e78316d644

View File

@ -17,14 +17,21 @@
- mongo2
- mongo3
- hosts: "{{ target }}"
- hosts: mongo
become: no
gather_facts: no
tasks:
- name: gather tasks from all hosts
setup:
- hosts: "{{ target | default('mongo') }}"
become: no
gather_facts: yes
roles:
- role: greendayonfire.mongodb
when: "'mongo_master' in group_names"
- hosts: "{{ target }}"
- hosts: "{{ target | default('mongo') }}"
become: no
gather_facts: yes
roles: