stuff
Some checks failed
Configure Kumonoboru / deploy (push) Failing after 1m8s

This commit is contained in:
2023-11-24 14:58:11 +02:00
parent 8520c9e5be
commit 1540775dfe
3 changed files with 8 additions and 5 deletions

View File

@@ -1,3 +1,8 @@
- name: Make sure Container directory exists
ansible.builtin.file:
path: "{{ container_dir }}"
state: directory
- ansible.builtin.git:
repo: https://git.pukeko.xyz/shmick/docker.git
dest: "{{ container_dir }}/{{ item }}"
@@ -6,6 +11,7 @@
- ansible.builtin.template:
src: "{{ container_dir }}/{{ item }}/docker-compose.yml.j2"
dest: "{{ container_dir }}/{{ item }}/docker-compose.yml"
delegate_to: localhost
- community.docker.docker_compose:
project_src: "{{ container_dir }}/{{ item }}"

View File

@@ -17,6 +17,7 @@
# ^ ex: Ubuntu -> ubuntu
url: "https://download.docker.com/linux/ubuntu/gpg"
state: present
ignore_errors: yes
- name: Add Docker's APT repo
@@ -25,6 +26,7 @@
repo: "deb [arch={{ docker_arch }}] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
state: present
update_cache: yes
ignore_errors: yes
- name: Install docker and dependencies
ansible.builtin.apt:

View File

@@ -10,11 +10,6 @@
- name: Install Docker CE ## From: https://gist.github.com/rbq/886587980894e98b23d0eee2a1d84933, https://docs.docker.com/engine/install/
include_tasks: docker.yaml
- name: Make sure Container directory exists
ansible.builtin.file:
path: "{{ container_dir }}"
state: directory
- name: Set up containers
include_tasks: containers.yaml
with_items: