diff --git a/tasks/Debian-default.yml b/tasks/Debian-default.yml index a0f5696..24d7d57 100644 --- a/tasks/Debian-default.yml +++ b/tasks/Debian-default.yml @@ -5,4 +5,5 @@ path: '/etc/apt/sources.list' state: 'absent' regexp: 'deb cdrom:' +... diff --git a/tasks/main.yml b/tasks/main.yml index f78afca..3317d32 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -38,7 +38,7 @@ - name: 'package discovery' when: - ansible_facts["system"] == 'Linux' - - packages is not defined + - ansible_facts["packages"] is not defined ansible.builtin.package_facts: - name: 'service discovery' when: