File tree Expand file tree Collapse file tree 3 files changed +213
-183
lines changed
host_vars/galaxy-qa1.galaxy.cloud.e-infra.cz Expand file tree Collapse file tree 3 files changed +213
-183
lines changed Original file line number Diff line number Diff line change 116
116
owner : " 999"
117
117
mode : " 0400"
118
118
119
+ - hosts : cloudservers
120
+ become : true
121
+ tasks :
122
+ - name : Ensure docker.json starts with {
123
+ lineinfile :
124
+ path : /etc/docker/daemon.json
125
+ line : ' {'
126
+ state : present
127
+ create : yes
128
+ insertafter : BOF
129
+ - name : Ensure docker.json contains proper mtu
130
+ lineinfile :
131
+ path : /etc/docker/daemon.json
132
+ line : ' "mtu": 1442,'
133
+ insertafter : ' ^{.*'
134
+ state : present
135
+ - name : Ensure docker.json ends with }
136
+ lineinfile :
137
+ path : /etc/docker/daemon.json
138
+ line : ' }'
139
+ state : present
140
+ insertbefore : EOF
141
+
119
142
- hosts : galaxyservers
120
143
become : true
121
144
become_user : root
You can’t perform that action at this time.
0 commit comments