Gehel has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/393814 )

Change subject: Enable wdqs-admins to restart nginx
......................................................................


Enable wdqs-admins to restart nginx

Bug: T181540
Change-Id: I9bbf59ed996534fefa299baced30e4bfc3056813
---
M modules/admin/data/data.yaml
1 file changed, 5 insertions(+), 0 deletions(-)

Approvals:
  jenkins-bot: Verified
  Gehel: Looks good to me, approved
  Dzahn: Looks good to me, but someone else must approve



diff --git a/modules/admin/data/data.yaml b/modules/admin/data/data.yaml
index f0eb5af..b4711cf 100644
--- a/modules/admin/data/data.yaml
+++ b/modules/admin/data/data.yaml
@@ -369,6 +369,11 @@
     members: [smalyshev, hoo]
     privileges: ['ALL = NOPASSWD: /usr/sbin/service wdqs-blazegraph *',
                  'ALL = NOPASSWD: /usr/sbin/service wdqs-updater *',
+                 'ALL = NOPASSWD: /usr/sbin/service nginx *',
+                 'ALL = NOPASSWD: /bin/systemctl reload nginx',
+                 'ALL = NOPASSWD: /bin/systemctl restart nginx',
+                 'ALL = NOPASSWD: /bin/systemctl start nginx',
+                 'ALL = NOPASSWD: /bin/systemctl stop nginx',
                  'ALL = NOPASSWD: /bin/systemctl enable wdqs-updater',
                  'ALL = NOPASSWD: /bin/systemctl disable wdqs-updater',
                  'ALL = NOPASSWD: /bin/systemctl mask wdqs-updater',

-- 
To view, visit https://gerrit.wikimedia.org/r/393814
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I9bbf59ed996534fefa299baced30e4bfc3056813
Gerrit-PatchSet: 4
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Smalyshev <[email protected]>
Gerrit-Reviewer: Alex Monk <[email protected]>
Gerrit-Reviewer: Alexandros Kosiaris <[email protected]>
Gerrit-Reviewer: Dzahn <[email protected]>
Gerrit-Reviewer: Gehel <[email protected]>
Gerrit-Reviewer: Muehlenhoff <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to