New "xinetd" role
authorAlexander Barton <alex@barton.de>
Thu, 17 Dec 2015 16:16:29 +0000 (17:16 +0100)
committerAlexander Barton <alex@barton.de>
Thu, 17 Dec 2015 16:16:29 +0000 (17:16 +0100)
roles/xinetd/handlers/main.yml [new file with mode: 0644]
roles/xinetd/meta/main.yml [new file with mode: 0644]
roles/xinetd/tasks/main.yml [new file with mode: 0644]

diff --git a/roles/xinetd/handlers/main.yml b/roles/xinetd/handlers/main.yml
new file mode 100644 (file)
index 0000000..2b7fdb3
--- /dev/null
@@ -0,0 +1,7 @@
+---
+# handlers file for xinetd
+
+- name: restart "xinetd"
+  service: >
+    name=xinetd
+    state=restarted
diff --git a/roles/xinetd/meta/main.yml b/roles/xinetd/meta/main.yml
new file mode 100644 (file)
index 0000000..665ee38
--- /dev/null
@@ -0,0 +1,5 @@
+---
+# meta file for xinetd
+
+dependencies:
+  - { role: os-base }
diff --git a/roles/xinetd/tasks/main.yml b/roles/xinetd/tasks/main.yml
new file mode 100644 (file)
index 0000000..299c4c6
--- /dev/null
@@ -0,0 +1,11 @@
+---
+# tasks file for xinetd
+
+- name: install xinetd(8)
+  tags:
+    - packages
+  apt: >
+    state=installed
+    name={{ item }}
+  with_items:
+    - xinetd