ansible-nas/roles/drone-ci/molecule/default/prepare.yml

21 lines
472 B
YAML
Raw Normal View History

2023-03-09 14:17:27 +00:00
---
- name: Prepare
hosts: all
tasks:
- name: Install docker python module
pip:
name: docker
- name: Create a dummy gitea config directory
file:
path: "{{ item }}"
state: directory
recurse: yes
with_items:
- "{{ gitea_data_directory }}/gitea/gitea/conf"
- name: Create a dummy gitea config file
file:
path: "{{ gitea_data_directory }}/gitea/gitea/conf/app.ini"
state: touch