Fix yaml syntax in csvfile_lookup example (#81221)

Testing this example gives a parse error.
The correct syntax needs a colon for assignment, not equal sign
pull/81244/head
Jesús Martínez Novo 2 years ago committed by GitHub
parent 1ca03139cc
commit f2ade88334
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -57,7 +57,7 @@ EXAMPLES = """
neighbor_as: "{{ csvline[5] }}" neighbor_as: "{{ csvline[5] }}"
neigh_int_ip: "{{ csvline[6] }}" neigh_int_ip: "{{ csvline[6] }}"
vars: vars:
csvline = "{{ lookup('ansible.builtin.csvfile', bgp_neighbor_ip, file='bgp_neighbors.csv', delimiter=',') }}" csvline: "{{ lookup('ansible.builtin.csvfile', bgp_neighbor_ip, file='bgp_neighbors.csv', delimiter=',') }}"
delegate_to: localhost delegate_to: localhost
""" """

Loading…
Cancel
Save