Use FQCNs. (#1180)

This commit is contained in:
Felix Fontein
2025-10-25 10:12:21 +02:00
committed by GitHub
parent be000755fc
commit b24bce77b6
196 changed files with 3289 additions and 3289 deletions
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
apk:
community.general.apk:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
pacman:
community.general.pacman:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
apt:
ansible.builtin.apt:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
dnf:
ansible.builtin.dnf:
name: "{{ docker_compose_packages }}"
state: present
enablerepo: docker-ce-test
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
dnf:
ansible.builtin.dnf:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
yum:
ansible.builtin.dnf:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
dnf:
ansible.builtin.dnf:
name: "{{ docker_compose_packages }}"
state: present
@@ -4,6 +4,6 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Install docker-compose as system package
dnf:
ansible.builtin.dnf:
name: "{{ docker_compose_packages }}"
state: present
@@ -8,9 +8,9 @@
# and should not be used as examples of how to write Ansible roles #
####################################################################
- set_fact:
- ansible.builtin.set_fact:
has_docker_compose: false
- when: ansible_facts.distribution ~ ansible_facts.distribution_major_version not in ['CentOS6', 'RedHat6'] and ansible_python_version is version('3.7', '>=')
include_tasks:
ansible.builtin.include_tasks:
file: setup.yml
@@ -4,7 +4,7 @@
# SPDX-License-Identifier: GPL-3.0-or-later
- name: Include distribution specific variables
include_vars: "{{ lookup('first_found', params) }}"
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
vars:
params:
files:
@@ -18,7 +18,7 @@
- block:
- name: Include distribution specific tasks
include_tasks: "{{ lookup('first_found', params) }}"
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
vars:
params:
files:
@@ -30,21 +30,21 @@
- "{{ role_path }}/tasks"
- name: Install Python on Whales
pip:
ansible.builtin.pip:
state: present
name: python-on-whales
extra_args: "-c {{ remote_constraints }}"
- name: Register docker-compose version
command: "docker compose version --short"
ansible.builtin.command: "docker compose version --short"
register: docker_compose_version
- name: Declare docker-compose version
set_fact:
ansible.builtin.set_fact:
docker_compose_version: "{{ docker_compose_version.stdout }}"
- name: Declare docker-compose as existing
set_fact:
ansible.builtin.set_fact:
has_docker_compose: '{{ docker_compose_version is version("2.0", ">=") }}'
when: not skip_docker_compose