mirror of https://github.com/ansible/ansible.git
add ANSIBLE_PLAYBOOK_DIR envvar support (#63220)
* add ANSIBLE_PLAYBOOK_DIR envvar support
* allows `ANSIBLE_PLAYBOOK_DIR` envvar as a fallback on CLI types that support `--playbook-dir`. This should have been implemented with #59464, but was missed due to an oversight.
* added basic integration test
* make first-class PLAYBOOK_DIR config entry
* update changelog
(cherry picked from commit fd229dcbb5)
pull/63299/head
parent
bcd118c771
commit
6e0eafa3a7
@ -0,0 +1,2 @@
|
||||
bugfixes:
|
||||
- CLI - the `ANSIBLE_PLAYBOOK_DIR` envvar or `playbook_dir` config can now substitute for the --playbook-dir arg on CLIs that support it (https://github.com/ansible/ansible/issues/59464)
|
||||
@ -0,0 +1,2 @@
|
||||
[defaults]
|
||||
playbook_dir = /tmp
|
||||
Loading…
Reference in New Issue