Make awfullall deploy work on debian 11.
Big annoyance with nginx here, because all my past decisions are terrible.
This commit is contained in:
parent
4d045744ff
commit
e3de8e7250
@ -43,25 +43,6 @@
|
|||||||
file: state=directory path={{ item }} owner=josiah group=josiah mode=0700
|
file: state=directory path={{ item }} owner=josiah group=josiah mode=0700
|
||||||
loop: [ '/home/josiah/apps/mojo/', '/home/josiah/apps/arke/', '/home/josiah/apps/znc/', '/home/josiah/apps/awful/' ]
|
loop: [ '/home/josiah/apps/mojo/', '/home/josiah/apps/arke/', '/home/josiah/apps/znc/', '/home/josiah/apps/awful/' ]
|
||||||
|
|
||||||
# Update the app git repos
|
|
||||||
- name: update the mojo git repo
|
|
||||||
git:
|
|
||||||
repo: 'https://git.awful.club/hosted/mojojojo-bot.git'
|
|
||||||
dest: /home/josiah/apps/mojo/
|
|
||||||
version: master
|
|
||||||
|
|
||||||
- name: update the arke git repo
|
|
||||||
git:
|
|
||||||
repo: 'https://git.awful.club/hosted/arke.git'
|
|
||||||
dest: /home/josiah/apps/arke/
|
|
||||||
version: master
|
|
||||||
|
|
||||||
- name: update the znc git repo
|
|
||||||
git:
|
|
||||||
repo: 'https://git.awful.club/hosted/znc-docker.git'
|
|
||||||
dest: /home/josiah/apps/znc/
|
|
||||||
version: master
|
|
||||||
|
|
||||||
- name: copy over awful-All config files
|
- name: copy over awful-All config files
|
||||||
template:
|
template:
|
||||||
src: "{{ item.src }}"
|
src: "{{ item.src }}"
|
||||||
|
@ -49,9 +49,12 @@ services:
|
|||||||
pubnet:
|
pubnet:
|
||||||
|
|
||||||
nginx:
|
nginx:
|
||||||
image: nginx:1.17.10
|
image: nginx:1.18
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/nginx/:/etc/nginx/
|
- /etc/nginx/sites-available:/etc/nginx/sites-available
|
||||||
|
- /etc/nginx/sites-enabled:/etc/nginx/sites-enabled
|
||||||
|
- /etc/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
- /etc/nginx/conf.d:/etc/nginx/conf.d
|
||||||
- /etc/letsencrypt/:/etc/letsencrypt/
|
- /etc/letsencrypt/:/etc/letsencrypt/
|
||||||
- /home/josiah/apps/awful/awful.club.html:/var/www/awful.club/html/index.html
|
- /home/josiah/apps/awful/awful.club.html:/var/www/awful.club/html/index.html
|
||||||
- nginx_logs:/log
|
- nginx_logs:/log
|
||||||
|
@ -1 +1 @@
|
|||||||
sys_packages: [ 'curl', 'vim', 'git', 'emacs', 'build-essential', 'mosh', 'python', 'python3-pip' ]
|
sys_packages: [ 'curl', 'vim', 'git', 'emacs', 'build-essential', 'mosh', 'python3', 'python3-pip' ]
|
||||||
|
Loading…
Reference in New Issue
Block a user