Fix replacement pattern.

This commit is contained in:
Robert de Bock 2019-12-10 07:13:35 +01:00
parent a12ed2f8f8
commit 693cf54ad0
1 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ This example is taken from `molecule/resources/playbook.yml` and is tested on ea
The machine you are running this on, may need to be prepared, I use this playbook to ensure everything is in place to let the role work.
```yaml
{% if prepare.content is defined %}
{{ prepare.content | b64decode | regex_replace('ansible-role-', '{{ galaxy_namespace }}.') }}```
{{ prepare.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
{% else %}
No preparation required.
```
@ -26,7 +26,7 @@ No preparation required.
{% if verifyyml.content is defined %}
After running this role, this playbook runs to verify that everything works, this may be a good example how you can use this role.
```yaml
{{ verifyyml.content | b64decode | regex_replace('ansible-role-', '{{ galaxy_namespace }}.') }}
{{ verifyyml.content | b64decode | regex_replace('ansible-role-', galaxy_namespace ~ '.') }}```
```
{% endif %}