mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Note undefined vars change
This commit is contained in:
parent
7e04947599
commit
d6f61d5397
1 changed files with 5 additions and 2 deletions
|
@ -310,6 +310,9 @@ newline being stripped you can change your playbook like this:
|
||||||
* Lookup, vars and action plugin pathing has been normalized, all now follow the same sequence to find relative files.
|
* Lookup, vars and action plugin pathing has been normalized, all now follow the same sequence to find relative files.
|
||||||
* We do not ignore the explicitly set login user for ssh when it matches the 'current user' anymore, this allows overriding .ssh/config when it is set
|
* We do not ignore the explicitly set login user for ssh when it matches the 'current user' anymore, this allows overriding .ssh/config when it is set
|
||||||
explicitly. Leaving it unset will still use the same user and respect .ssh/config. This also means ansible_ssh_user can now return a None value.
|
explicitly. Leaving it unset will still use the same user and respect .ssh/config. This also means ansible_ssh_user can now return a None value.
|
||||||
|
* Handling of undefined variables has changed. In most places they will now raise an error instead of silently injecting an empty string. Use the default filter if you want to approximate the old behaviour::
|
||||||
|
|
||||||
|
- debug: msg="The error message was: {{error_code |default('') }}"
|
||||||
|
|
||||||
## 1.9.4 "Dancing In the Street" - Oct 9, 2015
|
## 1.9.4 "Dancing In the Street" - Oct 9, 2015
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue