Hi, I need to unregister a variable after using (the following statement is meaningless, it just gives you an example), but I could not find a module called unregister or clear, or reset the register variable, please advice.
- name: register something register: temVariable when: temVariable is not defined - name: check temVariable shell: runsomething when: temVariable is defined - name: unregister temVariable unregister: temVariable when: temVariable is defined Thank you. - j -- 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/909117a5-b4f6-4725-9326-59c76f4aa76f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
