Hi , I have a variable declared as shown below. When the playbook run, the two tasks shown below are skipped. Can someone please clarify the best practice to declare the variable and use as detailed below.
mariadb_version: 10.1 - name: Start MariaDB 10.0 service: name=mysql enabled=yes state=started when: mariadb_version == '10.0' - name: Start MariaDB 10.1 service: name=mariadb enabled=yes state=started when: mariadb_version == '10.1' Thanks -- 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/49cda142-326e-44e5-bbec-0c2f83323ade%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
