aboutsummaryrefslogtreecommitdiffstats
path: root/roles/space_server/tasks
diff options
context:
space:
mode:
authorEmil Renner Berthing <esmil@labitat.dk>2018-09-26 13:24:00 +0200
committerEmil Renner Berthing <esmil@labitat.dk>2018-11-10 22:31:14 +0100
commit18a6c64179d45e94466f0598a49ea34fe23fe3eb (patch)
tree96d5b8dfa8bc54ce9dca4158f9ab38fe9ce84bf0 /roles/space_server/tasks
parent311893c3bc2bbd18669b5c80bf884e9d25889b74 (diff)
downloadlabitat-ansible-18a6c64179d45e94466f0598a49ea34fe23fe3eb.tar.gz
labitat-ansible-18a6c64179d45e94466f0598a49ea34fe23fe3eb.tar.xz
labitat-ansible-18a6c64179d45e94466f0598a49ea34fe23fe3eb.zip
space_server: replace blackhole script
Diffstat (limited to 'roles/space_server/tasks')
-rw-r--r--roles/space_server/tasks/blackhole.yml40
-rw-r--r--roles/space_server/tasks/main.yml2
2 files changed, 0 insertions, 42 deletions
diff --git a/roles/space_server/tasks/blackhole.yml b/roles/space_server/tasks/blackhole.yml
deleted file mode 100644
index cb139f7..0000000
--- a/roles/space_server/tasks/blackhole.yml
+++ /dev/null
@@ -1,40 +0,0 @@
----
-- name: Create /etc/systemd/scripts
- file:
- dest: '/etc/systemd/scripts'
- state: directory
- owner: root
- group: root
- mode: 0755
-- name: Install blackhole script
- copy:
- dest: '/etc/systemd/scripts/blackhole.sh'
- src: blackhole.sh
- owner: root
- group: root
- mode: 0755
- notify:
- - restart blackhole
-
-- name: Install blackhole service
- copy:
- dest: '/etc/systemd/system/blackhole.service'
- src: blackhole.service
- owner: root
- group: root
- mode: 0644
-
-- name: Enable blackhole service
- systemd:
- name: blackhole.service
- enabled: yes
- masked: no
- state: started
- when: not chroot
-- name: '- when in chroot'
- command: systemctl enable blackhole.service
- args:
- creates: '/etc/systemd/system/multi-user.target.wants/blackhole.service'
- when: chroot
-
-# vim: set ts=2 sw=2 et:
diff --git a/roles/space_server/tasks/main.yml b/roles/space_server/tasks/main.yml
index 5b93e60..294d655 100644
--- a/roles/space_server/tasks/main.yml
+++ b/roles/space_server/tasks/main.yml
@@ -23,8 +23,6 @@
tags: networkd
- import_tasks: nftables.yml
tags: nftables
-- import_tasks: blackhole.yml
- tags: blackhole
- import_tasks: sshd.yml
tags: sshd
- import_tasks: bird.yml