Salt master
$ cd /opt/nasqueron-operations $ arc patch D888 $ salt eglide state.apply roles/shellserver/odderon/account eglide: […] ID: odderon_sudo_capabilities_file Function: file.managed Name: /etc/sudoers.d/odderon Result: True Comment: File /etc/sudoers.d/odderon updated Started: 01:33:07.655830 Duration: 1149.627 ms Changes: ---------- diff: --- +++ @@ -1 +1,12 @@ %nasqueron-irc ALL=(odderon) NOPASSWD: ALL + +# Service management + +%nasqueron-irc ALL= NOPASSWD: /bin/systemctl start odderon + +%nasqueron-irc ALL= NOPASSWD: /bin/systemctl stop odderon + +%nasqueron-irc ALL= NOPASSWD: /bin/systemctl restart odderon + +%nasqueron-irc ALL= NOPASSWD: /bin/systemctl reload odderon + …