aap_surveys/survey.yml
Chris Hammer 5d1e0eedae
Some checks failed
Ansible Code Pipeline / Ansible-Development-Pipeline (ansible-dev-centos9) (push) Failing after 12s
Updates
2024-12-20 17:32:20 -05:00

42 lines
1023 B
YAML

---
- name: AAP and Surveys
hosts: all
gather_facts: false
become: false
tasks:
- name: Example of 'Text'
ansible.builtin.debug:
var: aap_survey_text
- name: Example of 'Textarea'
ansible.builtin.debug:
var: aap_survey_textarea
- name: Example of 'password'
ansible.builtin.debug:
var: aap_survey_password
- name: Example of 'Multiple Choice (single select)'
ansible.builtin.debug:
var: aap_survey_choose_single
- name: Example of 'Multiple Choice (multiple select)'
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
- name: Example of 'Float'
ansible.builtin.debug:
var: aap_survey_float