mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 08:13:08 +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
|
||||
environment: "{{proxy_env}}"
|
||||
|
||||
You can also use it at a playbook level::
|
||||
You can also use it at a play level::
|
||||
|
||||
- hosts: testhost
|
||||
|
||||
|
||||
Reference in New Issue
Block a user