Simple single-target tofu build is the goal
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Successful in 2m56s
Gitea Actions - molecule test work / Explore-molecule-Gitea-Action (push) Successful in 2m56s
This commit is contained in:
1 parent
f51c228573
commit
b2b2c319bb
5 files changed
+146
No files matched your search
@@ -0,0 +1,24 @@
|
||||
---
|
||||
- name: Destroy
|
||||
hosts: localhost
|
||||
connection: local
|
||||
gather_facts: false
|
||||
# no_log: "{{ molecule_no_log }}"
|
||||
tasks:
|
||||
# Developer must implement.
|
||||
|
||||
# Mandatory configuration for Molecule to function.
|
||||
|
||||
- name: Populate instance config
|
||||
ansible.builtin.set_fact:
|
||||
instance_conf: {}
|
||||
|
||||
- name: Dump instance config
|
||||
ansible.builtin.copy:
|
||||
content: |
|
||||
# Molecule managed
|
||||
|
||||
{{ instance_conf | to_json | from_json | to_yaml }}
|
||||
dest: "{{ molecule_instance_config }}"
|
||||
mode: "0600"
|
||||
when: server.changed | default(false) | bool # noqa no-handler
|
||||
Reference in new issue
Block a user