From: Thomas Dalichow Date: Mon, 13 Aug 2018 19:01:14 +0000 (+0200) Subject: fbb-api - allow worker-restart for apache users X-Git-Tag: v0.1.0~419 X-Git-Url: https://git.uhu-banane.de/?a=commitdiff_plain;h=e6fab315c2a57fa529c87fe4b0e35fc1d6798fbb;p=pixelpark%2Fhiera.git fbb-api - allow worker-restart for apache users --- diff --git a/customer/fbb-api/test.yaml b/customer/fbb-api/test.yaml index 24e7adcc..391ae39b 100644 --- a/customer/fbb-api/test.yaml +++ b/customer/fbb-api/test.yaml @@ -57,6 +57,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 diff --git a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml index 87d27817..27f96f11 100644 --- a/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api01-fbb.pixelpark.net.yaml @@ -73,5 +73,5 @@ infra::profile::apache::pp_vhosts: require: requires: - 'user hh-push' - - 'ip 10.5.13.142 10.5.13.144 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10' + - 'ip 10.5.13.142 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10' enforce: all diff --git a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml index d19acd1e..f436a29c 100644 --- a/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml +++ b/customer/fbb-api/tst-api02-fbb.pixelpark.net.yaml @@ -66,5 +66,5 @@ infra::profile::apache::pp_vhosts: require: requires: - 'user hh-push' - - 'ip 10.5.13.142 10.5.13.144 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10' + - 'ip 10.5.13.142 217.66.51.248 192.168.66.253 192.168.66.254 10.99.1.10' enforce: all