diff --git a/molecule/centos7/create.yml b/molecule/centos7/create.yml index 54acd05..8b945cd 100644 --- a/molecule/centos7/create.yml +++ b/molecule/centos7/create.yml @@ -103,7 +103,7 @@ content: | # Molecule managed - {{ instance_conf | to_json | from_json | to_yaml }} + {{ instance_conf | to_nice_yaml(indent=2) }} dest: "{{ molecule_instance_config }}" when: server.changed | bool diff --git a/molecule/centos7/destroy.yml b/molecule/centos7/destroy.yml index 7a1ffbb..6454c71 100644 --- a/molecule/centos7/destroy.yml +++ b/molecule/centos7/destroy.yml @@ -73,6 +73,6 @@ content: | # Molecule managed - {{ instance_conf | to_json | from_json | to_yaml }} + {{ instance_conf | to_nice_yaml(indent=2) }} dest: "{{ molecule_instance_config }}" when: server.changed | bool