mirror of https://github.com/ansible/ansible.git
Properly handle FieldAttribute.default if callable (#48992)
* Properly handle FieldAttribute.default if callable
Fixes #48673
* Add changelog...
* Add integration test
* Add aliases file
(cherry picked from commit 48ffd8789f
)
pull/49167/head
parent
255a7dab7e
commit
316d3abb42
@ -0,0 +1,2 @@
|
|||||||
|
bugfixes:
|
||||||
|
- Fix using omit on play keywords (https://github.com/ansible/ansible/issues/48673)
|
@ -0,0 +1,4 @@
|
|||||||
|
- hosts: localhost
|
||||||
|
serial: "{{ testing_omitted_variable | default(omit) }}"
|
||||||
|
tasks:
|
||||||
|
- debug:
|
@ -0,0 +1 @@
|
|||||||
|
shippable/posix/group3
|
@ -0,0 +1,5 @@
|
|||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -eux
|
||||||
|
|
||||||
|
ansible-playbook 48673.yml -i ../../inventory -v "$@"
|
Loading…
Reference in New Issue