Hi, I'm curious if there is a Ansible variable available that I can use that describes the version of a role.
In a requirements.yml file, like the following: - src: dj-wasabi.zabbix-server version: 1.4.0 A version can be configured and when executing the ansible-galaxy command it downloads that version of the role. But is there also a way in a playbook that I can use this value (1.4.0) in a template that I can install on my target? What I want to do, is with the last task in my role, to create a file on the target with that value. I can then see what version was deployed the last time and if a new execution of the role is needed. Maybe I'm using the wrong keywords, but could not find an answer in this google group or web. Kind regards, Werner -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f17b0595-fe98-403a-9f9d-67ea90d618b2%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
