mirror of https://github.com/ansible/ansible.git
parent
01ff57bdff
commit
3bda4eae6f
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- "Fix a traceback occuring when a task is named ``meta`` (https://github.com/ansible/ansible/issues/79459)"
|
@ -0,0 +1,12 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
gather_facts: false
|
||||||
|
tasks:
|
||||||
|
# make sure tasks with an undefined variable in the name are gracefully handled
|
||||||
|
- name: "Task name with undefined variable: {{ not_defined }}"
|
||||||
|
debug:
|
||||||
|
msg: Hello
|
||||||
|
|
||||||
|
# ensure we properly test for an action name, not a task name when cheking for a meta task
|
||||||
|
- name: "meta"
|
||||||
|
debug:
|
||||||
|
msg: Hello
|
@ -0,0 +1,3 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
ansible-playbook playbook.yml
|
@ -1,4 +0,0 @@
|
|||||||
# make sure tasks with an undefined variable in the name are gracefully handled
|
|
||||||
- name: "Task name with undefined variable: {{ not_defined }}"
|
|
||||||
debug:
|
|
||||||
msg: Hello
|
|
Loading…
Reference in New Issue