This commit is contained in:
Salt 2021-05-04 14:24:53 -05:00
parent 7484dce678
commit ba62f3318d
3 changed files with 0 additions and 97 deletions

View File

@ -1,9 +0,0 @@
# vim:ft=ansible:
db_server_host: 172.31.47.215
db_server_name: onlyoffice-9iron
db_server_user: onlyoffice-9iron
db_server_pass: "{{ secret_onlyoffice_9iron_db_pass }}"
cluster_mode: no
enable_ssl: no

View File

@ -1,41 +0,0 @@
# vim:ft=ansible:
dhcp_global_default_lease_time: 28800
dhcp_global_max_lease_time: 43200
dhcp_global_subnet_mask: 255.255.0.0
dhcp_global_broadcast_address: 192.168.255.255
dhcp_global_domain_name: desu.ltd
dhcp_global_domain_name_servers:
- 192.168.103.100
- 192.168.103.101
dhcp_global_routers: 192.168.1.1
dhcp_subnets:
- ip: 192.168.0.0
netmask: 255.255.0.0
pools:
- range_begin: 192.168.1.20
range_end: 192.168.1.254
routers: 192.168.1.1
failover_peer: failover-group
dhcp_hosts:
# 1 Catch-all guest subnet
- { name: router-nighthawk-1, mac: '10:0C:6B:5A:D9:40', ip: 192.168.1.1 }
- { name: switch-gs308epp-1, mac: '9C:C9:EB:E8:D9:B1', ip: 192.168.1.2 }
# 99 IoT trash
- { name: botnet-roku-1, mac: 'AC:AE:19:58:4B:8F', ip: 192.168.99.1 }
# 100 Others workstations
- { name: sad, mac: '44:A5:6E:42:D2:B9', ip: 192.168.100.1 }
# 101 My workstations
- { name: lap-s76-lemp9-0, mac: '18:56:80:54:77:61', ip: 192.168.101.1 }
- { name: dsk-ryzen-0, mac: '50:76:AF:DF:42:42', ip: 192.168.101.2 }
- { name: ph-flame-0, mac: 'A2:2D:5F:89:E2:AA', ip: 192.168.101.100 }
# 102 k8s cluster
- { name: pi-kub-master-1, mac: 'DC:A6:32:9F:B5:C6', ip: 192.168.102.1 }
- { name: pi-kub-node-2, mac: 'DC:A6:32:A0:14:40', ip: 192.168.102.11 }
- { name: pi-kub-node-3, mac: 'DC:A6:32:A0:13:E6', ip: 192.168.102.12 }
- { name: pi-kub-node-1, mac: 'DC:A6:32:A2:C6:71', ip: 192.168.102.10 }
# 103 Miscellaneous general-purpose
- { name: pi-storage-1, mac: 'DC:A6:32:A0:13:F6', ip: 192.168.103.1 }
- { name: pi-mp-1, mac: 'DC:A6:32:A2:C7:FC', ip: 192.168.103.100 }
- { name: pi-mp-2, mac: 'DC:A6:32:A2:C8:52', ip: 192.168.103.101 }
dhcp_interfaces:
- eth0

View File

@ -160,50 +160,3 @@
tags: [ web, apache ]
- role: certbot
tags: [ web, certbot ]
- hosts: game1.desu.ltd
vars_files:
- vars/apache.yml
- vars/php-fpm.yml
roles:
- role: certbot
vars:
certbot_admin_email: rehashedsalt@cock.li
certbot_create_if_missing: yes
certbot_create_method: standalone
certbot_create_standalone_stop_services:
- apache2
certbot_certs:
- domains:
- thefuck.how
- game1.desu.ltd
tags: [ web, certbot ]
- role: php
tags: [ web, php ]
- role: apache
vars:
apache_vhosts:
- servername: thefuck.how
extra_parameters: |
Redirect permanent / https://thefuck.how/
- servername: game1.desu.ltd
extra_parameters: |
Redirect permanent / https://thefuck.how/
apache_vhosts_ssl:
- servername: thefuck.how
documentroot: /var/www/thefuck.how
certificate_file: /etc/letsencrypt/live/thefuck.how/fullchain.pem
certificate_key_file: /etc/letsencrypt/live/thefuck.how/privkey.pem
certificate_chain_file: /etc/letsencrypt/live/thefuck.how/chain.pem
- servername: game1.desu.ltd
extra_parameters: |
Redirect permanent / https://thefuck.how/
certificate_file: /etc/letsencrypt/live/thefuck.how/fullchain.pem
certificate_key_file: /etc/letsencrypt/live/thefuck.how/privkey.pem
certificate_chain_file: /etc/letsencrypt/live/thefuck.how/chain.pem
tags: [ web, apache ]
- role: git
vars:
git_repos:
- repo: https://git.desu.ltd/salt/thefuckhow
dest: /var/www/thefuck.how
tags: [ web, git ]