"Fossies" - the Fresh Open Source Software Archive

Member "ansible-2.9.27/test/integration/targets/template/6653.yml" (11 Oct 2021, 224 Bytes) of package /linux/misc/ansible-2.9.27.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ansible YAML source code syntax highlighting (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 - hosts: localhost
    2   gather_facts: no
    3   vars:
    4     mylist:
    5       - alpha
    6       - bravo
    7   tasks:
    8     - name: Should not fail on undefined variable
    9       set_fact:
   10         template_result: "{{ lookup('template', '6653.j2') }}"