- 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 }}" force: true - 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 mode: 'u=rwx,g=rx,o=' - 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 mode: +x