Page MenuHomeDevCentral

No OneTemporary

diff --git a/roles/viperserv/account/files/viperserv.sudoers b/roles/viperserv/account/files/viperserv.sudoers
new file mode 100644
index 0000000..8a4a19f
--- /dev/null
+++ b/roles/viperserv/account/files/viperserv.sudoers
@@ -0,0 +1,27 @@
+# -------------------------------------------------------------
+# ViperServ
+# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
+# Project: Nasqueron
+# Created: 2017-11-14
+# License: Trivial work, not eligible to copyright
+# Source file: roles/viperserv/account/files/viperserv.sudoers
+# -------------------------------------------------------------
+#
+# <auto-generated>
+# This file is managed by our rOPS SaltStack repository.
+#
+# Changes to this file may cause incorrect behavior
+# and will be lost if the state is redeployed.
+# </auto-generated>
+
+{% for account in accounts %}
+%nasqueron-irc ALL=({{ account }}) NOPASSWD: ALL{% endfor %}
+
+# Service management
+{% for bot in bots %}
+{% for command in ["start", "stop", "restart"] %}
+%nasqueron-irc ALL= NOPASSWD: /usr/sbin/service {{ bot }} {{ command }}
+%nasqueron-irc ALL= NOPASSWD: /usr/sbin/service {{ bot }} one{{ command }}
+{% endfor %}
+%nasqueron-irc ALL= NOPASSWD: /usr/local/etc/rc.d/{{ bot }}
+{% endfor %}

File Metadata

Mime Type
text/x-diff
Expires
Mon, Nov 25, 03:21 (22 h, 20 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2259438
Default Alt Text
(1 KB)

Event Timeline