# ## Heat connmon tasks ## # - name: Check for connmon in heat.conf command: grep -Eq 'connection\s?=\s?mysql:' /etc/heat/heat.conf register: heat_mysql become: true ignore_errors: true changed_when: false - name: Enable Connmon in heat.conf command: sed -i 's/mysql:/mysql+connmon:/g' /etc/heat/heat.conf when: heat_mysql.rc == 0 become: true notify: - unmanage heat services - restart heat services - manage heat services - cleanup heat services