# Ansible script relaoed the full system demaons

**URL:** <https://forum.ansible.com/t/ansible-script-relaoed-the-full-system-demaons/23976>\
**Category:** Ansible Project\
**Created:** [March 15, 2017, 12:49pm UTC](https://forum.ansible.com/t/ansible-script-relaoed-the-full-system-demaons/23976 "2017-03-15T12:49:38Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Prasanth\_G](https://avatars.discourse-cdn.com/v4/letter/p/3bc359/32.png) [@Prasanth\_G](https://forum.ansible.com/u/Prasanth_G)\
**Post date:** [March 15, 2017, 12:49pm UTC](https://forum.ansible.com/t/ansible-script-relaoed-the-full-system-demaons/23976/1 "2017-03-15T12:49:38Z")

</div>

Dear Team,  
there was a change happened in our environment for updating the /etc/rsyslog.conf we executed the same via ansible playbook ( the playbook will do only 2 things , it will copy the template -new updated the rsyslog.conf and restart the deamon , but seems after the play , the whole systemd deamons reloaded and which caused the sap application restart

and my playbook content is like below

we are using version ansible 2.2.1.0 and redhat 7.2

---

<div class="post-metadata">

**Author:** ![Brian\_Coca](https://avatars.discourse-cdn.com/v4/letter/b/6de8d8/32.png) [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Post date:** [March 15, 2017, 3:35pm UTC](https://forum.ansible.com/t/ansible-script-relaoed-the-full-system-demaons/23976/2 "2017-03-15T15:35:14Z")

</div>

Ansible just issued a 'systemctl restart rsyslog', systemd can be  
configured in such ways that dependent services are also forced to  
stop, there is nothing on the Ansible side that forces/impedes that  
behaviour.
