From: pmikus Date: Thu, 11 Nov 2021 08:44:38 +0000 (+0100) Subject: fix(Ansible): Configure systemd as service manager X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=commitdiff_plain;h=ef9c2349ca6e6a138bbe66593a60ef1c40d1f901 fix(Ansible): Configure systemd as service manager Signed-off-by: pmikus Change-Id: I80ec9854b311af7a8da9363cf569598e1eb667f4 --- diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml index bff2e04863..56ee5a3f13 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml index ceb27c8705..570bdce5d2 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml index c839243a26..a1183921ae 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml index 4b28db6efd..cbb756ae6d 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml index 30341b5401..750274774f 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.30.51.28" - "10.30.51.29" - "10.30.51.30" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml index 05328242f0..e43b6e3fc3 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.30.51.28" - "10.30.51.29" - "10.30.51.30" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml index 8d35857d8b..463caa393a 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml @@ -35,6 +35,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -57,6 +58,7 @@ consul_retry_servers: - "10.30.51.28" - "10.30.51.29" - "10.30.51.30" +consul_service_mgr: "systemd" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml index 1cc7b68fb1..3a164a760a 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -60,6 +61,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml index 7d9db1f9e6..20e40bda71 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -59,6 +60,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml index e7ee5be7ea..3db86bf247 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml @@ -42,6 +42,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -64,6 +65,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml index abbbe155de..82d6e6ff3d 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml @@ -42,6 +42,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -64,6 +65,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml index 7ba4fd4816..c08bdbdf84 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -59,6 +60,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" consul_package_version: "1.5.2+dfsg2-14" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml index 5dee333c60..0981415fc5 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -59,6 +60,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" consul_package_version: "1.5.2+dfsg2-14" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml index ab478c840c..d8fc54117e 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -59,6 +60,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" consul_package_version: "1.5.2+dfsg2-14" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml index 9451451624..90e2f6911c 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml @@ -36,6 +36,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -59,6 +60,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" consul_package_version: "1.5.2+dfsg2-14" # Docker daemon settings. diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml index 2bb0bc294b..5c65ef0a20 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml @@ -41,6 +41,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -64,6 +65,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml index fc6050b861..9ac021170b 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml @@ -41,6 +41,7 @@ nomad_options: docker.privileged.enabled: true docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -64,6 +65,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml index 2fe0d71547..50c4179f9d 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml @@ -37,6 +37,7 @@ nomad_options: docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" fingerprint.network.disallow_link_local: true +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.15" - "10.32.8.16" @@ -67,6 +68,7 @@ consul_retry_servers: - "10.32.8.15" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml index 5d13377ac1..3d94ef5a2e 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml @@ -37,6 +37,7 @@ nomad_options: docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" fingerprint.network.disallow_link_local: true +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.14" - "10.32.8.16" @@ -67,6 +68,7 @@ consul_retry_servers: - "10.32.8.14" - "10.32.8.16" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml index 32320170a4..13a6635079 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml @@ -37,6 +37,7 @@ nomad_options: docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" fingerprint.network.disallow_link_local: true +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.14" - "10.32.8.15" @@ -67,6 +68,7 @@ consul_retry_servers: - "10.32.8.14" - "10.32.8.15" - "10.32.8.17" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: diff --git a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml index 1f10670a2d..bb67baa67c 100644 --- a/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml +++ b/fdio.infra.ansible/inventories/lf_inventory/host_vars/10.32.8.17.yaml @@ -37,6 +37,7 @@ nomad_options: docker.volumes.enabled: true driver.whitelist: "docker,raw_exec,exec" fingerprint.network.disallow_link_local: true +nomad_service_mgr: "systemd" nomad_retry_servers: - "10.32.8.14" - "10.32.8.15" @@ -67,6 +68,7 @@ consul_retry_servers: - "10.32.8.14" - "10.32.8.15" - "10.32.8.16" +consul_service_mgr: "systemd" # Docker daemon settings. docker_daemon: