mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00: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:
@@ -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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user