From: Landry Breuil Subject: Re: ansible breakage To: ports@openbsd.org Date: Fri, 1 Aug 2025 12:14:20 +0200 Le Thu, Jul 31, 2025 at 09:46:05AM -0700, Lyndon Nerenberg (VE7TFX/VE6BBM) a écrit : > > 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. there has to be something else, because a dummy playbook without inventory works, using ansible 11.8 and ansible-core 2.19: $cat t.yml - name: foo hosts: localhost tasks: - name: foo ansible.builtin.package: state: present name: nginx $doas ansible-playbook t.yml [WARNING]: No inventory was parsed, only implicit localhost is available [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' PLAY [foo] *** TASK [Gathering Facts] *** ok: [localhost] TASK [foo] *** changed: [localhost] PLAY RECAP *** localhost : ok=2 changed=1 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0