Index | Thread | Search

From:
Mikolaj Kucharski <mikolaj@kucharski.name>
Subject:
ansible.builtin.package vs pkg_add command directly (was Re: ansible breakage)
To:
"Lyndon Nerenberg (VE7TFX/VE6BBM)" <lyndon@orthanc.ca>
Cc:
ports@openbsd.org
Date:
Mon, 4 Aug 2025 10:19:46 +0000
Reply-To:
ports@openbsd.org

Download raw body.

Thread
Hi Lyndon,

Out of curiosity, can you give an example how you work with pkg_add
command directly, instead with ansible.builtin.package?

I imagine your solution is probably simple, but just want to make sure.

On Thu, Jul 31, 2025 at 09:46:05AM -0700, Lyndon Nerenberg (VE7TFX/VE6BBM) wrote:
> > So it fails on the task,
> > - name: nginx package
> >   ansible.builtin.package:
> 
> ansible.builtin.package is just broken.  I fought with it for a
> while, then gave up and changed it to just run the pkg_add command
> directly.  A bit brute force, but it solved the problem, and there
> hasn't been any blowback since the change.
> 
> --lyndon
> 

-- 
Regards,
 Mikolaj