Browse Source

add raw blocks to molecule files

master
Robert Kaussow 1 year ago
parent
commit
dc1ffaa019
Signed by: xoxys GPG Key ID: 65362AE74AF98B61
  1. 4
      README.md
  2. 2
      {{cookiecutter.author}}.{{cookiecutter.role_name}}/molecule/{{cookiecutter.molecule_scenario|replace('-', '')}}/create.yml
  3. 2
      {{cookiecutter.author}}.{{cookiecutter.role_name}}/molecule/{{cookiecutter.molecule_scenario|replace('-', '')}}/destroy.yml

4
README.md

@ -7,7 +7,3 @@ Usage: `cookiecutter https://gitea.rknet.org/xoxys/cookiecutter-ansible-role`
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
## Maintainers and Contributors
[Robert Kaussow](https://gitea.rknet.org/xoxys)

2
{{cookiecutter.author}}.{{cookiecutter.role_name}}/molecule/{{cookiecutter.molecule_scenario|replace('-', '')}}/create.yml

@ -1,3 +1,4 @@
{% raw %}
---
- name: Create
hosts: localhost
@ -90,3 +91,4 @@
- name: Wait for VM to settle down
pause:
seconds: 30
{% endraw %}

2
{{cookiecutter.author}}.{{cookiecutter.role_name}}/molecule/{{cookiecutter.molecule_scenario|replace('-', '')}}/destroy.yml

@ -1,3 +1,4 @@
{% raw %}
---
- name: Destroy
hosts: localhost
@ -55,3 +56,4 @@
content: "{{ instance_conf | molecule_to_yaml | molecule_header }}"
dest: "{{ molecule_instance_config }}"
when: server.changed | bool
{% endraw %}

Loading…
Cancel
Save