mirror of https://github.com/ansible/ansible.git
Reword warning if the reserved keyword `_ansible_` is used (#82657)
Extend the wordings in warning if the reserved keyword _ansible_ is used as a module parameter. Fixes: #82514 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com> Co-authored-by: Jordan Borean <jborean93@gmail.com>pull/82677/head
parent
c8d6f7b95e
commit
a23ea2aef2
@ -0,0 +1,3 @@
|
||||
---
|
||||
bugfixes:
|
||||
- Reword warning if the reserved keyword _ansible_ used as a module parameter (https://github.com/ansible/ansible/issues/82514).
|
@ -0,0 +1,9 @@
|
||||
- name: Test set_fact with key starting with reserved keyword '_ansible_'
|
||||
hosts: testhost
|
||||
gather_facts: no
|
||||
tasks:
|
||||
- name: Define fact with key starting with reserved keyword '_ansible_'
|
||||
set_fact:
|
||||
_ansible_foo: bar
|
||||
ignore_errors: yes
|
||||
register: r
|
Loading…
Reference in New Issue