aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-23 21:11:58 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-09-23 21:25:31 +0200
commit44dbb520f8ae96e25c96085904dd6645d8631efc (patch)
tree02cb713b1490aea97b7d2b7c0f960c422a31ba7b /roles/space_server
parentfdbcde2e9a7027979d0d786f41df2e104644b517 (diff)
downloadlabitat-ansible-44dbb520f8ae96e25c96085904dd6645d8631efc.tar.gz
labitat-ansible-44dbb520f8ae96e25c96085904dd6645d8631efc.tar.xz
labitat-ansible-44dbb520f8ae96e25c96085904dd6645d8631efc.zip
Don't upgrade individual packages
Diffstat (limited to 'roles/space_server')
-rw-r--r--roles/space_server/tasks/avahi.yml6
-rw-r--r--roles/space_server/tasks/bird.yml4
-rw-r--r--roles/space_server/tasks/dhcpd.yml4
-rw-r--r--roles/space_server/tasks/kernel.yml2
-rw-r--r--roles/space_server/tasks/nftables.yml2
-rw-r--r--roles/space_server/tasks/radius.yml6
-rw-r--r--roles/space_server/tasks/radvd.yml4
-rw-r--r--roles/space_server/tasks/sshd.yml4
-rw-r--r--roles/space_server/tasks/sudo.yml2
-rw-r--r--roles/space_server/tasks/unbound.yml4
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