diff --git a/ansible/roles/tsg-os-provision/files/service/tsg-os-provision.service.TSG7400 b/ansible/roles/tsg-os-provision/files/service/tsg-os-provision.service.TSG7400 index 8a9eb2bf..c19c8582 100644 --- a/ansible/roles/tsg-os-provision/files/service/tsg-os-provision.service.TSG7400 +++ b/ansible/roles/tsg-os-provision/files/service/tsg-os-provision.service.TSG7400 @@ -2,7 +2,7 @@ Description=Tsg os provision Requires=network.target After=network.target -Before=tfe-env.service mrenv.service certstore.service telegraf_statistic.service cert-redis.service consul.service +Before=tfe-env.service mrenv.service certstore.service telegraf_statistic.service telegraf_proxy.service telegraf_security.service cert-redis.service consul.service [Service] ExecStart=/bin/sh -c "/opt/tsg/tsg-os-provision/scripts/provision.sh 0" @@ -11,4 +11,4 @@ RemainAfterExit=yes [Install] WantedBy=multi-user.target -RequiredBy=tfe-env.service mrenv.service certstore.service telegraf_statistic.service cert-redis.service consul.service +RequiredBy=tfe-env.service mrenv.service certstore.service telegraf_statistic.service telegraf_proxy.service telegraf_security.service cert-redis.service consul.service diff --git a/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 b/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 index 31d46c43..80bcc4e3 100644 --- a/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 +++ b/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 @@ -314,6 +314,18 @@ state: restarted when: enable_config_apply == '1' + - name: "tsg-os-provision: restart telegraf_security" + systemd: + name: telegraf_security + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart telegraf_proxy" + systemd: + name: telegraf_proxy + state: restarted + when: enable_config_apply == '1' + - name: "tsg-os-provision: restart certstore" systemd: name: certstore