This repository has been archived by the owner on May 31, 2023. It is now read-only.
Preflight "tags: always" conflicts with --tags option #101
Labels
bug
Something isn't working
good first issue
Good for newcomers
help wanted
Extra attention is needed
Hi hi!
I have a playbook that configures a full Prometheus + Grafana stack on a node via task dependencies, with each dependency tagged, e.g.
tags: prometheus
,tags: grafana
.The problem here is that if I just want to run Prometheus reconfiguration (
--tags=prometheus
), bits and pieces of Grafana stuff still gets run, sincetags: always
overrides command line--tags
.This is compounded by the fact that I have, as best practices dictate, the Grafana password stored as an Ansible vaulted variable. This means "Fail when grafana admin password isn't set" fails even if I don't want to touch the Grafana configuration at all, if I haven't somehow entered the vault password.
The text was updated successfully, but these errors were encountered: