Merge pull request 'Add radon.n39.eu to Ansible management' (!35) from radon into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/35
This commit is contained in:
commit
769b5716df
4 changed files with 24 additions and 2 deletions
|
@ -4,6 +4,8 @@ Currently including the following hosts:
|
||||||
* tau.netz39.de
|
* tau.netz39.de
|
||||||
* pottwal.n39.eu
|
* pottwal.n39.eu
|
||||||
* unicorn.n39.eu
|
* unicorn.n39.eu
|
||||||
|
* platon.n39.eu
|
||||||
|
* radon.n39.eu
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
```bash
|
```bash
|
||||||
|
|
|
@ -80,4 +80,6 @@ all:
|
||||||
server_admin: "admin+unicorn@netz39.de"
|
server_admin: "admin+unicorn@netz39.de"
|
||||||
platon.n39.eu:
|
platon.n39.eu:
|
||||||
server_admin: "admin+platon@netz39.de"
|
server_admin: "admin+platon@netz39.de"
|
||||||
ansible_ssh_user: pi
|
ansible_ssh_user: pi
|
||||||
|
radon.n39.eu:
|
||||||
|
server_admin: "admin+radon@netz39.de"
|
||||||
|
|
5
main.yml
5
main.yml
|
@ -44,4 +44,7 @@
|
||||||
import_playbook: unicorn.yml
|
import_playbook: unicorn.yml
|
||||||
|
|
||||||
- name: Platon specific setup
|
- name: Platon specific setup
|
||||||
import_playbook: platon.yml
|
import_playbook: platon.yml
|
||||||
|
|
||||||
|
- name: Radon specific setup
|
||||||
|
import_playbook: radon.yml
|
||||||
|
|
15
radon.yml
Normal file
15
radon.yml
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
---
|
||||||
|
- hosts: radon.n39.eu
|
||||||
|
become: true
|
||||||
|
|
||||||
|
vars:
|
||||||
|
ansible_python_interpreter: /usr/bin/python3
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: docker_setup
|
||||||
|
vars:
|
||||||
|
docker_data_root: "/srv/docker"
|
||||||
|
|
||||||
|
tasks:
|
||||||
|
|
||||||
|
handlers:
|
Loading…
Reference in a new issue