File tree Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Expand file tree Collapse file tree 4 files changed +3
-11
lines changed Original file line number Diff line number Diff line change 1
1
---
2
2
3
- image_name : " ubuntu-upstart :18.04"
3
+ image_name : " ubuntu:18.04"
4
4
mongodb_package : mongodb-org
5
5
mongodb_version : " 4.0"
6
6
mongodb_storage_dbpath : /var/lib/mongodb
Original file line number Diff line number Diff line change 2
2
3
3
mongodb_master : true
4
4
mongodb_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 1
1
---
2
2
3
3
mongodb_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 87
87
gather_facts : yes
88
88
roles :
89
89
- 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