File tree Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Expand file tree Collapse file tree 5 files changed +17
-12
lines changed Original file line number Diff line number Diff line change
1
+ tests /* .retry
1
2
* ~
2
3
\# * \#
3
4
. \# *
4
- /.python-version
5
+ /.python-version
Original file line number Diff line number Diff line change 32
32
state : latest
33
33
when : not mongodb_pymongo_from_pip
34
34
35
- # - name: Install python-devel
36
- # yum:
37
- # name: "python-devel"
38
- # when: mongodb_pymongo_from_pip
39
-
40
- # - name: Install PIP
41
- # yum:
42
- # name: "python-pip"
43
- # when: mongodb_pymongo_from_pip
44
-
45
35
- name : Install PIP
46
36
yum :
47
37
name : " {{ item }}"
Original file line number Diff line number Diff line change 39
39
when : ( mongodb_security_authorization == 'enabled'
40
40
and (not mongodb_replication_replset
41
41
or mongodb_replication_replset == '') )
42
- no_log : true
42
+ # no_log: true
43
43
tags : [mongodb]
44
44
45
45
- name : Include authorization configuration
Original file line number Diff line number Diff line change
1
+ FROM centos:7
2
+
3
+ # This is needed so that ansible managed to read "ansible_default_ipv4"
4
+ RUN yum install iproute
5
+
6
+ # we can has SSH
7
+ EXPOSE 22
8
+
9
+ # pepare for takeoff
10
+ CMD ["/usr/sbin/init"]
Original file line number Diff line number Diff line change 20
20
- hosts : " {{ target }}"
21
21
become : no
22
22
gather_facts : yes
23
+ pre_tasks :
24
+ - name : Show hostvars
25
+ debug :
26
+ var : " hostvars[inventory_hostname]['ansible_default_ipv4']"
23
27
roles :
24
28
- role : greendayonfire.mongodb
25
29
when : " 'mongo_master' in group_names"
You can’t perform that action at this time.
0 commit comments