mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-03 08:44:42 +00:00
Update testing playbook
This commit is contained in:
parent
630a798de6
commit
e78316d644
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user