mirror of https://github.com/ansible/ansible.git
Fix templating tags on plays and roles (#82314)
Fixes #69903
ci_complete
(cherry picked from commit 532edf4c35)
pull/85305/head
parent
aae5734e0e
commit
33c55b9c25
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- Fix templating ``tags`` on plays and roles. (https://github.com/ansible/ansible/issues/69903)
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
- import_role:
|
||||||
|
name: b
|
||||||
@ -0,0 +1,2 @@
|
|||||||
|
- debug:
|
||||||
|
msg: Tagged_task
|
||||||
@ -0,0 +1,8 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
t: tag1
|
||||||
|
tags: "{{ t }}"
|
||||||
|
tasks:
|
||||||
|
- debug:
|
||||||
|
msg: Tagged_task
|
||||||
@ -0,0 +1,7 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
vars:
|
||||||
|
t: tag1
|
||||||
|
roles:
|
||||||
|
- name: a
|
||||||
|
tags: "{{ t }}"
|
||||||
Loading…
Reference in New Issue