Merge "Pass only variables starting with ANSIBLE"

This commit is contained in:
Zuul 2020-02-07 02:05:36 +00:00 committed by Gerrit Code Review
commit a6c63d86f8
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@
- (ceph_ansible_inherits_calling_ansible_environment | default(false)) | bool
block:
- name: get all ansible environment variables
shell: "env | grep ANSIBLE_"
shell: "env | grep ^ANSIBLE_"
register: env_shell_output
ignore_errors: true
delegate_to: localhost