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 ac01679d..acbf89af 100644 --- a/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 +++ b/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN0P01R01 @@ -225,3 +225,66 @@ copy: src: /data/tsg-os-provision/provision.yml dest: /data/tsg-os-provision/provision.yml.snapshot + + - name: "tsg-os-provision: restart maat-redis" + systemd: + name: maat-redis + enabled: yes + state: started + when: + - feature.enable_policy_local_cache == 1 + - enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrenv" + systemd: + name: mrenv + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrzcpd" + systemd: + name: mrzcpd + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrapm_device" + systemd: + name: mrapm_device + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrapm_stream" + systemd: + name: mrapm_stream + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart telegraf_statistic" + systemd: + name: telegraf_statistic + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart certstore" + systemd: + name: certstore + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart cert-redis" + systemd: + name: cert-redis + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart sapp" + systemd: + name: sapp + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart tfe" + systemd: + name: tfe + state: restarted + when: enable_config_apply == '1' \ No newline at end of file diff --git a/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN123P01R01 b/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN123P01R01 index 53035cd3..da35c503 100644 --- a/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN123P01R01 +++ b/ansible/roles/tsg-os-provision/files/tasks/provision.yml.7400MCN123P01R01 @@ -99,3 +99,33 @@ copy: src: /data/tsg-os-provision/provision.yml dest: /data/tsg-os-provision/provision.yml.snapshot + + - name: "tsg-os-provision: restart mrenv" + systemd: + name: mrenv + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrzcpd" + systemd: + name: mrzcpd + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrapm_device" + systemd: + name: mrapm_device + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart mrapm_stream" + systemd: + name: mrapm_stream + state: restarted + when: enable_config_apply == '1' + + - name: "tsg-os-provision: restart tfe" + systemd: + name: tfe + state: restarted + when: enable_config_apply == '1'