refactor: remove geerlingguy.docker dependency

Assume Docker and Docker Compose are already installed on the target
host. This decouples the role from a specific Docker installation
method; avoiding conflicts with existing setups.
This commit is contained in:
2026-04-16 07:53:47 -04:00
parent ddd19f685a
commit 8fc764db49
3 changed files with 2 additions and 8 deletions

View File

@@ -12,13 +12,13 @@ This Ansible role automates the deployment of Gitea - a self-hosted Git service,
## Requirements
- Docker and Docker Compose installed on the target host
- jmespath Python library (install with: `pip install jmespath`)
## Sample Usage in a Playbook
The following playbook was tested on the latest Debian 12, it should work on Ubuntu as well.
```yaml
# Installs Docker and Compose if not available
- name: Install Gitea using Docker Compose
hosts: git.example.com
become: yes

View File

@@ -17,6 +17,4 @@ galaxy_info:
- gitserver
- selfhosted
dependencies:
- role: geerlingguy.docker
version: "7.8.0"
dependencies: []

View File

@@ -1,8 +1,4 @@
---
- name: Set up Docker and Docker compose
ansible.builtin.include_role:
name: geerlingguy.docker
- name: Create directory for Gitea Docker Compose stack
ansible.builtin.file:
path: "{{ gitea_home_path }}"