Compare commits

..

3 Commits

Author SHA1 Message Date
Renovate Bot
3ca60f7e91 Update gitea/gitea Docker tag to v1.22.6 2024-12-16 22:00:04 +00:00
461d812316 Pull Docker images before bringing them up
All checks were successful
Ansible Deploy / Homelab-Deploy (ansible/buildHomelab.yaml) (push) Successful in 2m7s
2024-12-16 09:52:58 -05:00
ac6f7c8905 Removed 'git' server from inventory
All checks were successful
Ansible Deploy / Homelab-Deploy (ansible/buildHomelab.yaml) (push) Successful in 2m6s
2024-12-16 08:37:28 -05:00
2 changed files with 6 additions and 2 deletions

View File

@ -83,10 +83,16 @@
src: assets/{{ inventory_hostname }}/compose.yml.j2 src: assets/{{ inventory_hostname }}/compose.yml.j2
dest: /root/docker/compose.yml dest: /root/docker/compose.yml
backup: true backup: true
- name: Pull images
ansible.builtin.shell: docker compose pull
args:
chdir: /root/docker
- name: Run Docker - name: Run Docker
ansible.builtin.shell: docker compose up -d --remove-orphans ansible.builtin.shell: docker compose up -d --remove-orphans
args: args:
chdir: /root/docker chdir: /root/docker
- name: Prune images
ansible.builtin.shell: docker image prune -f
- name: Local server Wireguard - name: Local server Wireguard
hosts: hosts:

View File

@ -11,8 +11,6 @@ docker:
ansible_ssh_user: root ansible_ssh_user: root
docker-int: docker-int:
ansible_ssh_user: root ansible_ssh_user: root
git:
ansible_ssh_user: root
basementpi: basementpi:
ansible_host: 10.11.1.10 ansible_host: 10.11.1.10
ansible_ssh_user: root ansible_ssh_user: root