diff --git a/ansible/inventory/hosts.yml b/ansible/inventory/hosts.yml index 7724edb..39970a3 100644 --- a/ansible/inventory/hosts.yml +++ b/ansible/inventory/hosts.yml @@ -3,7 +3,7 @@ all: dockerhosts: hosts: awful-1.awful.club: - ansible_python_interpreter: /usr/local/bin/python3.7 + ansible_python_interpreter: python3 home: hosts: hatchery.home.jowj.net: diff --git a/ansible/roles/awfulAll/files/favicon-16x16.png b/ansible/roles/awfulAll/files/favicon-16x16.png new file mode 100644 index 0000000..d65d5cc Binary files /dev/null and b/ansible/roles/awfulAll/files/favicon-16x16.png differ diff --git a/ansible/roles/awfulAll/files/favicon-32x32.png b/ansible/roles/awfulAll/files/favicon-32x32.png new file mode 100644 index 0000000..9eef4f9 Binary files /dev/null and b/ansible/roles/awfulAll/files/favicon-32x32.png differ diff --git a/ansible/roles/awfulAll/files/favicon.ico b/ansible/roles/awfulAll/files/favicon.ico new file mode 100644 index 0000000..287a8cb Binary files /dev/null and b/ansible/roles/awfulAll/files/favicon.ico differ diff --git a/ansible/roles/awfulAll/files/purple-bat-nobg.png b/ansible/roles/awfulAll/files/purple-bat-nobg.png new file mode 100644 index 0000000..0b044cb Binary files /dev/null and b/ansible/roles/awfulAll/files/purple-bat-nobg.png differ diff --git a/ansible/roles/awfulAll/files/purple-bat-nobg.svg b/ansible/roles/awfulAll/files/purple-bat-nobg.svg new file mode 100644 index 0000000..8176806 --- /dev/null +++ b/ansible/roles/awfulAll/files/purple-bat-nobg.svg @@ -0,0 +1,3 @@ + + + \ No newline at end of file diff --git a/ansible/roles/awfulAll/tasks/main.yml b/ansible/roles/awfulAll/tasks/main.yml index 0741aaf..147efad 100644 --- a/ansible/roles/awfulAll/tasks/main.yml +++ b/ansible/roles/awfulAll/tasks/main.yml @@ -31,6 +31,10 @@ groups=docker append=yes +- name: install python packages + pip: + name: ["jsondiff", "docker"] + - name: Init a new swarm with default parameters docker_swarm: state: present @@ -39,10 +43,6 @@ 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/' ] -- name: allow for pretty json errors - pip: - name: jsondiff - # Update the app git repos - name: update the mojo git repo git: @@ -70,7 +70,19 @@ with_items: - {src: 'awful-compose.yml', dest: '/home/josiah/apps/awful/docker-compose.yml'} - {src: 'traefik.yml', dest: '/home/josiah/apps/awful/traefik.yml'} - - {src: 'awful.club.html', dest: '/home/josiah/apps/awful/awful.club.html'} + - {src: 'awful.club.html', dest: '/home/josiah/apps/awful/awful.club.html'} + +- name: make sure that my custom gitea shit is there + copy: + src: "{{ item.src }}" + dest: "{{ item.dest }}" + mode: 0644 + with_items: + - {src: 'favicon.ico', dest: '/mnt/volume_sfo2_01/gitea/gitea/public/img'} + - {src: 'favicon-16x16.png', dest: '/mnt/volume_sfo2_01/gitea/gitea/public/img'} + - {src: 'favicon-32x32.png', dest: '/mnt/volume_sfo2_01/gitea/gitea/public/img'} + - {src: 'purple-bat-nobg.png', dest: '/mnt/volume_sfo2_01/gitea/gitea/public/img/gitea-lg.png'} + - {src: 'purple-bat-nobg.svg', dest: '/mnt/volume_sfo2_01/gitea/gitea/public/img/logo.svg'} - name: Deploy awful stack docker_stack: