- fix for docker/podman - galaxy version bump - add temporary debug for ansible_virtualization_type
18 lines
409 B
YAML
18 lines
409 B
YAML
---
|
|
- name: Set resolv_conf_file if running in Docker
|
|
ansible.builtin.set_fact:
|
|
__resolv_conf_file: "{{ __resolv_conf_file_docker }}"
|
|
when:
|
|
- ansible_virtualization_type == "docker" or
|
|
ansible_virtualization_type == "podman"
|
|
|
|
|
|
- name: Deploy {{ __resolv_conf_file }}
|
|
ansible.builtin.template:
|
|
src: templates/resolv_conf.j2
|
|
dest: "{{ __resolv_conf_file }}"
|
|
mode: "0644"
|
|
|
|
|
|
...
|