mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Use the play term instead of playbook.
An ansible playbook is a list of plays. environment: applies per-play, not per-playbook.
This commit is contained in:
parent
368497fd14
commit
fb0ec5895a
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ The environment can also be stored in a variable, and accessed like so::
|
||||||
- apt: name=cobbler state=installed
|
- apt: name=cobbler state=installed
|
||||||
environment: "{{proxy_env}}"
|
environment: "{{proxy_env}}"
|
||||||
|
|
||||||
You can also use it at a playbook level::
|
You can also use it at a play level::
|
||||||
|
|
||||||
- hosts: testhost
|
- hosts: testhost
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue