

my latest / current version doesnt have that anymore (ive been through a lot of constant revisions…)
---
- name: Install Docker Engine and Docker Compose on Debian (Ansible WebUI compatible)
hosts: all
become: true
become_user: root
vars:
docker_pre_apks:
- apt-transport-https
- ca-certificates
- curl
- gnupg2
- libssl-dev
- python3-cffi-backend
- python3-pip
- libffi-dev
- python3-setuptools
- python3-nacl
- python3-jsondiff
docker_apks:
- docker-ce
- docker-ce-cli
- containerd.io
docker_arch: amd64
tasks:
- name: Install pre setup stuff
ansible.builtin.apt:
pkg: "{{ docker_pre_apks }}"
update_cache: true
state: present
- name: Add gpg for docker repo
ansible.builtin.apt_key:
url: https://download.docker.com/linux/debian/gpg
state: present
when: (ansible_distribution == 'Debian' and ansible_distribution_major_version <= '12')
- name: Copy up apt list
ansible.builtin.apt_repository:
repo: "deb [arch={{ docker_arch }}] https://download.docker.com/linux/debian {{ ansible_distribution_release }} stable"
state: present
filename: docker
when: (ansible_distribution == 'Debian' and ansible_distribution_major_version <= '12')
- name: Setup deb822 formatted repositorie
ansible.builtin.deb822_repository:
name: php
types: deb
uris: https://download.docker.com/linux/debian
components: stable
suites: "{{ ansible_distribution_release }}"
signed_by: https://download.docker.com/linux/debian/gpg
state: present
enabled: true
when: (ansible_distribution == 'Debian' and ansible_distribution_major_version >= '13')
- name: Install docker
ansible.builtin.apt:
pkg: "{{ docker_apks }}"
force_apt_get: yes
update_cache: yes
state: present
- name: Start docker service
ansible.builtin.service:
name: docker
enabled: yes
state: started
as a reminder: this is run (unsuccessfully) through ansible web-ui
while that could be an issue, im confused the same setup was able to run a (simplier) nother playbook

- name: install root ca certificate
hosts: all
gather_facts: yes
tasks:
- name: Copy custom CA certificate
copy:
src: ../files/root_ca.crt
dest: /usr/local/share/ca-certificates/root_ca.crt
mode: '0644'
- name: Update CA certificates
command: update-ca-certificates
register: ca_update
im not making sense of this

















wow that would be extremely kind of you!! im based in spain. im just one hour ahead of you. PMing you my google address