ansible: correct hosts and docker service file
This commit is contained in:
parent
44737795fe
commit
8618439c95
@ -1,4 +1,3 @@
|
|||||||
[workers]
|
[workers]
|
||||||
vm-jenkins-100-30 ansible_host=192.168.100.30 ansible_user=tylen
|
vm-media-100-55 ansible_host=192.168.100.55 ansible_user=tylen
|
||||||
vm-tools-100-55 ansible_host=192.168.100.55 ansible_user=tylen
|
|
||||||
vm-tools-100-65 ansible_host=192.168.100.65 ansible_user=tylen
|
vm-tools-100-65 ansible_host=192.168.100.65 ansible_user=tylen
|
||||||
@ -30,13 +30,6 @@
|
|||||||
state: latest
|
state: latest
|
||||||
update_cache: true
|
update_cache: true
|
||||||
|
|
||||||
- name: Ensure the Docker service file is backed up
|
|
||||||
copy:
|
|
||||||
src: /lib/systemd/system/docker.service
|
|
||||||
dest: /lib/systemd/system/docker.service.bak
|
|
||||||
remote_src: yes
|
|
||||||
when: ansible_distribution == "Ubuntu"
|
|
||||||
|
|
||||||
- name: Update ExecStart in Docker service file with exposing the port
|
- name: Update ExecStart in Docker service file with exposing the port
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /lib/systemd/system/docker.service
|
path: /lib/systemd/system/docker.service
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user