More ansible 2.20 fixes

Signed-off-by: Jason Rothstein <fdragon@fdragon.org>
This commit is contained in:
2026-05-04 22:02:19 -05:00
parent 7f318ac14c
commit 41ca1713c8
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -5,4 +5,5 @@
path: '/etc/apt/sources.list' path: '/etc/apt/sources.list'
state: 'absent' state: 'absent'
regexp: 'deb cdrom:' regexp: 'deb cdrom:'
...
+1 -1
View File
@@ -38,7 +38,7 @@
- name: 'package discovery' - name: 'package discovery'
when: when:
- ansible_facts["system"] == 'Linux' - ansible_facts["system"] == 'Linux'
- packages is not defined - ansible_facts["packages"] is not defined
ansible.builtin.package_facts: ansible.builtin.package_facts:
- name: 'service discovery' - name: 'service discovery'
when: when: