diff --git a/defaults/main.yml b/defaults/main.yml index 3e4a2d5..4bbb930 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -47,7 +47,7 @@ system_base_softwares_debian: - 'stow' - 'wakeonlan' - 'nmap' - #- 'bind-tools' + - 'dnsutils' - 'rsync' #- 'awesome-terminal-fonts' - 'wget' diff --git a/tasks/base_software.yml b/tasks/base_software.yml index 2acae9b..5fa30fc 100644 --- a/tasks/base_software.yml +++ b/tasks/base_software.yml @@ -28,6 +28,7 @@ apt: state: present # not required. choices: absent;latest;present. Desired state of the package. name: "{{system_base_softwares_debian}}" + update_cache: yes become: yes when: ansible_facts['os_family'] == "Debian"