|
|
@ -994,7 +994,7 @@ to externalize data from the playbook rules itself, this is possible by combinin
|
|
|
|
This is not something everyone may need to do at first, but it's a clever trick and deserves explanation.
|
|
|
|
This is not something everyone may need to do at first, but it's a clever trick and deserves explanation.
|
|
|
|
Here is a top level example playbook that loads variables from an external file and also tasks from an
|
|
|
|
Here is a top level example playbook that loads variables from an external file and also tasks from an
|
|
|
|
external file. You will note that we use a list (using with_items) as a parameter on the include
|
|
|
|
external file. You will note that we use a list (using with_items) as a parameter on the include
|
|
|
|
statement.
|
|
|
|
statement::
|
|
|
|
|
|
|
|
|
|
|
|
----
|
|
|
|
----
|
|
|
|
# file: playbook-demo.yml
|
|
|
|
# file: playbook-demo.yml
|
|
|
|