mirror of https://github.com/ansible/ansible.git
Remove redundant vars FA on PlaybookInclude (#85395)
* The redundant FA declaration was not static, which broke a number of automatic validation behaviors.
* Added tests to assert deferred validation and lack of templating on `import_playbook.vars`.
Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit 73369f53af)
pull/85403/head
parent
9a3288f8c4
commit
a37df1a94a
@ -0,0 +1,6 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: no
|
||||||
|
tasks:
|
||||||
|
- name: Verify an imported playbook can see a var it was given
|
||||||
|
assert:
|
||||||
|
that: pb_var == 'hello'
|
||||||
Loading…
Reference in New Issue