]> Frank Brehm's Git Trees - pixelpark/hiera.git/commitdiff
fbb-api - allow worker-restart for apache users in PRD
authorThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 13 Aug 2018 19:29:06 +0000 (21:29 +0200)
committerThomas Dalichow <thomas.dalichow@publicispixelpark.de>
Mon, 13 Aug 2018 19:29:06 +0000 (21:29 +0200)
customer/fbb-api/production.yaml

index 9785c6e877528ed675eba41f9f855bae28d4afe4..1484f9709275e7cdddbbacc0ce352d74ab0e2a2e 100644 (file)
@@ -29,6 +29,10 @@ sudo::configs:
     priority: "06"
     content: |
       jenkins ALL=(apache) NOPASSWD: ALL
+  apache_restart_worker_rights:
+    priority: "07"
+    content: |
+      apache ALL=(root) NOPASSWD: /bin/systemctl restart fbb-worker.target
 
 repo::remi_php72: true