aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-11-29 22:59:51 +0100
committerEmil Renner Berthing <esmil@labitat.dk>2018-11-29 23:13:21 +0100
commit4c8ce84da087dde7ace19704f084738fbd44f0a0 (patch)
tree6c655ee32570c2f6150f3f096df45d877a00c079 /roles/space_server/tasks
parent777429de59135c4bbf8a19c37fc7410578ae761f (diff)
downloadlabitat-ansible-4c8ce84da087dde7ace19704f084738fbd44f0a0.tar.gz
labitat-ansible-4c8ce84da087dde7ace19704f084738fbd44f0a0.tar.xz
labitat-ansible-4c8ce84da087dde7ace19704f084738fbd44f0a0.zip
space_server: use dnf_packages when possible
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r--roles/space_server/tasks/avahi.yml9
-rw-r--r--roles/space_server/tasks/bird.yml9
-rw-r--r--roles/space_server/tasks/dhcpd.yml7
-rw-r--r--roles/space_server/tasks/nftables.yml7
-rw-r--r--roles/space_server/tasks/radius.yml10
-rw-r--r--roles/space_server/tasks/radvd.yml7
-rw-r--r--roles/space_server/tasks/sshd.yml7
-rw-r--r--roles/space_server/tasks/sudo.yml7
-rw-r--r--roles/space_server/tasks/unbound.yml9
9 files changed, 0 insertions, 72 deletions
diff --git a/roles/space_server/tasks/avahi.yml b/roles/space_server/tasks/avahi.yml
index f4decb8..acbcb2a 100644
--- a/roles/space_server/tasks/avahi.yml
+++ b/roles/space_server/tasks/avahi.yml
@@ -1,13 +1,4 @@
---
-- name: Install avahi, tools and nss-mdns
- dnf:
- name:
- - avahi-tools # pulls in avahi package
- - nss-mdns
- state: present
- tags:
- - packages
-
- name: Configure avahi-daemon
ini_file:
path: '/etc/avahi/avahi-daemon.conf'
diff --git a/roles/space_server/tasks/bird.yml b/roles/space_server/tasks/bird.yml
index aeaa7bd..a5cd85a 100644
--- a/roles/space_server/tasks/bird.yml
+++ b/roles/space_server/tasks/bird.yml
@@ -1,13 +1,4 @@
---
-- name: Install bird and bird6 packages
- dnf:
- name:
- - bird
- - bird6
- state: present
- tags:
- - packages
-
- name: Make sure /etc/bird exists
file:
dest: '/etc/bird'
diff --git a/roles/space_server/tasks/dhcpd.yml b/roles/space_server/tasks/dhcpd.yml
index 29d5bc5..79d2f0f 100644
--- a/roles/space_server/tasks/dhcpd.yml
+++ b/roles/space_server/tasks/dhcpd.yml
@@ -1,11 +1,4 @@
---
-- name: Install dhcpd package
- dnf:
- name: dhcp-server
- state: present
- tags:
- - packages
-
- name: Configure dhcpd
template:
dest: '/etc/dhcp/dhcpd.conf'
diff --git a/roles/space_server/tasks/nftables.yml b/roles/space_server/tasks/nftables.yml
index a589980..9c56714 100644
--- a/roles/space_server/tasks/nftables.yml
+++ b/roles/space_server/tasks/nftables.yml
@@ -7,13 +7,6 @@
group: root
mode: 0644
-- name: Install nftables package
- dnf:
- name: nftables
- state: present
- tags:
- - packages
-
- name: Configure nftables
copy:
dest: '/etc/nftables.conf'
diff --git a/roles/space_server/tasks/radius.yml b/roles/space_server/tasks/radius.yml
index 02bcf2a..a3f4183 100644
--- a/roles/space_server/tasks/radius.yml
+++ b/roles/space_server/tasks/radius.yml
@@ -1,14 +1,4 @@
---
-- name: Install freeradius-python, curl and diffutils package
- dnf:
- name:
- - freeradius-python
- - curl
- - diffutils
- state: present
- tags:
- - packages
-
- name: Configure radiusd
copy:
dest: '/etc/raddb/{{ item }}'
diff --git a/roles/space_server/tasks/radvd.yml b/roles/space_server/tasks/radvd.yml
index 5824ed1..2d831d1 100644
--- a/roles/space_server/tasks/radvd.yml
+++ b/roles/space_server/tasks/radvd.yml
@@ -1,11 +1,4 @@
---
-- name: Install radvd package
- dnf:
- name: radvd
- state: present
- tags:
- - packages
-
- name: Configure radvd
copy:
dest: '/etc/radvd.conf'
diff --git a/roles/space_server/tasks/sshd.yml b/roles/space_server/tasks/sshd.yml
index 176ee5a..2f8d35a 100644
--- a/roles/space_server/tasks/sshd.yml
+++ b/roles/space_server/tasks/sshd.yml
@@ -1,11 +1,4 @@
---
-- name: Install sshd package
- dnf:
- name: openssh-server
- state: present
- tags:
- - packages
-
- name: Create private host keys
copy:
dest: '/etc/ssh/{{ item.key }}'
diff --git a/roles/space_server/tasks/sudo.yml b/roles/space_server/tasks/sudo.yml
index 9db1d55..7125a4b 100644
--- a/roles/space_server/tasks/sudo.yml
+++ b/roles/space_server/tasks/sudo.yml
@@ -1,11 +1,4 @@
---
-- name: Install sudo package
- dnf:
- name: sudo
- state: present
- tags:
- - packages
-
- name: Install sudoers file
copy:
dest: '/etc/sudoers'
diff --git a/roles/space_server/tasks/unbound.yml b/roles/space_server/tasks/unbound.yml
index a3726a0..9b83c98 100644
--- a/roles/space_server/tasks/unbound.yml
+++ b/roles/space_server/tasks/unbound.yml
@@ -1,13 +1,4 @@
---
-- name: Install unbound package
- dnf:
- name:
- - policycoreutils # needed for unbound-keygen.service
- - unbound
- state: present
- tags:
- - packages
-
- name: Configure unbound
template:
dest: '/etc/unbound/unbound.conf'