Index | Thread | Search

From:
"Lyndon Nerenberg (VE7TFX/VE6BBM)" <lyndon@orthanc.ca>
Subject:
Re: ansible.builtin.package vs pkg_add command directly (was Re: ansible breakage)
To:
ports@openbsd.org
Date:
Mon, 04 Aug 2025 08:46:15 -0700

Download raw body.

Thread
Mikolaj Kucharski writes:
> Hi Lyndon,
>
> Out of curiosity, can you give an example how you work with pkg_add
> command directly, instead with ansible.builtin.package?

    - name: Install pftop
      ansible.builtin.command: pkg_add pftop--
      tags: pftop

    - name: Install squid
      ansible.builtin.command: pkg_add squid--
      tags: squid

    - name: Enable squid
      ansible.builtin.command: rcctl enable squid
      tags: squid

--lyndon