D
D
Darkcloud2020-07-29 14:41:12
Ansible
Darkcloud, 2020-07-29 14:41:12

How to use a tag as a variable in ansible?

The bottom line is that during the launch of the playbook, you need to warn the user that the playbook is launched without tags. How to do it?
The first thought is to somehow pass the tag to a variable and check if it is not equal to zero

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
alfss, 2020-07-29
@alfss

Google says this is the answer. https://serverfault.com/questions/623634/ansible-e...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question