Ansible-lint compliance for roles/bashrc
Some checks failed
continuous-integration/drone/push Build is failing

Ansible-lint compliance for roles/etc_hosts
This commit is contained in:
2023-12-16 03:23:00 -05:00
parent 818187a484
commit 24ecb46c30
5 changed files with 21 additions and 21 deletions

View File

@ -1,16 +1,16 @@
---
- name: Set etc_hosts_file if running in Docker
- name: Set etc_hosts_etc_hosts_file if running in Docker
set_fact:
__etc_hosts_file: "{{ __etc_hosts_file }}.docker"
etc_hosts_etc_hosts_file: "{{ etc_hosts_etc_hosts_file }}.docker"
when:
- ansible_virtualization_type | regex_search("docker|podman|container")
- name: Deploy {{ __etc_hosts_file }}
- name: Deploy {{ etc_hosts_etc_hosts_file }}
template:
src: templates/etc_hosts.j2
dest: "{{ __etc_hosts_file }}"
mode: 0644
dest: "{{ etc_hosts_etc_hosts_file }}"
mode: "0644"
...