How is the user input being supplied to the playbook?
On 2022-05-31 (Tue) 16:27, Shivani Arora wrote:
Hi All, I'm creating a playbook which validates user input. Input string would be something like : "cluster-test-1"I want to assert that input has only lowercase, digits or hypen. (No other special character is allowed)Please suggest how I can achieve this, so that the playbook exits if input validation is failed.Thanks, Shivani --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] <mailto:[email protected]>. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/05f9b75c-7d97-4f50-b595-2b55e7dfe270n%40googlegroups.com <https://groups.google.com/d/msgid/ansible-project/05f9b75c-7d97-4f50-b595-2b55e7dfe270n%40googlegroups.com?utm_medium=email&utm_source=footer>.
-- 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 view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/c7bc76a8-fef2-700f-4c8f-1b6242de9792%40gmail.com.
OpenPGP_0x266713D4E6EF488D.asc
Description: OpenPGP public key
OpenPGP_signature
Description: OpenPGP digital signature
