aboutsummaryrefslogtreecommitdiffstats
path: root/roles/jail/tasks/jail_setup.yml
diff options
context:
space:
mode:
authorJan Tuomi <jan@jantuomi.fi>2026-07-25 12:32:50 +0300
committerJan Tuomi <jan@jantuomi.fi>2026-07-25 12:32:50 +0300
commit35755eefa2b609200324f5dc39a22fcc8a94eb52 (patch)
treebddce6e5d68ae7a64d513be1e5cffdedad8f95c8 /roles/jail/tasks/jail_setup.yml
parent6bf890f5bcafd9747509efe1122a6132a064a53e (diff)
Use pkg_custom in jails
Diffstat (limited to 'roles/jail/tasks/jail_setup.yml')
-rw-r--r--roles/jail/tasks/jail_setup.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/jail/tasks/jail_setup.yml b/roles/jail/tasks/jail_setup.yml
index 9504ea9..c09564d 100644
--- a/roles/jail/tasks/jail_setup.yml
+++ b/roles/jail/tasks/jail_setup.yml
@@ -287,6 +287,12 @@
register: pkg_result
changed_when: "'Number of packages to be installed' in pkg_result.stdout"
+- name: Install packages from poudriere
+ shell: "pkg install -y -r poudriere {{ pkg_custom | join(' ') }}"
+ when: pkg_custom is defined and pkg_custom | length > 0
+ register: pkg_custom_result
+ changed_when: "'Installing' in pkg_custom_result.stdout"
+
- name: Create parent directories for files
file:
path: "{{ item.dest | dirname }}"