mirror of
https://github.com/Crocmagnon/ansible.git
synced 2025-02-22 20:01:23 +01:00
remove display.augendre.info
This commit is contained in:
parent
2306858a77
commit
b890643337
5 changed files with 1 additions and 43 deletions
|
@ -4,7 +4,6 @@
|
|||
- import_playbook: charasheet.yaml # noqa: name[play]
|
||||
- import_playbook: checkout.yaml # noqa: name[play]
|
||||
- import_playbook: code.yaml # noqa: name[play]
|
||||
- import_playbook: display.yaml # noqa: name[play]
|
||||
- import_playbook: ghost.yaml # noqa: name[play]
|
||||
- import_playbook: git.yaml # noqa: name[play]
|
||||
- import_playbook: goatcounter.yaml # noqa: name[play]
|
||||
|
|
|
@ -1,24 +0,0 @@
|
|||
---
|
||||
- name: Display
|
||||
hosts: servers
|
||||
gather_facts: false
|
||||
tasks:
|
||||
- name: Fix git config
|
||||
community.general.git_config:
|
||||
scope: global
|
||||
name: merge.conflictstyle
|
||||
value: diff3
|
||||
- name: Pull git repo
|
||||
ansible.builtin.git:
|
||||
executable: /usr/bin/git
|
||||
repo: https://git.augendre.info/gaugendre/display.git
|
||||
dest: "{{ dir }}/sources"
|
||||
version: HEAD # noqa: latest[git] # we want the latest revision
|
||||
- name: Docker
|
||||
ansible.builtin.include_role:
|
||||
name: docker
|
||||
|
||||
vars:
|
||||
docker_app_name: display
|
||||
docker_build: always
|
||||
dir: /mnt/data/{{ docker_app_name }}
|
|
@ -258,12 +258,7 @@ nextcloud-kibana.augendre.info {
|
|||
reverse_proxy localhost:9009
|
||||
}
|
||||
|
||||
display.augendre.info {
|
||||
import common_headers
|
||||
import internal
|
||||
header Content-Security-Policy "default-src 'self' https://*.augendre.info; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; frame-ancestors https://*.augendre.info; connect-src 'self' https://*.augendre.info https://download.data.grandlyon.com"
|
||||
reverse_proxy localhost:9010
|
||||
}
|
||||
# port 9010 is available
|
||||
|
||||
aio.augendre.info {
|
||||
import common_headers
|
||||
|
|
|
@ -1,9 +0,0 @@
|
|||
services:
|
||||
app:
|
||||
build:
|
||||
context: sources
|
||||
restart: always
|
||||
labels:
|
||||
- "com.centurylinklabs.watchtower.enable=false"
|
||||
ports:
|
||||
- "127.0.0.1:9010:80"
|
|
@ -1,3 +0,0 @@
|
|||
#!/bin/bash
|
||||
git -C ./sources pull
|
||||
docker compose --ansi never up -d --build
|
Loading…
Add table
Reference in a new issue