diff options
author | Brian Coca <bcoca@users.noreply.github.com> | 2022-09-28 21:54:48 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-28 21:54:48 +0200 |
commit | 0b678d5036f64f95d50d73d3d27a523a2b264050 (patch) | |
tree | 0ff1d8d16e96a7c29ede89529f5724e5307d07c5 /test/integration/targets/roles_arg_spec | |
parent | Fix docs for new commonpath and normpath filters (#78897) (diff) | |
download | ansible-0b678d5036f64f95d50d73d3d27a523a2b264050.tar.xz ansible-0b678d5036f64f95d50d73d3d27a523a2b264050.zip |
avoid roles exporting vars: (#69040)
- correct 'vars:' precedence to allow phasing out of include_params
- actually merge vars and always include role_vars
- avoided dupe deps from giving wrong vars
- use 'first' instance of dep as others are from previous instances/invocations
and can have diff values for vars
- ensured deps only provide exportable vars themselves
- added COMMENTS
- added tests
- apply export restrictions setting to defaults
- use 'public' as cutoff
Co-authored-by: Sloane Hertel <19572925+s-hertel@users.noreply.github.com>
ci_complete
Diffstat (limited to 'test/integration/targets/roles_arg_spec')
-rw-r--r-- | test/integration/targets/roles_arg_spec/test.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/integration/targets/roles_arg_spec/test.yml b/test/integration/targets/roles_arg_spec/test.yml index 5eca7c73f9..b2b44c7ffd 100644 --- a/test/integration/targets/roles_arg_spec/test.yml +++ b/test/integration/targets/roles_arg_spec/test.yml @@ -48,6 +48,7 @@ name: a vars: a_int: "{{ INT_VALUE }}" + a_str: "import_role" - name: "Call role entry point that is defined, but has no spec data" import_role: |