fixing more packages installs
This commit is contained in:
@@ -11,6 +11,7 @@
|
|||||||
repo_pkg: "{{ pkgconfig.zfs.repo_base }}/{{ rhname }}/zfs-release-{{ pkgconfig.zfs[rhname].release }}{{ rpm_dist.stdout }}.noarch.rpm"
|
repo_pkg: "{{ pkgconfig.zfs.repo_base }}/{{ rhname }}/zfs-release-{{ pkgconfig.zfs[rhname].release }}{{ rpm_dist.stdout }}.noarch.rpm"
|
||||||
deps: "{{ pkgconfig.zfs.build_deps[ansible_os_family] }}"
|
deps: "{{ pkgconfig.zfs.build_deps[ansible_os_family] }}"
|
||||||
pkgs: "{{ pkgconfig.zfs.pkgs[ansible_os_family] }}"
|
pkgs: "{{ pkgconfig.zfs.pkgs[ansible_os_family] }}"
|
||||||
|
skip_gpg_check: "{{ rhname == 'fedora' }}"
|
||||||
release: "{{ ansible_distribution_release }}"
|
release: "{{ ansible_distribution_release }}"
|
||||||
gpg_key: "{{ pkgconfig.zfs.gpg_key }}"
|
gpg_key: "{{ pkgconfig.zfs.gpg_key }}"
|
||||||
gpg_fp: "{{ pkgconfig.zfs.gpg_key_fingerprint }}"
|
gpg_fp: "{{ pkgconfig.zfs.gpg_key_fingerprint }}"
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
become: "{{ sys_pkg_become }}"
|
become: "{{ sys_pkg_become }}"
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: "{{ zfs.repo_pkg }}"
|
name: "{{ zfs.repo_pkg }}"
|
||||||
|
disable_gpg_check: "{{ zfs.skip_gpg_check }}"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: Debian configuration
|
- name: Debian configuration
|
||||||
|
|||||||
@@ -19,6 +19,7 @@
|
|||||||
cmd: "dnf config-manager --add-repo {{ pkgconfig.terrarepo.repo }}"
|
cmd: "dnf config-manager --add-repo {{ pkgconfig.terrarepo.repo }}"
|
||||||
|
|
||||||
- name: Install terra release package
|
- name: Install terra release package
|
||||||
|
become: true
|
||||||
ansible.builtin.dnf:
|
ansible.builtin.dnf:
|
||||||
name: terra-release
|
name: terra-release
|
||||||
state: present
|
state: present
|
||||||
|
|||||||
@@ -2,3 +2,4 @@
|
|||||||
|
|
||||||
podman run --rm -it -d --platform linux/amd64 --name packagetest -p 2222:22 packagetest
|
podman run --rm -it -d --platform linux/amd64 --name packagetest -p 2222:22 packagetest
|
||||||
ansible-playbook test_not_local.yml -i inventory.yml
|
ansible-playbook test_not_local.yml -i inventory.yml
|
||||||
|
podman stop packagetest
|
||||||
|
|||||||
Reference in New Issue
Block a user