diff --git a/ansible/roles/gitea-runner/molecule/common/prepare.yml b/ansible/roles/gitea-runner/molecule/common/prepare.yml index 1286c67..84de7f6 100644 --- a/ansible/roles/gitea-runner/molecule/common/prepare.yml +++ b/ansible/roles/gitea-runner/molecule/common/prepare.yml @@ -9,9 +9,13 @@ cache_valid_time: 0 when: ansible_facts['os_family'] == 'Debian' - - name: Install python3-debian for deb822_repository module + - name: Install prerequisites for rootless Docker role (Debian/Ubuntu) ansible.builtin.apt: - name: python3-debian + name: + - curl + - gpg + - python3-debian + - ca-certificates state: present when: ansible_facts['os_family'] == 'Debian' @@ -19,3 +23,12 @@ community.general.pacman: update_cache: true when: ansible_facts['os_family'] == 'Archlinux' + + - name: Install prerequisites for rootless Docker role (Arch Linux) + community.general.pacman: + name: + - curl + - gpg + - ca-certificates + state: present + when: ansible_facts['os_family'] == 'Archlinux'