fix handlers not flushing on time
All checks were successful
test / Linting (push) Successful in 7s
test / Molecule tests (default, debian11) (push) Successful in 1m30s
test / Molecule tests (default, debian12) (push) Successful in 1m31s
test / Molecule tests (default, ubuntu2004) (push) Successful in 1m56s
test / Molecule tests (default, ubuntu2204) (push) Successful in 1m43s
test / Molecule tests (with_custom_config, debian11) (push) Successful in 1m50s
test / Molecule tests (with_custom_config, debian12) (push) Successful in 1m48s
test / Molecule tests (with_custom_config, ubuntu2004) (push) Successful in 2m9s
test / Molecule tests (with_custom_config, ubuntu2204) (push) Successful in 2m0s

This commit is contained in:
Bertrand Lanson 2023-09-14 23:23:17 +02:00
parent ad984efa64
commit edceb22df8
2 changed files with 14 additions and 7 deletions

View File

@ -8,6 +8,9 @@
manage_repositories_enable_custom_repo: true
manage_repositories_custom_repo: "{{ install_docker_repository }}"
- name: "Force cache update"
ansible.builtin.meta: flush_handlers
- name: "Install docker packages"
ansible.builtin.include_role:
name: ednxzu.manage_apt_packages

View File

@ -23,10 +23,14 @@ install_docker_python_packages_list:
version: latest
state: "{% if install_docker_auto_update %}latest{% else %}present{% endif %}"
install_docker_repository:
- uri: "https://download.docker.com/linux/{{ ansible_distribution|lower }}"
gpg_key: "https://download.docker.com/linux/{{ ansible_distribution|lower }}/gpg"
comments: "ubuntu docker repository"
type: "deb"
suites: "{{ ansible_distribution_release }}"
components: "stable"
filename: "docker"
- name: docker
uri: "https://download.docker.com/linux/{{ ansible_distribution|lower }}"
comments: "{{ ansible_distribution|lower }} docker repository"
types:
- deb
suites:
- "{{ ansible_distribution_release }}"
components:
- stable
options:
Signed-By: "https://download.docker.com/linux/{{ ansible_distribution|lower }}/gpg"