diff options
-rw-r--r-- | roles/space_server/tasks/avahi.yml | 6 | ||||
-rw-r--r-- | roles/space_server/tasks/bird.yml | 4 | ||||
-rw-r--r-- | roles/space_server/tasks/dhcpd.yml | 4 | ||||
-rw-r--r-- | roles/space_server/tasks/kernel.yml | 2 | ||||
-rw-r--r-- | roles/space_server/tasks/nftables.yml | 2 | ||||
-rw-r--r-- | roles/space_server/tasks/radius.yml | 6 | ||||
-rw-r--r-- | roles/space_server/tasks/radvd.yml | 4 | ||||
-rw-r--r-- | roles/space_server/tasks/sshd.yml | 4 | ||||
-rw-r--r-- | roles/space_server/tasks/sudo.yml | 2 | ||||
-rw-r--r-- | roles/space_server/tasks/unbound.yml | 4 |
10 files changed, 12 insertions, 26 deletions
diff --git a/roles/space_server/tasks/avahi.yml b/roles/space_server/tasks/avahi.yml index df69753..25b52ea 100644 --- a/roles/space_server/tasks/avahi.yml +++ b/roles/space_server/tasks/avahi.yml @@ -2,16 +2,14 @@ - name: Install avahi and tools dnf: name: avahi-tools # pulls in avahi package - state: latest - notify: - - restart avahi-daemon + state: present tags: - packages - name: Install nss-mdns package dnf: name: nss-mdns - state: latest + state: present tags: - packages diff --git a/roles/space_server/tasks/bird.yml b/roles/space_server/tasks/bird.yml index 0c49f5f..4dc4a7d 100644 --- a/roles/space_server/tasks/bird.yml +++ b/roles/space_server/tasks/bird.yml @@ -2,12 +2,10 @@ - name: Install bird and bird6 packages dnf: name: '{{ item }}' - state: latest + state: present with_items: - bird - bird6 - notify: - - restart bird tags: - packages diff --git a/roles/space_server/tasks/dhcpd.yml b/roles/space_server/tasks/dhcpd.yml index 4102d69..23a725b 100644 --- a/roles/space_server/tasks/dhcpd.yml +++ b/roles/space_server/tasks/dhcpd.yml @@ -2,9 +2,7 @@ - name: Install dhcpd package dnf: name: dhcp-server - state: latest - notify: - - restart dhcpd + state: present tags: - packages diff --git a/roles/space_server/tasks/kernel.yml b/roles/space_server/tasks/kernel.yml index 9566763..2ab417c 100644 --- a/roles/space_server/tasks/kernel.yml +++ b/roles/space_server/tasks/kernel.yml @@ -46,7 +46,7 @@ - name: Install kernel dnf: name: kernel - state: latest + state: present tags: - packages diff --git a/roles/space_server/tasks/nftables.yml b/roles/space_server/tasks/nftables.yml index 07ea8d6..0bc468f 100644 --- a/roles/space_server/tasks/nftables.yml +++ b/roles/space_server/tasks/nftables.yml @@ -10,7 +10,7 @@ - name: Install nftables package dnf: name: nftables - state: latest + state: present tags: - packages diff --git a/roles/space_server/tasks/radius.yml b/roles/space_server/tasks/radius.yml index fb66f9b..88ece03 100644 --- a/roles/space_server/tasks/radius.yml +++ b/roles/space_server/tasks/radius.yml @@ -2,18 +2,16 @@ - name: Install our freeradius-assha package dnf: name: '{{ item }}' - state: latest + state: present with_fileglob: - 'radius/freeradius-assha-*.fc{{ ansible_distribution_major_version }}.*.rpm' - notify: - - restart radiusd tags: - packages - name: Make sure curl and diffutils are installed dnf: name: '{{ item }}' - state: latest + state: present with_items: - curl - diffutils diff --git a/roles/space_server/tasks/radvd.yml b/roles/space_server/tasks/radvd.yml index c546d1f..eef6e2a 100644 --- a/roles/space_server/tasks/radvd.yml +++ b/roles/space_server/tasks/radvd.yml @@ -2,9 +2,7 @@ - name: Install radvd package dnf: name: radvd - state: latest - notify: - - restart radvd + state: present tags: - packages diff --git a/roles/space_server/tasks/sshd.yml b/roles/space_server/tasks/sshd.yml index 112f817..75f865c 100644 --- a/roles/space_server/tasks/sshd.yml +++ b/roles/space_server/tasks/sshd.yml @@ -2,9 +2,7 @@ - name: Install sshd package dnf: name: openssh-server - state: latest - notify: - - restart sshd + state: present tags: - packages diff --git a/roles/space_server/tasks/sudo.yml b/roles/space_server/tasks/sudo.yml index 8b65f4f..5d0bf80 100644 --- a/roles/space_server/tasks/sudo.yml +++ b/roles/space_server/tasks/sudo.yml @@ -2,7 +2,7 @@ - name: Install sudo package dnf: name: sudo - state: latest + state: present tags: - packages diff --git a/roles/space_server/tasks/unbound.yml b/roles/space_server/tasks/unbound.yml index ebac2cb..1007327 100644 --- a/roles/space_server/tasks/unbound.yml +++ b/roles/space_server/tasks/unbound.yml @@ -2,9 +2,7 @@ - name: Install unbound package dnf: name: unbound - state: latest - notify: - - restart unbound + state: present tags: - packages |