f7de00cadd
In order to optimise the role execution and to improve consistency, the following is done: 1. The services dict is filtered per host to prevent skipped tasks from spamming the logs and wasting execution time. 2. The service restart is implemented in a specific order to improve consistency. The order implemented is a wild guess as there is no upstream documentation about the 'correct' order. 3. The service enable/start is consolidated into the handler to be more efficient. 4. A dynamic include is used instead of nesting includes for the init prep. Change-Id: I91d20b980f1b1a63ff2d6ef30bcec7ef58a5571a
5 lines
220 B
Django/Jinja
5 lines
220 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
D /var/lock/{{ item.service_name }} 2755 {{ heat_system_user_name }} {{ heat_system_group_name }}
|
|
D /var/run/{{ item.service_name }} 2755 {{ heat_system_user_name }} {{ heat_system_group_name }}
|