File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11---
22
3- image_name : " ubuntu-upstart :18.04"
3+ image_name : " ubuntu:18.04"
44mongodb_package : mongodb-org
55mongodb_version : " 4.0"
66mongodb_storage_dbpath : /var/lib/mongodb
Original file line number Diff line number Diff line change 22
33mongodb_master : true
44mongodb_replication_params :
5- - { host_name: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" }
5+ - host_name : " {{ hostvars[inventory_hostname].ansible_default_ipv4.address }}"
Original file line number Diff line number Diff line change 11---
22
33mongodb_replication_params :
4- - { host_name: "{{ hostvars[inventory_hostname].ansible_default_ipv4.address }}" }
4+ - host_name : " {{ hostvars[inventory_hostname].ansible_default_ipv4.address }}"
Original file line number Diff line number Diff line change 8787 gather_facts : yes
8888 roles :
8989 - role : greendayonfire.mongodb
90- when : " 'mongo_master' in group_names"
91-
92- - hosts : " {{ target | default('mongo') }}"
93- become : no
94- gather_facts : yes
95- roles :
96- - role : greendayonfire.mongodb
97- when : " 'mongo_replicas' in group_names"
You can’t perform that action at this time.
0 commit comments