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

21 lines
520 B
YAML
Raw Normal View History

2023-01-07 14:26:28 +00:00
---
- name: Prepare
hosts: all
tasks:
- name: Install docker python module
2023-04-15 13:11:49 +00:00
ansible.builtin.pip:
2023-01-07 14:26:28 +00:00
name: docker
- name: Create a dummy gitea config directory
2023-04-15 13:11:49 +00:00
ansible.builtin.file:
2023-01-07 14:26:28 +00:00
path: "{{ item }}"
state: directory
recurse: yes
with_items:
- "{{ gitea_data_directory }}/gitea/gitea/conf"
- name: Create a dummy gitea config file
2023-04-15 13:11:49 +00:00
ansible.builtin.file:
2023-01-07 14:26:28 +00:00
path: "{{ gitea_data_directory }}/gitea/gitea/conf/app.ini"
state: touch