File tree Expand file tree Collapse file tree 18 files changed +346
-383
lines changed Expand file tree Collapse file tree 18 files changed +346
-383
lines changed Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ extends: default
2
+
3
+ rules:
4
+ braces:
5
+ max-spaces-inside: 1
6
+ level: error
7
+ brackets:
8
+ max-spaces-inside: 1
9
+ level: error
10
+ line-length: disable
11
+ truthy: disable
Original file line number Diff line number Diff line change @@ -30,3 +30,4 @@ Sergei Antipov
30
30
Stuart Williams
31
31
Travis Truman
32
32
Tuyen Dinh
33
+ Yoann LE TOUCHE
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ haproxy_defaults:
38
38
facility : local1
39
39
level : notice
40
40
timeout :
41
- - param : ' connect'
42
- value : ' 5000ms'
43
- - param : ' client'
44
- value : ' 50000ms'
45
- - param : ' server'
46
- value : ' 50000ms'
41
+ - param : ' connect'
42
+ value : ' 5000ms'
43
+ - param : ' client'
44
+ value : ' 50000ms'
45
+ - param : ' server'
46
+ value : ' 50000ms'
47
47
options :
48
48
- httpclose
49
49
- forwardfor except 127.0.0.0/8
@@ -52,20 +52,20 @@ haproxy_defaults:
52
52
- httplog
53
53
- dontlognull
54
54
errorfile :
55
- - code : 400
56
- file : /etc/haproxy/errors/400.http
57
- - code : 403
58
- file : /etc/haproxy/errors/403.http
59
- - code : 408
60
- file : /etc/haproxy/errors/408.http
61
- - code : 500
62
- file : /etc/haproxy/errors/500.http
63
- - code : 502
64
- file : /etc/haproxy/errors/502.http
65
- - code : 503
66
- file : /etc/haproxy/errors/503.http
67
- - code : 504
68
- file : /etc/haproxy/errors/504.http
55
+ - code : 400
56
+ file : /etc/haproxy/errors/400.http
57
+ - code : 403
58
+ file : /etc/haproxy/errors/403.http
59
+ - code : 408
60
+ file : /etc/haproxy/errors/408.http
61
+ - code : 500
62
+ file : /etc/haproxy/errors/500.http
63
+ - code : 502
64
+ file : /etc/haproxy/errors/502.http
65
+ - code : 503
66
+ file : /etc/haproxy/errors/503.http
67
+ - code : 504
68
+ file : /etc/haproxy/errors/504.http
69
69
70
70
haproxy_resolvers : []
71
71
haproxy_backends : []
Original file line number Diff line number Diff line change @@ -6,17 +6,17 @@ galaxy_info:
6
6
license : Apache v2
7
7
min_ansible_version : 2.2
8
8
platforms :
9
- - name : Ubuntu
10
- versions :
11
- - precise
12
- - trusty
13
- - name : CentOS
14
- - name : Debian
15
- versions :
16
- - jessie
17
- - name : Alpine
18
- categories :
19
- - networking
20
- - system
21
- - web
9
+ - name : Ubuntu
10
+ versions :
11
+ - precise
12
+ - trusty
13
+ - name : CentOS
14
+ - name : Debian
15
+ versions :
16
+ - jessie
17
+ - name : Alpine
18
+ galaxy_tags :
19
+ - networking
20
+ - system
21
+ - web
22
22
dependencies : []
Original file line number Diff line number Diff line change
1
+ # Molecule managed
2
+
3
+ {% if item .registry is defined %}
4
+ FROM {{ item.registry.url }}/{{ item.image }}
5
+ {% else %}
6
+ FROM {{ item.image }}
7
+ {% endif %}
8
+
9
+ RUN if [ $(command -v apt-get) ]; then apt-get update && apt-get install -y python sudo bash ca-certificates && apt-get clean; \
10
+ elif [ $(command -v dnf) ]; then dnf makecache && dnf --assumeyes install python sudo python-devel python*-dnf bash && dnf clean all; \
11
+ elif [ $(command -v yum) ]; then yum makecache fast && yum install -y python sudo yum-plugin-ovl bash && sed -i 's/plugins=0/plugins=1/g' /etc/yum.conf && yum clean all; \
12
+ elif [ $(command -v zypper) ]; then zypper refresh && zypper install -y python sudo bash python-xml && zypper clean -a; \
13
+ elif [ $(command -v apk) ]; then apk update && apk add --no-cache python sudo bash ca-certificates; \
14
+ elif [ $(command -v xbps-install) ]; then xbps-install -Syu && xbps-install -y python sudo bash ca-certificates && xbps-remove -O; fi
Original file line number Diff line number Diff line change
1
+ *******
2
+ Docker driver installation guide
3
+ *******
4
+
5
+ Requirements
6
+ ============
7
+
8
+ * Docker Engine
9
+
10
+ Install
11
+ =======
12
+
13
+ Please refer to the `Virtual environment `_ documentation for installation best
14
+ practices. If not using a virtual environment, please consider passing the
15
+ widely recommended `'--user' flag `_ when invoking ``pip ``.
16
+
17
+ .. _Virtual environment : https://virtualenv.pypa.io/en/latest/
18
+ .. _'--user' flag : https://packaging.python.org/tutorials/installing-packages/#installing-to-the-user-site
19
+
20
+ .. code-block :: bash
21
+
22
+ $ pip install ' molecule[docker]'
You can’t perform that action at this time.
0 commit comments