Fixed markdown in changelog.md (#22980)
This commit is contained in:
parent
06f76a2741
commit
2d63518753
1 changed files with 9 additions and 9 deletions
|
@ -1242,7 +1242,7 @@ Module fixes:
|
||||||
* Backslashes used when specifying parameters in jinja2 expressions in YAML dicts sometimes needed to be escaped twice.
|
* Backslashes used when specifying parameters in jinja2 expressions in YAML dicts sometimes needed to be escaped twice.
|
||||||
This has been fixed so that escaping once works. Here's an example of how playbooks need to be modified:
|
This has been fixed so that escaping once works. Here's an example of how playbooks need to be modified:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
# Syntax in 1.9.x
|
# Syntax in 1.9.x
|
||||||
- debug:
|
- debug:
|
||||||
msg: "{{ 'test1_junk 1\\\\3' | regex_replace('(.*)_junk (.*)', '\\\\1 \\\\2') }}"
|
msg: "{{ 'test1_junk 1\\\\3' | regex_replace('(.*)_junk (.*)', '\\\\1 \\\\2') }}"
|
||||||
|
@ -1260,7 +1260,7 @@ format the trailing newlines were kept. In v2, both methods of specifying the
|
||||||
string will keep the trailing newlines. If you relied on the trailing
|
string will keep the trailing newlines. If you relied on the trailing
|
||||||
newline being stripped you can change your playbook like this:
|
newline being stripped you can change your playbook like this:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
# Syntax in 1.9.2
|
# Syntax in 1.9.2
|
||||||
vars:
|
vars:
|
||||||
message: >
|
message: >
|
||||||
|
@ -1287,7 +1287,7 @@ variable syntax ('{{var_name}}') - bare variable names there are no longer accep
|
||||||
In fact, even specifying args with variables has been deprecated, and will not be
|
In fact, even specifying args with variables has been deprecated, and will not be
|
||||||
allowed in future versions:
|
allowed in future versions:
|
||||||
|
|
||||||
```
|
```yaml
|
||||||
---
|
---
|
||||||
- hosts: localhost
|
- hosts: localhost
|
||||||
connection: local
|
connection: local
|
||||||
|
|
Loading…
Reference in a new issue