diff --git a/src/molecule_podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml b/src/molecule_podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml new file mode 100644 index 0000000..279cdcf --- /dev/null +++ b/src/molecule_podman/cookiecutter/{{cookiecutter.molecule_directory}}/{{cookiecutter.scenario_name}}/prepare.yml @@ -0,0 +1,12 @@ +{# note: Used during molecule-podman own testing to ensure syncronize module +can be used with podman as this is an important feature. Users can remove +the prepare.yml file if they do not need it but we should keep in inside the +template. +#}--- +- name: Prepare + hosts: all + tasks: + - name: Copy something to test use of synchronize module + ansible.posix.synchronize: + src: /etc/hosts + dest: /tmp/hosts-from-controller