summaryrefslogtreecommitdiff
path: root/roles/gitea
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2020-03-23 07:04:17 -0400
committerThedro Neely <thedroneely@gmail.com>2020-03-23 07:04:17 -0400
commita85aae7b04e7ae3d1e826cbb4217c5f2ca61fde8 (patch)
treebf1bf6088f6d07fb7ba77c048f5985df0f32c3f2 /roles/gitea
parentb0db16cd6cfbe31f4a420e960f50eef0ebe40f60 (diff)
downloadplaybooks-a85aae7b04e7ae3d1e826cbb4217c5f2ca61fde8.tar.gz
playbooks-a85aae7b04e7ae3d1e826cbb4217c5f2ca61fde8.tar.bz2
playbooks-a85aae7b04e7ae3d1e826cbb4217c5f2ca61fde8.zip
roles: Bootstrap more containers
Diffstat (limited to 'roles/gitea')
-rw-r--r--roles/gitea/main.yml12
1 files changed, 9 insertions, 3 deletions
diff --git a/roles/gitea/main.yml b/roles/gitea/main.yml
index bdff439..dc4ae05 100644
--- a/roles/gitea/main.yml
+++ b/roles/gitea/main.yml
@@ -1,5 +1,12 @@
---
-# target: alpine3.10
+- name: Container Setup
+
+ vars:
+ lxc_base: ansible-alpine3.11
+ lxc_name: gitea
+
+ import_playbook: ../common/tasks/lxc.yml
+
- name: Install Gitea Service
hosts: gitea
@@ -13,14 +20,13 @@
name: "{{ gitea_user }}"
state: present
-
- name: Installing the required dependencies
apk:
state: present
update_cache: yes
name:
- gitea
-
+
- name: Replacing with repository binary
get_url:
url: "{{ gitea_url }}"