cleanups for meridia and dibella
This commit is contained in:
Vendored
-18
@@ -36,24 +36,6 @@ Vagrant.configure("2") do |config|
|
|||||||
debian.vm.network "forwarded_port", guest: 22, host: 3024
|
debian.vm.network "forwarded_port", guest: 22, host: 3024
|
||||||
end
|
end
|
||||||
|
|
||||||
# config.vm.define "meridia" do |arch|
|
|
||||||
# arch.vm.box = "generic/arch"
|
|
||||||
# arch.vm.hostname = "test-meridia"
|
|
||||||
# arch.vm.network "private_network", type: "dhcp"
|
|
||||||
# arch.vm.network "forwarded_port", guest: 22, host: 3025
|
|
||||||
# arch.vm.provision "shell", inline: <<-SHELL
|
|
||||||
# pacman -Sy --noconfirm python
|
|
||||||
# SHELL
|
|
||||||
# end
|
|
||||||
# config.vm.define "dibella" do |arch|
|
|
||||||
# arch.vm.box = "generic/arch"
|
|
||||||
# arch.vm.hostname = "test-dibella"
|
|
||||||
# arch.vm.network "private_network", type: "dhcp"
|
|
||||||
# arch.vm.network "forwarded_port", guest: 22, host: 3026
|
|
||||||
# arch.vm.provision "shell", inline: <<-SHELL
|
|
||||||
# pacman -Sy --noconfirm python
|
|
||||||
# SHELL
|
|
||||||
# end
|
|
||||||
# config.vm.define "azura" do |arch|
|
# config.vm.define "azura" do |arch|
|
||||||
# arch.vm.box = "generic/arch"
|
# arch.vm.box = "generic/arch"
|
||||||
# arch.vm.hostname = "test-azura"
|
# arch.vm.hostname = "test-azura"
|
||||||
|
|||||||
@@ -1,9 +0,0 @@
|
|||||||
users:
|
|
||||||
- mark
|
|
||||||
- martijn
|
|
||||||
- jp
|
|
||||||
- lourens
|
|
||||||
- guus
|
|
||||||
# The cloud hosts have no nerevar user;
|
|
||||||
ansible_user: mark
|
|
||||||
backup_dump_dir: /var/backups/aurbis
|
|
||||||
+7
-16
@@ -33,16 +33,6 @@ x86:
|
|||||||
ansible_host: 127.0.0.1
|
ansible_host: 127.0.0.1
|
||||||
ansible_port: 3029
|
ansible_port: 3029
|
||||||
ansible_user: nerevar
|
ansible_user: nerevar
|
||||||
# meridia:
|
|
||||||
# ansible_host: 127.0.0.1
|
|
||||||
# ansible_port: 3025
|
|
||||||
# ansible_user: vagrant
|
|
||||||
# ansible_ssh_private_key_file: .vagrant/machines/meridia/libvirt/private_key
|
|
||||||
# dibella:
|
|
||||||
# ansible_host: 127.0.0.1
|
|
||||||
# ansible_port: 3026
|
|
||||||
# ansible_user: vagrant
|
|
||||||
# ansible_ssh_private_key_file: .vagrant/machines/dibella/libvirt/private_key
|
|
||||||
|
|
||||||
debian:
|
debian:
|
||||||
hosts:
|
hosts:
|
||||||
@@ -54,8 +44,6 @@ debian:
|
|||||||
# hosts:
|
# hosts:
|
||||||
# azura:
|
# azura:
|
||||||
# kynareth:
|
# kynareth:
|
||||||
# meridia:
|
|
||||||
# dibella:
|
|
||||||
home:
|
home:
|
||||||
hosts:
|
hosts:
|
||||||
# azura:
|
# azura:
|
||||||
@@ -63,9 +51,12 @@ home:
|
|||||||
# kynareth:
|
# kynareth:
|
||||||
nocturnal:
|
nocturnal:
|
||||||
talos:
|
talos:
|
||||||
# cloud:
|
|
||||||
# hosts:
|
|
||||||
# meridia:
|
|
||||||
# dibella:
|
|
||||||
cloud:
|
cloud:
|
||||||
hosts:
|
hosts:
|
||||||
|
akatosh:
|
||||||
|
backup_sources:
|
||||||
|
hosts:
|
||||||
|
akatosh:
|
||||||
|
backup:
|
||||||
|
hosts:
|
||||||
|
talos:
|
||||||
|
|||||||
+1
-11
@@ -12,10 +12,6 @@ x86:
|
|||||||
hosts:
|
hosts:
|
||||||
talos:
|
talos:
|
||||||
ansible_host: 192.168.178.64
|
ansible_host: 192.168.178.64
|
||||||
meridia:
|
|
||||||
ansible_host: 62.171.176.43
|
|
||||||
dibella:
|
|
||||||
ansible_host: 45.88.188.77
|
|
||||||
akatosh:
|
akatosh:
|
||||||
ansible_host: 169.58.40.23
|
ansible_host: 169.58.40.23
|
||||||
debian:
|
debian:
|
||||||
@@ -28,8 +24,6 @@ arch:
|
|||||||
hosts:
|
hosts:
|
||||||
azura:
|
azura:
|
||||||
kynareth:
|
kynareth:
|
||||||
meridia:
|
|
||||||
dibella:
|
|
||||||
home:
|
home:
|
||||||
hosts:
|
hosts:
|
||||||
azura:
|
azura:
|
||||||
@@ -39,14 +33,10 @@ home:
|
|||||||
talos:
|
talos:
|
||||||
cloud:
|
cloud:
|
||||||
hosts:
|
hosts:
|
||||||
meridia:
|
akatosh:
|
||||||
dibella:
|
|
||||||
# Hosts whose application data talos pulls into hardlinked snapshots.
|
# Hosts whose application data talos pulls into hardlinked snapshots.
|
||||||
# TODO: kill meridia/dibella
|
|
||||||
backup_sources:
|
backup_sources:
|
||||||
hosts:
|
hosts:
|
||||||
meridia:
|
|
||||||
dibella:
|
|
||||||
akatosh:
|
akatosh:
|
||||||
backup:
|
backup:
|
||||||
hosts:
|
hosts:
|
||||||
|
|||||||
+6
-14
@@ -1,12 +1,12 @@
|
|||||||
- name: Preprovisioning
|
- name: Preprovisioning
|
||||||
hosts: all:!cloud
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/preprovision.yml
|
- import_tasks: tasks/preprovision.yml
|
||||||
handlers:
|
handlers:
|
||||||
- import_tasks: handlers/main.yml
|
- import_tasks: handlers/main.yml
|
||||||
- name: Provision all hosts
|
- name: Provision all hosts
|
||||||
hosts: all:!cloud
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
@@ -47,7 +47,7 @@
|
|||||||
- name: Update
|
- name: Update
|
||||||
include_tasks: tasks/update_debian.yml
|
include_tasks: tasks/update_debian.yml
|
||||||
- name: Update Arch hosts
|
- name: Update Arch hosts
|
||||||
hosts: arch:!cloud
|
hosts: arch
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
@@ -60,7 +60,7 @@
|
|||||||
- name: Update
|
- name: Update
|
||||||
include_tasks: tasks/install_docker_debian.yml
|
include_tasks: tasks/install_docker_debian.yml
|
||||||
- name: Add utility scripts
|
- name: Add utility scripts
|
||||||
hosts: all:!cloud
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
tasks:
|
tasks:
|
||||||
- import_tasks: tasks/zsh.yml
|
- import_tasks: tasks/zsh.yml
|
||||||
- name: Install tmux
|
- name: Install tmux
|
||||||
hosts: all:!cloud
|
hosts: all
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
tasks:
|
tasks:
|
||||||
@@ -106,15 +106,7 @@
|
|||||||
tags:
|
tags:
|
||||||
- leaf
|
- leaf
|
||||||
- backup
|
- backup
|
||||||
- name: Backup sources (cloud hosts)
|
- name: Akatosh install
|
||||||
hosts: cloud
|
|
||||||
become: true
|
|
||||||
tasks:
|
|
||||||
- import_tasks: tasks/backup_source.yml
|
|
||||||
tags:
|
|
||||||
- leaf
|
|
||||||
- backup
|
|
||||||
- name: Akatosh install (replacement cloud server)
|
|
||||||
hosts: akatosh
|
hosts: akatosh
|
||||||
become: true
|
become: true
|
||||||
remote_user: nerevar
|
remote_user: nerevar
|
||||||
|
|||||||
@@ -14,6 +14,10 @@ services:
|
|||||||
source: /mnt/azura
|
source: /mnt/azura
|
||||||
target: /media
|
target: /media
|
||||||
read_only: true
|
read_only: true
|
||||||
|
- type: bind
|
||||||
|
source: ./local
|
||||||
|
target: /media2
|
||||||
|
read_only: true
|
||||||
devices:
|
devices:
|
||||||
- /dev/dri:/dev/dri
|
- /dev/dri:/dev/dri
|
||||||
restart: 'unless-stopped'
|
restart: 'unless-stopped'
|
||||||
|
|||||||
@@ -46,6 +46,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- html:/var/www/html
|
- html:/var/www/html
|
||||||
- /var/nextcloud:/var/nextcloud
|
- /var/nextcloud:/var/nextcloud
|
||||||
|
- /opt/nightingale/songs:/karaoke
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
db:
|
db:
|
||||||
|
|||||||
Reference in New Issue
Block a user