diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 11:01:46 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2020-02-27 11:16:07 +0100 |
commit | bfb961cfa1cd4ebbfd965df3b9511a9220b54845 (patch) | |
tree | 16fd95a9ae4dc96d390f3212b37dc52fc5aa6808 /roles/fedora/tasks | |
parent | f07350f4e0af460368c2f22b660cfd956d109716 (diff) | |
download | labitat-ansible-bfb961cfa1cd4ebbfd965df3b9511a9220b54845.tar.gz labitat-ansible-bfb961cfa1cd4ebbfd965df3b9511a9220b54845.tar.xz labitat-ansible-bfb961cfa1cd4ebbfd965df3b9511a9220b54845.zip |
fedora: update for hash_behaviour = replace
Diffstat (limited to 'roles/fedora/tasks')
-rw-r--r-- | roles/fedora/tasks/dnf.yml | 6 | ||||
-rw-r--r-- | roles/fedora/tasks/resolved.yml | 4 | ||||
-rw-r--r-- | roles/fedora/tasks/systemd.yml | 6 | ||||
-rw-r--r-- | roles/fedora/tasks/timesyncd.yml | 4 |
4 files changed, 18 insertions, 2 deletions
diff --git a/roles/fedora/tasks/dnf.yml b/roles/fedora/tasks/dnf.yml index aa0207e..73f5b4b 100644 --- a/roles/fedora/tasks/dnf.yml +++ b/roles/fedora/tasks/dnf.yml @@ -1,5 +1,7 @@ --- - name: Configure dnf.conf + vars: + dnf_conf: '{{ dnf_conf_default|combine(dnf_conf_role) }}' ini_file: path: '/etc/dnf/dnf.conf' no_extra_spaces: yes @@ -11,6 +13,8 @@ with_dict: '{{ dnf_conf }}' - name: Remove packages + vars: + dnf_packages: '{{ dnf_packages_default|combine(dnf_packages_role) }}' dnf: name: "{{ dnf_packages|dictsort(true)|selectattr(1,'equalto','absent')|map(attribute=0)|list }}" state: absent @@ -26,6 +30,8 @@ - packages - name: Install packages + vars: + dnf_packages: '{{ dnf_packages_default|combine(dnf_packages_role) }}' dnf: name: "{{ dnf_packages|dictsort(true)|selectattr(1,'equalto','present')|map(attribute=0)|list }}" state: present diff --git a/roles/fedora/tasks/resolved.yml b/roles/fedora/tasks/resolved.yml index 9a6d4c1..4fcc34b 100644 --- a/roles/fedora/tasks/resolved.yml +++ b/roles/fedora/tasks/resolved.yml @@ -1,5 +1,7 @@ --- -- name: Configure systemd-resolved +- name: Configure resolved.conf + vars: + resolved_conf: '{{ resolved_conf_default|combine(resolved_conf_role) }}' ini_file: path: '/etc/systemd/resolved.conf' no_extra_spaces: yes diff --git a/roles/fedora/tasks/systemd.yml b/roles/fedora/tasks/systemd.yml index 56a5898..a2b9e4b 100644 --- a/roles/fedora/tasks/systemd.yml +++ b/roles/fedora/tasks/systemd.yml @@ -1,5 +1,7 @@ --- - name: Configure systemd system.conf + vars: + systemd_conf: '{{ systemd_conf_default|combine(systemd_conf_role) }}' ini_file: path: '/etc/systemd/system.conf' no_extra_spaces: yes @@ -10,6 +12,8 @@ with_dict: '{{ systemd_conf }}' - name: Configure journald.conf + vars: + journald_conf: '{{ journald_conf_default|combine(journald_conf_role) }}' ini_file: path: '/etc/systemd/journald.conf' no_extra_spaces: yes @@ -20,6 +24,8 @@ with_dict: '{{ journald_conf }}' - name: Configure logind.conf + vars: + logind_conf: '{{ logind_conf_default|combine(logind_conf_role) }}' ini_file: path: '/etc/systemd/logind.conf' no_extra_spaces: yes diff --git a/roles/fedora/tasks/timesyncd.yml b/roles/fedora/tasks/timesyncd.yml index 180d8c2..9895d0b 100644 --- a/roles/fedora/tasks/timesyncd.yml +++ b/roles/fedora/tasks/timesyncd.yml @@ -1,5 +1,7 @@ --- -- name: Configure systemd-timesyncd +- name: Configure timesyncd.conf + vars: + timesyncd_conf: '{{ timesyncd_conf_default|combine(timesyncd_conf_role) }}' ini_file: path: '/etc/systemd/timesyncd.conf' no_extra_spaces: yes |