diff --git a/defaults/main.yml b/defaults/main.yml index bf0200b..d7662e5 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -421,14 +421,6 @@ ubtu18cis_time_synchronization_servers: - 2.pool.ntp.org - 3.pool.ntp.org -# Control 2.1.15 -# ubtu18cis_mail_server_type is the type of mail server in use -# This control only automates exim4 or postfix, please address other mail servers manually -# The values for this var are 'exim4' or 'postfix' -ubtu18cis_mail_server_type: 'exim4' - - - # Section 3 Control Variables # Control 3.3.2 # values for the /etc/hosts.allow file for IP addresses permitted to connect to the host. diff --git a/tasks/main.yml b/tasks/main.yml index 603479b..46ca6c4 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -32,6 +32,12 @@ - ubtu18cis_section5_patch or ubtu18cis_section6_patch +- name: Gather the package facts + package_facts: + manager: auto + tags: + - always + - name: Include section 1 patches include: section_1/main.yml when: ubtu18cis_section1_patch