QoL changes for *Vim users #144

Merged
samsapti merged 2 commits from vim_filetype into main 2022-12-29 21:13:31 +00:00
41 changed files with 47 additions and 10 deletions

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
users:
- name: graffen

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- hosts: all
gather_facts: true

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
volume_root_folder: "/docker-volumes"

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: "restart nginx"
community.docker.docker_container:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: add docker gpg key
apt_key:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: setup external services network
docker_network:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: codimd network
docker_network:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: copy docker registry nginx configuration
copy:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: set up drone with docker runner
docker_compose:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: gitea network
docker_network:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: create hedgedoc volume folders
file:

View file

@ -1,3 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup keycloak containers for sso.data.coop
docker_compose:
project_name: "keycloak"

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: create mailu volume folders
file:

View file

@ -1,3 +1,5 @@
# vim: ft=yaml.ansible
---
- name: create mastodon volume folders
file:
name: "{{ services.mastodon.volume_folder }}/{{ volume }}"

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: create matrix volume folders
file:

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: run membersystem containers
docker_compose:
project_name: "member.data.coop"

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup netdata docker container for system monitoring
docker_container:
name: netdata

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: upload vhost config for cloud.data.coop
template:

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: create nginx-proxy volume folders
file:
name: "{{ services.nginx_proxy.volume_folder }}/{{ volume }}"

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: create ldap volume folders
file:

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup passit containers
docker_compose:
project_name: "passit"

View file

@ -1,3 +1,5 @@
# vim: ft=yaml.ansible
---
- name: Set up Pinafore
docker_container:
name: pinafore

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: create portainer volume folder
file:
name: "{{ services.portainer.volume_folder }}"

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup network for postfix
docker_network:
name: postfix

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: create privatebin volume folders
file:
name: "{{ services.privatebin.volume_folder }}/{{ volume }}"

View file

@ -1,3 +1,5 @@
# vim: ft=yaml.ansible
---
- name: Create rallly volume folders
file:
name: "{{ services.rallly.volume_folder }}/postgres"

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Setup restic backup
docker_compose:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: watchtower container
docker_container:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: setup 2022.slides.data.coop website using unipi
docker_container:

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup cryptoaarhus.dk website docker container
docker_container:
name: cryptoaarhus_website

View file

@ -1,5 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup cryptohagen.dk website docker container
docker_container:
name: cryptohagen_website

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Upload vhost config for root domain
copy:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: setup new data.coop website using hugo
docker_container:

View file

@ -1,3 +1,5 @@
# vim: ft=yaml.ansible
---
- name: setup ulovliglogning.dk website docker container
docker_container:
name: ulovliglogning_website

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Install necessary packages via apt
apt:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Import dell apt signing key
apt_key:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Setup firewall with UFW
community.general.ufw:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- import_tasks: ssh-port.yml
tags: [change-ssh-port]

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: Change SSH port on host
lineinfile:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: update and upgrade system via apt
apt:

View file

@ -1,3 +1,4 @@
# vim: ft=yaml.ansible
---
- name: "Add users"
user: