diff --git a/survey.yml b/survey.yml index 32fb466..0143e66 100644 --- a/survey.yml +++ b/survey.yml @@ -25,6 +25,13 @@ ansible.builtin.debug: var: aap_survey_choose_multiple + - name: Loop through selections and act if its the 'World' + ansible.builtin.debug: + msg: "Hello {{ item }}" + loop: "{{ aap_survey_choose_multiple }}" + when: + - "'World' in item" + - name: Example of 'Integer' ansible.builtin.debug: var: aap_survey_integer