fix: complete install
This commit is contained in:
parent
8a1e996808
commit
1bfabcde5e
@ -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"
|
||||||
|
@ -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'
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -4,4 +4,3 @@
|
|||||||
|
|
||||||
- include_tasks: install.yml
|
- include_tasks: install.yml
|
||||||
|
|
||||||
- include_tasks: configure.yml
|
|
||||||
|
2
templates/containers.conf
Normal file
2
templates/containers.conf
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
[network]
|
||||||
|
network_backend="netavark"
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user