From fc1d79968a811c83f83429734c9adec14c46711b Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Sat, 6 Jun 2026 22:52:57 +0300 Subject: Work on jails --- roles/host/tasks/main.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'roles/host/tasks') diff --git a/roles/host/tasks/main.yml b/roles/host/tasks/main.yml index aec0054..3608499 100644 --- a/roles/host/tasks/main.yml +++ b/roles/host/tasks/main.yml @@ -83,7 +83,8 @@ if [ ! -d /usr/ports/.git ]; then git clone --depth 1 https://github.com/jantuomi/freebsd-ports.git /usr/ports else - git -C /usr/ports pull --ff-only + git -C /usr/ports fetch origin + git -C /usr/ports reset --hard origin/main fi register: _ports_fetch changed_when: "'Already up to date' not in _ports_fetch.stdout" @@ -148,7 +149,7 @@ label: "{{ item.name }}" - name: Install custom ports - shell: cd /usr/ports/{{ item }} && make install + shell: cd /usr/ports/{{ item }} && make install WRKDIRPREFIX=/tmp/ports DISTDIR=/tmp/distfiles loop: - sysutils/pylogsentinel register: _port_install -- cgit v1.3