diff --git a/changelogs/fragments/pymysql.yml b/changelogs/fragments/pymysql.yml new file mode 100644 index 000000000..8b21912e9 --- /dev/null +++ b/changelogs/fragments/pymysql.yml @@ -0,0 +1,2 @@ +bugfixes: + - proxy role - Removed requirement for mysql group definition. diff --git a/roles/zabbix_proxy/tasks/mysql.yml b/roles/zabbix_proxy/tasks/mysql.yml index b6dcb1363..dde847a53 100644 --- a/roles/zabbix_proxy/tasks/mysql.yml +++ b/roles/zabbix_proxy/tasks/mysql.yml @@ -28,8 +28,8 @@ name: PyMySQL register: installation_dependencies until: installation_dependencies is succeeded - when: - - inventory_hostname in groups['mysql'] + tags: + - database - name: "MySQL | Create database" community.mysql.mysql_db: