@@ -199,7 +199,7 @@ You can use the `set_fact` module to combine lists into a new `merged_list` vari
199
199
- peach
200
200
- plum
201
201
- pear
202
-
202
+
203
203
tasks:
204
204
- name: Combine list1 and list2 into a merged_list var
205
205
ansible.builtin.set_fact:
@@ -425,16 +425,16 @@ Ansible does apply variable precedence, and you might have a use for it. Here is
425
425
426
426
#. command line values (for example, ``-u my_user ``, these are not variables)
427
427
#. role defaults (as defined in :ref: `Role directory structure <role_directory_structure >`) [1 ]_
428
- #. inventory file or script group vars [2 ]_
429
- #. inventory group_vars/all [3 ]_
430
- #. playbook group_vars/all [3 ]_
431
- #. inventory group_vars/* [3 ]_
432
- #. playbook group_vars/* [3 ]_
433
- #. inventory file or script host vars [2 ]_
434
- #. inventory host_vars/* [3 ]_
435
- #. playbook host_vars/* [3 ]_
428
+ #. any group vars (all and not all) defined inside of an inventory file or script [2 ]_
429
+ #. inventory group_vars/all (a file in the directory group_vars/ adjacent to the inventory) [3 ]_
430
+ #. playbook group_vars/all (a file in the directory group_vars/ adjacent to the playbook) [3 ]_
431
+ #. inventory group_vars/* (a file in the directory group_vars/ adjacent to the inventory) [3 ]_
432
+ #. playbook group_vars/* (a file in the directory group_vars/ adjacent to the playbook) [3 ]_
433
+ #. host vars defined in an inventory file or script [2 ]_
434
+ #. inventory host_vars/* (a file in the directory host_vars/ adjacent to the inventory) [3 ]_
435
+ #. playbook host_vars/* (a file in the directory host_vars/ adjacent to the inventory) [3 ]_
436
436
#. host facts / cached set_facts [4 ]_
437
- #. play vars
437
+ #. play vars (defined in the section vars for the play)
438
438
#. play vars_prompt
439
439
#. play vars_files
440
440
#. role vars (as defined in :ref: `Role directory structure <role_directory_structure >`)
0 commit comments