From 8618439c959760d560b6aa7208ab2b03e0435209 Mon Sep 17 00:00:00 2001 From: tylen Date: Thu, 20 Mar 2025 21:31:45 +0000 Subject: [PATCH] ansible: correct hosts and docker service file --- ansible/hosts.ini | 3 +-- ansible/worker/init.yaml | 7 ------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/ansible/hosts.ini b/ansible/hosts.ini index 6268ec3..5b03273 100644 --- a/ansible/hosts.ini +++ b/ansible/hosts.ini @@ -1,4 +1,3 @@ [workers] -vm-jenkins-100-30 ansible_host=192.168.100.30 ansible_user=tylen -vm-tools-100-55 ansible_host=192.168.100.55 ansible_user=tylen +vm-media-100-55 ansible_host=192.168.100.55 ansible_user=tylen vm-tools-100-65 ansible_host=192.168.100.65 ansible_user=tylen \ No newline at end of file diff --git a/ansible/worker/init.yaml b/ansible/worker/init.yaml index 9c5ad10..cc9ad3e 100644 --- a/ansible/worker/init.yaml +++ b/ansible/worker/init.yaml @@ -30,13 +30,6 @@ state: latest 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 lineinfile: path: /lib/systemd/system/docker.service