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
+2 -2
View File
@@ -8,13 +8,13 @@
docker_test_image_alpine: quay.io/ansible/docker-test-containers:alpine3.8
tasks:
- name: Find all roles
find:
ansible.builtin.find:
paths:
- "{{ (playbook_dir | default('.')) ~ '/roles' }}"
file_type: directory
depth: 1
register: result
- name: Include all roles
include_role:
ansible.builtin.include_role:
name: "{{ item }}"
loop: "{{ result.files | map(attribute='path') | map('regex_replace', '.*/', '') | sort }}"
@@ -10,11 +10,11 @@
# The following two tasks are useful if we ever have to debug why this fails.
- name: Print all Ansible facts
debug:
ansible.builtin.debug:
var: ansible_facts
- name: Read some files
slurp:
ansible.builtin.slurp:
src: "{{ path }}"
loop:
- /proc/self/cpuset
@@ -24,11 +24,11 @@
loop_var: path
- name: Print facts returned by module
debug:
ansible.builtin.debug:
var: result.ansible_facts
- name: Validate results
assert:
ansible.builtin.assert:
that:
- ansible_module_running_in_container
- ansible_module_container_type != ''
+1 -1
View File
@@ -5,7 +5,7 @@
# Create random name prefix (for containers, networks, ...)
- name: Create random container name prefix
set_fact:
ansible.builtin.set_fact:
cname_prefix: "{{ 'ansible-docker-test-%0x' % ((2**32) | random) }}"
- name: Make sure image is absent