Skip to content

FAIL with grafana_mailer_smtp_enabled #2171

@UehgxEQbFiw4Tlw8

Description

@UehgxEQbFiw4Tlw8

Hello everyone,

after the usual git pull && just roles I see the fail in

failed: [mash.example.com] (item={'old': 'grafana_smtp_enabled', 'new': 'grafana_mailer_smtp_enabled'}) => {"ansible_loop_var": "item", "changed": false, "item": {"new": "grafana_mailer_smtp_enabled", "old": "grafana_smtp_enabled"}, "msg": "Your configuration contains a variable, which now has a different name. Please change your configuration to rename the variable (grafana_smtp_enabled -> grafana_mailer_smtp_enabled)."}

I've noticed that in ansible-role-grafana/defaults/main.yml the variable was changed and indeed in my playbook under roles/galaxy/grafana/defaults/ there is a line in main.yml:

grafana_mailer_smtp_enabled: false

the only one with smtp_enabled as I can see with less main.yml | grep -i smtp_enabled.

It is not my vars.yml too,

less vars.yml | grep -i smtp_enabled

is empty...

Btw. I have a separate synapse installed via MDAD with Grafana too and I cannot see in the log after git pull && just roles && just setup-all anything similar, only

less update_matrix_playbook_log | grep -i smtp_enabled -->
skipping: [matrix.example.com] => (item={'old': 'grafana_smtp_enabled', 'new': 'grafana_mailer_smtp_enabled'})

But no fail at some point. Btw, there too I have nothing about Grafana with smtp in my vars.yml

What can this be?

Thanks for help!

Kind regards,
M.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions