Browse Source

Add git.xil.se

master
Konrad Beckmann 10 months ago
parent
commit
e498626e4d
7 changed files with 23 additions and 0 deletions
  1. +5
    -0
      gitserver.yml
  2. +2
    -0
      group_vars/gitserver.yml
  3. +3
    -0
      host_vars/ansibletest.devsn.se.yml
  4. +3
    -0
      inventory
  5. +2
    -0
      roles/gitea/defaults/main.yml
  6. +7
    -0
      roles/gitea/tasks/main.yml
  7. +1
    -0
      site.yml

+ 5
- 0
gitserver.yml View File

@@ -0,0 +1,5 @@
- hosts: gitserver
roles:
- common
- gitea


+ 2
- 0
group_vars/gitserver.yml View File

@@ -0,0 +1,2 @@
ansible_ssh_common_args: '-o ProxyCommand="ssh -W %h:%p -q root@ansibletest.devsn.se"'


+ 3
- 0
host_vars/ansibletest.devsn.se.yml View File

@@ -12,3 +12,6 @@ lxc_containers:
webcache1.xil.se:
ipv4_address: "10.10.0.15/24"
ipv4_gateway: "10.10.0.1"
git.xil.se:
ipv4_address: "10.10.0.16/24"
ipv4_gateway: "10.10.0.1"

+ 3
- 0
inventory View File

@@ -8,3 +8,6 @@ testhost3.xil.se ansible_host=10.10.0.14

[varnishproxys]
webcache1.xil.se ansible_host=10.10.0.15

[gitserver]
git.xil.se ansible_host=10.10.0.16

+ 2
- 0
roles/gitea/defaults/main.yml View File

@@ -0,0 +1,2 @@
---


+ 7
- 0
roles/gitea/tasks/main.yml View File

@@ -0,0 +1,7 @@
---
- name: Install gitea
apt:
name: ['vim']
state: latest
tags:
- lxc

+ 1
- 0
site.yml View File

@@ -2,3 +2,4 @@
- import_playbook: lxchosts.yml
- import_playbook: lxcguests.yml
- import_playbook: varnishproxys.yml
- import_playbook: gitserver.yml

Loading…
Cancel
Save