From 115eda139f6155774802e3ec9530be1fc211662b Mon Sep 17 00:00:00 2001 From: Robert Kaussow Date: Sun, 14 Mar 2021 16:24:26 +0100 Subject: [PATCH] [skip ci] fix molecule instance config formatting --- molecule/centos7/create.yml | 2 +- molecule/centos7/destroy.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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