Merge pull request 'Add new virtual machine host 'unicorn'' (!19) from alex/netz39-infra-ansible:unicorn into master

Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/19
This commit is contained in:
Stefan Haun 2022-01-10 14:55:15 +00:00
commit b04a9a0e2b
4 changed files with 17 additions and 1 deletions

View file

@ -3,6 +3,7 @@
Currently including the following hosts:
* tau.netz39.de
* pottwal.n39.eu
* unicorn.n39.eu
## Setup
```bash

View file

@ -76,4 +76,5 @@ all:
31356239323439666632333033616366663762646366343839663463633665333863343437343334
3665386538393066380a383366346235343531306561643534663035646537666534383536333230
34613761363237633865306332653631323366343232353666343165666664343838
unicorn.n39.eu:
server_admin: "admin+unicorn@netz39.de"

View file

@ -39,3 +39,6 @@
- name: Pottwal specific setup
import_playbook: pottwal.yml
- name: Specific setup for host unicorn
import_playbook: unicorn.yml

11
unicorn.yml Normal file
View file

@ -0,0 +1,11 @@
---
- hosts: unicorn.n39.eu
become: true
vars:
ansible_python_interpreter: /usr/bin/python3
roles:
- role: docker_setup
vars:
docker_data_root: "/srv/docker"