summaryrefslogtreecommitdiff
path: root/roles/install_fastd/tasks
diff options
context:
space:
mode:
authorNiklas Yann Wettengel <niyawe@niyawe.de>2024-10-30 15:04:58 +0100
committerNiklas Yann Wettengel <niyawe@niyawe.de>2024-10-30 15:04:58 +0100
commit0facfe068676c9d0f6324e9f6d1ccb69d9697d13 (patch)
tree22fa9977de694a9f5f864732a9ad906711f3f037 /roles/install_fastd/tasks
parent299716ee3153b7fb9f37ffcf95022bea5859e69f (diff)
rm fastd stuff
Diffstat (limited to 'roles/install_fastd/tasks')
-rw-r--r--roles/install_fastd/tasks/main.yml61
1 files changed, 0 insertions, 61 deletions
diff --git a/roles/install_fastd/tasks/main.yml b/roles/install_fastd/tasks/main.yml
deleted file mode 100644
index 85d6aa2..0000000
--- a/roles/install_fastd/tasks/main.yml
+++ /dev/null
@@ -1,61 +0,0 @@
----
-- name: install fastd
- pacman:
- name: fastd
- state: present
-
-- name: create site folder
- file:
- path: /etc/fastd/ff{{ item.name }}
- state: directory
- with_items: "{{ sites }}"
-
-- name: fastd.conf
- template:
- src: fastd.conf.j2
- dest: /etc/fastd/ff{{ item.name }}/fastd.conf
- mode: 0640
- notify: restart fastd{{ item.name }}
- with_items: "{{ sites }}"
-
-- name: add fastd bin folder
- file:
- path: /etc/fastd/ff{{ item.name }}/bin
- state: directory
- with_items: "{{ sites }}"
-
-- name: add fastd up script
- template:
- src: fastd_up.sh.j2
- dest: /etc/fastd/ff{{ item.name }}/bin/up.sh
- mode: 0744
- notify: restart fastd{{ item.name }}
- with_items: "{{ sites }}"
-
-- name: add fastd verify script
- copy:
- src: verify.sh
- dest: /etc/fastd/ff{{ item.name }}/bin/verify.sh
- mode: 0744
- with_items: "{{ sites }}"
-
-- name: add fastd_grep script
- copy:
- src: fastd_grep.sh
- dest: /root/fastd_grep.sh
- mode: 0744
-
-- name: install fastd_grep dependencies
- pacman:
- name:
- - openbsd-netcat
- - jq
- state: present
-
-
-- name: start and enable fastd service
- systemd:
- name: fastd@ff{{ item.name }}.service
- enabled: yes
- state: started
- with_items: "{{ sites }}"