aboutsummaryrefslogtreecommitdiffstats
path: root/roles/setup_znc/tasks
diff options
context:
space:
mode:
authorbinary <me@rgoncalves.se>2020-08-26 11:48:36 +0200
committerbinary <me@rgoncalves.se>2020-08-26 11:48:36 +0200
commita8e6b5114e2ae0dae37cff04af16df47b929d19b (patch)
tree589d53c01c7c92063c3847986efd780ede785886 /roles/setup_znc/tasks
parent7564e1718169a7ef46f4d3ba2a3545c6537a8d09 (diff)
downloadinfrastructure-a8e6b5114e2ae0dae37cff04af16df47b929d19b.tar.gz
rev1 for znc on openbsd
Diffstat (limited to 'roles/setup_znc/tasks')
-rw-r--r--roles/setup_znc/tasks/main.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/roles/setup_znc/tasks/main.yml b/roles/setup_znc/tasks/main.yml
new file mode 100644
index 0000000..6ebbaa8
--- /dev/null
+++ b/roles/setup_znc/tasks/main.yml
@@ -0,0 +1,27 @@
+
+# =========================================================================== #
+# __ _ __
+# _________ / /__ ____ _(_) /_
+# / ___/ __ \/ / _ \ / __ `/ / __/
+# / / / /_/ / / __/ / /_/ / / /_
+# /_/ \____/_/\___(_) \__, /_/\__/
+# /____/
+#
+# =========================================================================== #
+
+---
+- name: Check installation of znc
+ package:
+ name: znc
+ state: present
+
+- name: Add group "{{ znc_group }}"
+ user:
+ name: "{{ znc_group }}"
+ state: present
+
+- name: Add user "{{ znc_user }}"
+ user:
+ name: "{{ znc_user }}"
+ comment: "{{ znc_user_comment }}"
+ group: "{{ znc_group }}"
remember that computers suck.