diff --git a/project/roles/common/tasks/packages.yml b/project/roles/common/tasks/packages.yml index f3ab8ef..3a0aa42 100644 --- a/project/roles/common/tasks/packages.yml +++ b/project/roles/common/tasks/packages.yml @@ -10,8 +10,8 @@ - name: Ensure debian-specific packages are installed import_tasks: packages_debian.yml - when: ansible_facts['os-family'] == 'Debian' + when: ansible_facts['os_family'] == 'Debian' - name: Ensure rhel-specific packages are installed import_tasks: packages_redhat.yml - when: ansible_facts['os-family'] == 'RedHat' + when: ansible_facts['os_family'] == 'RedHat'