fix: complete install

This commit is contained in:
Lennard Brinkhaus 2023-09-11 22:23:53 +02:00
parent 8a1e996808
commit 1bfabcde5e
Signed by: lennard.brinkhaus
GPG Key ID: 286421EC53998B22
11 changed files with 28 additions and 4 deletions

View File

@ -1,6 +1,6 @@
--- ---
podman_version_check: true podman_version_check: true
podman_version: "4.6.0" podman_version: "v4.6.2"
podman_netavark_version: "v1.7.0" podman_netavark_version: "v1.7.0"
podman_conmon_version: "v2.1.7" podman_conmon_version: "v2.1.7"
podman_aardvark_dns_version: "v1.7.0" podman_aardvark_dns_version: "v1.7.0"

View File

@ -26,6 +26,12 @@
dest: "{{ podman_containers_config }}/registries.conf" dest: "{{ podman_containers_config }}/registries.conf"
mode: 0600 mode: 0600
- name: Copy registries.json
ansible.builtin.template:
src: containers.conf
dest: "{{ podman_containers_config }}/containers.conf"
mode: 0600
- name: "Create registries.conf.d folder" - name: "Create registries.conf.d folder"
file: file:
path: "{{ podman_containers_config }}/registries.conf.d" path: "{{ podman_containers_config }}/registries.conf.d"
@ -38,3 +44,8 @@
src: registries.conf.d/shortnames.conf src: registries.conf.d/shortnames.conf
dest: "{{ podman_containers_config }}/registries.conf.d/shortnames.conf" dest: "{{ podman_containers_config }}/registries.conf.d/shortnames.conf"
mode: 0600 mode: 0600
- name: Add podman folder to $PATH
ansible.builtin.copy:
dest: /etc/profile.d/podman.sh
content: 'PATH=$PATH:/usr/libexec/podman'

View File

@ -6,3 +6,9 @@
- include_tasks: install_netavark.yml - include_tasks: install_netavark.yml
- include_tasks: install_aardvark_dns.yml - include_tasks: install_aardvark_dns.yml
- include_tasks: install_crun.yml
- include_tasks: configure.yml
- include_tasks: install_podman.yml

View File

@ -5,6 +5,7 @@
clone: yes clone: yes
update: yes update: yes
version: "{{ podman_aardvark_dns_version }}" version: "{{ podman_aardvark_dns_version }}"
force: true
- name: Build 'all' target with extra arguments - name: Build 'all' target with extra arguments
make: make:
@ -23,4 +24,4 @@
dest: "/usr/libexec/podman/aardvark-dns" dest: "/usr/libexec/podman/aardvark-dns"
force: true force: true
remote_src: true remote_src: true
mode: +x

View File

@ -5,6 +5,7 @@
clone: yes clone: yes
update: yes update: yes
version: "{{ podman_conmon_version }}" version: "{{ podman_conmon_version }}"
force: true
- name: Build 'all' target with extra arguments - name: Build 'all' target with extra arguments
make: make:

View File

@ -5,6 +5,7 @@
clone: yes clone: yes
update: yes update: yes
version: "{{ podman_crun_version }}" version: "{{ podman_crun_version }}"
force: true
- name: Execute autogen.sh - name: Execute autogen.sh
shell: shell:

View File

@ -5,6 +5,7 @@
clone: yes clone: yes
update: yes update: yes
version: "{{ podman_netavark_version }}" version: "{{ podman_netavark_version }}"
force: true
- name: Build 'all' target with extra arguments - name: Build 'all' target with extra arguments
make: make:
@ -26,3 +27,4 @@
dest: "/usr/libexec/podman/netavark" dest: "/usr/libexec/podman/netavark"
force: true force: true
remote_src: true remote_src: true
mode: +x

View File

@ -5,6 +5,7 @@
clone: yes clone: yes
update: yes update: yes
version: "{{ podman_version }}" version: "{{ podman_version }}"
force: true
- name: Build 'all' target with extra arguments - name: Build 'all' target with extra arguments
make: make:

View File

@ -4,4 +4,3 @@
- include_tasks: install.yml - include_tasks: install.yml
- include_tasks: configure.yml

View File

@ -0,0 +1,2 @@
[network]
network_backend="netavark"

View File

@ -6,7 +6,7 @@ podman_build_deps:
- pkg-config - pkg-config
- btrfs-progs - btrfs-progs
- go-md2man - go-md2man
#- iptables - iptables
- libassuan-dev - libassuan-dev
- libbtrfs-dev - libbtrfs-dev
- libc6-dev - libc6-dev