File tree Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Expand file tree Collapse file tree 2 files changed +20
-1
lines changed Original file line number Diff line number Diff line change 8
8
- " 2.7"
9
9
- " 3.6"
10
10
env :
11
+ - >
12
+ DISTRIBUTION=ubuntu
13
+ DIST_VERSION=16.04
14
+ MONGODB_VERSION=3.6
15
+ - >
16
+ DISTRIBUTION=ubuntu
17
+ DIST_VERSION=16.04
18
+ MONGODB_VERSION=3.4
19
+ - >
20
+ DISTRIBUTION=ubuntu
21
+ DIST_VERSION=16.04
22
+ MONGODB_VERSION=3.2
11
23
- >
12
24
DISTRIBUTION=ubuntu-upstart
13
25
DIST_VERSION=14.04
Original file line number Diff line number Diff line change 17
17
- mongo2
18
18
- mongo3
19
19
20
+ - hosts : " {{ target }}"
21
+ gather_facts : false
22
+ tasks :
23
+ - name : Install Python 2.x
24
+ raw : test -e /usr/bin/python || (apt update && apt install -y python-minimal) || true
25
+ register : test
26
+ changed_when : test.stdout
27
+
20
28
- hosts : " {{ target }}"
21
29
become : no
22
30
gather_facts : yes
23
-
24
31
roles :
25
32
- role : greendayonfire.mongodb
26
33
when : " 'mongo_master' in group_names"
You can’t perform that action at this time.
0 commit comments