diff --git a/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml b/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml index 29b081f..26bb480 100644 --- a/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml +++ b/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/create.yml @@ -130,7 +130,7 @@ - name: Dump instance config copy: - content: "{{ instance_conf | to_json | from_json | to_yaml | header }}" + content: "{{ instance_conf | to_json | from_json | to_yaml }}" dest: "{{ molecule_instance_config }}" when: server.changed | bool diff --git a/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/destroy.yml b/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/destroy.yml index 5c0c721..f0c3130 100644 --- a/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/destroy.yml +++ b/molecule_ec2/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/destroy.yml @@ -43,7 +43,7 @@ - name: Dump instance config copy: - content: "{{ instance_conf | to_json | from_json | to_yaml | header }}" + content: "{{ instance_conf | to_json | from_json | to_yaml }}" dest: "{{ molecule_instance_config }}" when: server.changed | bool {%- endraw %} diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..deffaa2 --- /dev/null +++ b/requirements.txt @@ -0,0 +1 @@ +sh==1.14.1 diff --git a/tox.ini b/tox.ini index e75db5a..671b7ed 100644 --- a/tox.ini +++ b/tox.ini @@ -23,6 +23,7 @@ commands = deps = py{36,37,38,39}: molecule[test] py{36,37,38,39}-{devel}: git+https://github.com/ansible-community/molecule.git@master#egg=molecule[test] + -rrequirements.txt setenv = ANSIBLE_FORCE_COLOR={env:ANSIBLE_FORCE_COLOR:1} ANSIBLE_INVENTORY={toxinidir}/tests/hosts.ini