mirror of
https://github.com/davestephens/ansible-nas
synced 2025-01-12 11:38:47 +00:00
20 lines
520 B
YAML
20 lines
520 B
YAML
---
|
|
- name: Prepare
|
|
hosts: all
|
|
tasks:
|
|
- name: Install docker python module
|
|
ansible.builtin.pip:
|
|
name: docker
|
|
|
|
- name: Create a dummy gitea config directory
|
|
ansible.builtin.file:
|
|
path: "{{ item }}"
|
|
state: directory
|
|
recurse: yes
|
|
with_items:
|
|
- "{{ gitea_data_directory }}/gitea/gitea/conf"
|
|
|
|
- name: Create a dummy gitea config file
|
|
ansible.builtin.file:
|
|
path: "{{ gitea_data_directory }}/gitea/gitea/conf/app.ini"
|
|
state: touch
|