Harden the resilience of main system services 98/1598/1
authorKrisztian Lengyel <krisztian.lengyel@nokia.com>
Tue, 17 Sep 2019 14:19:58 +0000 (10:19 -0400)
committerKrisztian Lengyel <krisztian.lengyel@nokia.com>
Tue, 17 Sep 2019 14:35:27 +0000 (10:35 -0400)
Change-Id: I0072986e8c697c1ebffaea67a06ba14b68d920b0
Signed-off-by: Krisztian Lengyel <krisztian.lengyel@nokia.com>
roles/monitoring/defaults/main.yaml
roles/monitoring/tasks/harden_services.yml

index e535511..e6a3677 100644 (file)
 # limitations under the License.
 
 keepalivedmonitor_port : 64000
+
+hardened_services:
+  - docker
+  - haproxy
+  - kubelet
+  - kubelet_healthcheck
+  - mariadb
+  - nginx
+  - ntpd
+  - redis
index 243538e..43576ca 100644 (file)
@@ -11,9 +11,6 @@
 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 # See the License for the specific language governing permissions and
 # limitations under the License.
-- name: Define services to be hardened
-  set_fact:
-      hardened_services: [ ntpd ]
 
 - name: Create hardening hooks
   file: