role-podman/tasks/install_aardvark_dns.yml

28 lines
704 B
YAML
Raw Permalink Normal View History

2023-09-08 20:41:09 +00:00
- name: Clone aardvark_dns github repository
git:
repo: "{{ podman_aardvark_dns_repopath }}"
dest: "{{ podman_aardvark_dns_buildpath }}"
clone: yes
update: yes
version: "{{ podman_aardvark_dns_version }}"
2023-09-11 20:23:53 +00:00
force: true
2023-09-08 20:41:09 +00:00
- name: Build 'all' target with extra arguments
make:
chdir: "{{ podman_aardvark_dns_buildpath }}"
target: "all"
- name: "Create podman folder"
file:
path: "/usr/libexec/podman"
state: directory
2023-09-13 21:40:39 +00:00
mode: '755'
2023-09-08 20:41:09 +00:00
- name: Copy aardvark-dns file
ansible.builtin.copy:
src: "{{ podman_aardvark_dns_buildpath }}/bin/aardvark-dns"
dest: "/usr/libexec/podman/aardvark-dns"
force: true
remote_src: true
2023-09-13 21:40:39 +00:00
mode: u=rx,g=rx,o=rx