Standardize string quotes in yaml
This commit is contained in:
parent
35bd63d12b
commit
1afc28ec17
38 changed files with 102 additions and 98 deletions
|
@ -1,2 +1,2 @@
|
||||||
user: jake
|
user: jake
|
||||||
home: "/home/{{ user }}"
|
home: /home/{{ user }}
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
wireguard:
|
wireguard:
|
||||||
public_ip: "{{ hosts.casey_ip }}"
|
public_ip: "{{ hosts.casey_ip }}"
|
||||||
port: 51820
|
port: 51820
|
||||||
cidr: "10.23.0.0/24"
|
cidr: 10.23.0.0/24
|
||||||
server:
|
server:
|
||||||
ip: "10.23.0.1"
|
ip: 10.23.0.1
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
38663861323433663733306266313862383538613562616531656262616665393130626564666539
|
38663861323433663733306266313862383538613562616531656262616665393130626564666539
|
||||||
|
@ -22,7 +22,7 @@ wireguard:
|
||||||
6432363064313239656338356630626235336239356662326362
|
6432363064313239656338356630626235336239356662326362
|
||||||
clients:
|
clients:
|
||||||
big-mike:
|
big-mike:
|
||||||
ip: "10.23.0.11"
|
ip: 10.23.0.11
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
37313230386134346632363731356132656634303330363662613538336638346538373366343863
|
37313230386134346632363731356132656634303330363662613538336638346538373366343863
|
||||||
|
@ -40,7 +40,7 @@ wireguard:
|
||||||
30623234306161313939363938333833353433366130306162633939663462313431383433643666
|
30623234306161313939363938333833353433366130306162633939663462313431383433643666
|
||||||
3736343161363735623964633362353939303133643439373138
|
3736343161363735623964633362353939303133643439373138
|
||||||
intersect:
|
intersect:
|
||||||
ip: "10.23.0.2"
|
ip: 10.23.0.2
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
36376136643534323433666161366363646630393165326264633266383535396362613461326631
|
36376136643534323433666161366363646630393165326264633266383535396362613461326631
|
||||||
|
@ -58,7 +58,7 @@ wireguard:
|
||||||
31366135353861313064343562353163326238373630346631613734303732666235613332653431
|
31366135353861313064343562353163326238373630346631613734303732666235613332653431
|
||||||
3866663137353330666539373861633836303839386331363366
|
3866663137353330666539373861633836303839386331363366
|
||||||
bartowski:
|
bartowski:
|
||||||
ip: "10.23.0.23"
|
ip: 10.23.0.23
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
65636435336562653438363866663238353065303132383633613539633738303461303838313332
|
65636435336562653438363866663238353065303132383633613539633738303461303838313332
|
||||||
|
@ -76,7 +76,7 @@ wireguard:
|
||||||
61623763306665636361643664383566373861363037386664626638666566623034633134626465
|
61623763306665636361643664383566373861363037386664626638666566623034633134626465
|
||||||
3831666130333133636536633539346431613863623330326430
|
3831666130333133636536633539346431613863623330326430
|
||||||
roark:
|
roark:
|
||||||
ip: "10.23.0.22"
|
ip: 10.23.0.22
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
65326261643165633130663436386230346166373962333738633535616165396238393862313565
|
65326261643165633130663436386230346166373962333738633535616165396238393862313565
|
||||||
|
@ -94,7 +94,7 @@ wireguard:
|
||||||
31386162316632373532323732643232323062646365643539306361666332306537663639383737
|
31386162316632373532323732643232323062646365643539306361666332306537663639383737
|
||||||
3466633363373566636335376132633439306562323161653764
|
3466633363373566636335376132633439306562323161653764
|
||||||
too-work:
|
too-work:
|
||||||
ip: "10.23.0.12"
|
ip: 10.23.0.12
|
||||||
public_key: !vault |
|
public_key: !vault |
|
||||||
$ANSIBLE_VAULT;1.1;AES256
|
$ANSIBLE_VAULT;1.1;AES256
|
||||||
30373835313966343962643864363333383537303964316234373031643635343231316264303034
|
30373835313966343962643864363333383537303964316234373031643635343231316264303034
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
- name: "Install Base Packages"
|
- name: Install Base Packages
|
||||||
apt:
|
apt:
|
||||||
name: "{{ item }}"
|
name: "{{ item }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -53,7 +53,7 @@ services:
|
||||||
gitea-cgit-adapter:
|
gitea-cgit-adapter:
|
||||||
image: theorangeone/gitea-cgit-adapter:latest
|
image: theorangeone/gitea-cgit-adapter:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
command: "/app/gitea-cgit-adapter /etc/gitea.ini /etc/cgit-repos.txt --interval 600"
|
command: /app/gitea-cgit-adapter /etc/gitea.ini /etc/cgit-repos.txt --interval 600
|
||||||
depends_on:
|
depends_on:
|
||||||
- gitea
|
- gitea
|
||||||
volumes:
|
volumes:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2.3'
|
version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
netdata:
|
netdata:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2.3'
|
version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
portainer:
|
portainer:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2.3'
|
version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
statping:
|
statping:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2.3'
|
version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
# e.g. matrix.org, localhost:8080, etc.
|
# e.g. matrix.org, localhost:8080, etc.
|
||||||
# This is also the last part of your UserID.
|
# This is also the last part of your UserID.
|
||||||
#
|
#
|
||||||
server_name: "theorangeone.net"
|
server_name: theorangeone.net
|
||||||
|
|
||||||
# When running as a daemon, the file to store the pid in
|
# When running as a daemon, the file to store the pid in
|
||||||
#
|
#
|
||||||
|
@ -524,7 +524,7 @@ acme:
|
||||||
|
|
||||||
database:
|
database:
|
||||||
# The database engine name
|
# The database engine name
|
||||||
name: "psycopg2"
|
name: psycopg2
|
||||||
# Arguments to pass to the engine
|
# Arguments to pass to the engine
|
||||||
args:
|
args:
|
||||||
user: synapse
|
user: synapse
|
||||||
|
@ -543,7 +543,7 @@ database:
|
||||||
# A yaml python logging config file as described by
|
# A yaml python logging config file as described by
|
||||||
# https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
|
# https://docs.python.org/3.7/library/logging.config.html#configuration-dictionary-schema
|
||||||
#
|
#
|
||||||
log_config: "/data/theorangeone.net.log.config"
|
log_config: /data/theorangeone.net.log.config
|
||||||
|
|
||||||
|
|
||||||
## Ratelimiting ##
|
## Ratelimiting ##
|
||||||
|
@ -635,7 +635,7 @@ log_config: "/data/theorangeone.net.log.config"
|
||||||
|
|
||||||
# Directory where uploaded images and attachments are stored.
|
# Directory where uploaded images and attachments are stored.
|
||||||
#
|
#
|
||||||
media_store_path: "/data/media_store"
|
media_store_path: /data/media_store
|
||||||
|
|
||||||
# Media storage providers allow media to be stored in different
|
# Media storage providers allow media to be stored in different
|
||||||
# locations.
|
# locations.
|
||||||
|
@ -654,7 +654,7 @@ media_store_path: "/data/media_store"
|
||||||
|
|
||||||
# Directory where in-progress uploads are stored.
|
# Directory where in-progress uploads are stored.
|
||||||
#
|
#
|
||||||
uploads_path: "/data/uploads"
|
uploads_path: /data/uploads
|
||||||
|
|
||||||
# The largest allowed upload size in bytes
|
# The largest allowed upload size in bytes
|
||||||
#
|
#
|
||||||
|
@ -1076,7 +1076,7 @@ form_secret: "{{ synapse.form_secret }}"
|
||||||
|
|
||||||
# Path to the signing key to sign messages with
|
# Path to the signing key to sign messages with
|
||||||
#
|
#
|
||||||
signing_key_path: "/data/theorangeone.net.signing.key"
|
signing_key_path: /data/theorangeone.net.signing.key
|
||||||
|
|
||||||
# The keys that the server used to sign messages with but won't use
|
# The keys that the server used to sign messages with but won't use
|
||||||
# to sign new messages. E.g. it has lost its private key
|
# to sign new messages. E.g. it has lost its private key
|
||||||
|
@ -1135,7 +1135,7 @@ signing_key_path: "/data/theorangeone.net.signing.key"
|
||||||
# - server_name: "my_other_trusted_server.example.com"
|
# - server_name: "my_other_trusted_server.example.com"
|
||||||
#
|
#
|
||||||
trusted_key_servers:
|
trusted_key_servers:
|
||||||
- server_name: "matrix.org"
|
- server_name: matrix.org
|
||||||
|
|
||||||
# Uncomment the following to disable the warning that is emitted when the
|
# Uncomment the following to disable the warning that is emitted when the
|
||||||
# trusted_key_servers include 'matrix.org'. See above.
|
# trusted_key_servers include 'matrix.org'. See above.
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
version: '2.3'
|
version: "2.3"
|
||||||
|
|
||||||
services:
|
services:
|
||||||
todoist-github:
|
todoist-github:
|
||||||
|
|
|
@ -12,30 +12,30 @@ http:
|
||||||
|
|
||||||
routers:
|
routers:
|
||||||
hsts:
|
hsts:
|
||||||
service: "ping@internal"
|
service: ping@internal
|
||||||
rule: "PathPrefix(`/`)"
|
rule: PathPrefix(`/`)
|
||||||
entryPoints:
|
entryPoints:
|
||||||
- web
|
- web
|
||||||
middlewares:
|
middlewares:
|
||||||
- hsts
|
- hsts
|
||||||
ping:
|
ping:
|
||||||
service: "ping@internal"
|
service: ping@internal
|
||||||
rule: "Host(`traefik.jakehoward.tech`) && Path(`/ping/`)"
|
rule: Host(`traefik.jakehoward.tech`) && Path(`/ping/`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- hsts
|
- hsts
|
||||||
tls:
|
tls:
|
||||||
certResolver: le
|
certResolver: le
|
||||||
dashboard:
|
dashboard:
|
||||||
service: "dashboard@internal"
|
service: dashboard@internal
|
||||||
rule: "Host(`traefik.jakehoward.tech`)"
|
rule: Host(`traefik.jakehoward.tech`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- hsts
|
- hsts
|
||||||
- internal-only
|
- internal-only
|
||||||
tls:
|
tls:
|
||||||
certResolver: le
|
certResolver: le
|
||||||
api:
|
api:
|
||||||
service: "api@internal"
|
service: api@internal
|
||||||
rule: "Host(`traefik.jakehoward.tech`) && PathPrefix(`/api`)"
|
rule: Host(`traefik.jakehoward.tech`) && PathPrefix(`/api`)
|
||||||
middlewares:
|
middlewares:
|
||||||
- hsts
|
- hsts
|
||||||
- internal-only
|
- internal-only
|
||||||
|
|
|
@ -20,7 +20,7 @@ ping:
|
||||||
|
|
||||||
providers:
|
providers:
|
||||||
docker:
|
docker:
|
||||||
endpoint: "unix:///var/run/docker.sock"
|
endpoint: unix:///var/run/docker.sock
|
||||||
watch: true
|
watch: true
|
||||||
exposedByDefault: false
|
exposedByDefault: false
|
||||||
file:
|
file:
|
||||||
|
@ -32,7 +32,7 @@ api:
|
||||||
certificatesResolvers:
|
certificatesResolvers:
|
||||||
le:
|
le:
|
||||||
acme:
|
acme:
|
||||||
email: "hosting@theorangeone.net"
|
email: hosting@theorangeone.net
|
||||||
storage: "/etc/traefik/acme.json"
|
storage: /etc/traefik/acme.json
|
||||||
httpChallenge:
|
httpChallenge:
|
||||||
entryPoint: web
|
entryPoint: web
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create calibre directory
|
- name: Create calibre directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/calibre'
|
path: /opt/calibre
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install calibre compose file
|
- name: Install calibre compose file
|
||||||
template:
|
template:
|
||||||
src: files/calibre/docker-compose.yml
|
src: files/calibre/docker-compose.yml
|
||||||
dest: "/opt/calibre/docker-compose.yml"
|
dest: /opt/calibre/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create duplicati directory
|
- name: Create duplicati directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/duplicati'
|
path: /opt/duplicati
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install duplicati compose file
|
- name: Install duplicati compose file
|
||||||
template:
|
template:
|
||||||
src: files/duplicati/docker-compose.yml
|
src: files/duplicati/docker-compose.yml
|
||||||
dest: "/opt/duplicati/docker-compose.yml"
|
dest: /opt/duplicati/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create emby directory
|
- name: Create emby directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/emby'
|
path: /opt/emby
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install emby compose file
|
- name: Install emby compose file
|
||||||
template:
|
template:
|
||||||
src: files/emby/docker-compose.yml
|
src: files/emby/docker-compose.yml
|
||||||
dest: "/opt/emby/docker-compose.yml"
|
dest: /opt/emby/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create foh directory
|
- name: Create foh directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/foh'
|
path: /opt/foh
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install foh compose file
|
- name: Install foh compose file
|
||||||
template:
|
template:
|
||||||
src: files/folding-at-home/docker-compose.yml
|
src: files/folding-at-home/docker-compose.yml
|
||||||
dest: "/opt/foh/docker-compose.yml"
|
dest: /opt/foh/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create gitea directory
|
- name: Create gitea directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/gitea'
|
path: /opt/gitea
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -11,14 +11,14 @@
|
||||||
|
|
||||||
- name: Create gitea config directory
|
- name: Create gitea config directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/gitea/gitea/gitea/conf'
|
path: /opt/gitea/gitea/gitea/conf
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Create cgit config directory
|
- name: Create cgit config directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/gitea/cgit'
|
path: /opt/gitea/cgit
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
- name: Install gitea compose file
|
- name: Install gitea compose file
|
||||||
template:
|
template:
|
||||||
src: files/gitea/docker-compose.yml
|
src: files/gitea/docker-compose.yml
|
||||||
dest: "/opt/gitea/docker-compose.yml"
|
dest: /opt/gitea/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -36,7 +36,7 @@
|
||||||
- name: Install gitea config file
|
- name: Install gitea config file
|
||||||
template:
|
template:
|
||||||
src: files/gitea/app.ini
|
src: files/gitea/app.ini
|
||||||
dest: "/opt/gitea/gitea/gitea/conf/app.ini"
|
dest: /opt/gitea/gitea/gitea/conf/app.ini
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: gitea_config_file
|
register: gitea_config_file
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
- name: Install cgit config file
|
- name: Install cgit config file
|
||||||
template:
|
template:
|
||||||
src: files/gitea/cgitrc
|
src: files/gitea/cgitrc
|
||||||
dest: "/opt/gitea/cgit/cgitrc"
|
dest: /opt/gitea/cgit/cgitrc
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: cgit_config_file
|
register: cgit_config_file
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create gotify directory
|
- name: Create gotify directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/gotify'
|
path: /opt/gotify
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install gotify compose file
|
- name: Install gotify compose file
|
||||||
template:
|
template:
|
||||||
src: files/gotify/docker-compose.yml
|
src: files/gotify/docker-compose.yml
|
||||||
dest: "/opt/gotify/docker-compose.yml"
|
dest: /opt/gotify/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create librespeed directory
|
- name: Create librespeed directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/librespeed'
|
path: /opt/librespeed
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install librespeed compose file
|
- name: Install librespeed compose file
|
||||||
template:
|
template:
|
||||||
src: files/librespeed/docker-compose.yml
|
src: files/librespeed/docker-compose.yml
|
||||||
dest: "/opt/librespeed/docker-compose.yml"
|
dest: /opt/librespeed/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create netdata directory
|
- name: Create netdata directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/netdata'
|
path: /opt/netdata
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install netdata compose file
|
- name: Install netdata compose file
|
||||||
template:
|
template:
|
||||||
src: files/netdata/docker-compose.yml
|
src: files/netdata/docker-compose.yml
|
||||||
dest: "/opt/netdata/docker-compose.yml"
|
dest: /opt/netdata/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create nextcloud directory
|
- name: Create nextcloud directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/nextcloud'
|
path: /opt/nextcloud
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install nextcloud compose file
|
- name: Install nextcloud compose file
|
||||||
template:
|
template:
|
||||||
src: files/nextcloud/docker-compose.yml
|
src: files/nextcloud/docker-compose.yml
|
||||||
dest: "/opt/nextcloud/docker-compose.yml"
|
dest: /opt/nextcloud/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- name: Create nextcloud config directory
|
- name: Create nextcloud config directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/nextcloud/nextcloud/config'
|
path: /opt/nextcloud/nextcloud/config
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
- name: Install nextcloud config
|
- name: Install nextcloud config
|
||||||
template:
|
template:
|
||||||
src: files/nextcloud/config.php
|
src: files/nextcloud/config.php
|
||||||
dest: "/opt/nextcloud/nextcloud/config/config.php"
|
dest: /opt/nextcloud/nextcloud/config/config.php
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: config_file
|
register: config_file
|
||||||
|
@ -38,7 +38,7 @@
|
||||||
- name: Install nextcloud custom nginx config
|
- name: Install nextcloud custom nginx config
|
||||||
template:
|
template:
|
||||||
src: files/nextcloud/default.conf
|
src: files/nextcloud/default.conf
|
||||||
dest: "/opt/nextcloud/nextcloud/nginx-default.conf"
|
dest: /opt/nextcloud/nextcloud/nginx-default.conf
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: nginx_config
|
register: nginx_config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create pihole directory
|
- name: Create pihole directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/pihole'
|
path: /opt/pihole
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install pihole compose file
|
- name: Install pihole compose file
|
||||||
template:
|
template:
|
||||||
src: files/pihole/docker-compose.yml
|
src: files/pihole/docker-compose.yml
|
||||||
dest: "/opt/pihole/docker-compose.yml"
|
dest: /opt/pihole/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
- name: Create dnsmasq directory
|
- name: Create dnsmasq directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/pihole/dnsmasq.d/'
|
path: /opt/pihole/dnsmasq.d/
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
@ -29,7 +29,7 @@
|
||||||
- name: Install dnsmasq hosts config
|
- name: Install dnsmasq hosts config
|
||||||
template:
|
template:
|
||||||
src: files/pihole/dnsmasq-vpn.conf
|
src: files/pihole/dnsmasq-vpn.conf
|
||||||
dest: "/opt/pihole/dnsmasq.d/02-vpn.conf"
|
dest: /opt/pihole/dnsmasq.d/02-vpn.conf
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: dnsmasq_vpn_hosts
|
register: dnsmasq_vpn_hosts
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create portainer directory
|
- name: Create portainer directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/portainer'
|
path: /opt/portainer
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install portainer compose file
|
- name: Install portainer compose file
|
||||||
template:
|
template:
|
||||||
src: files/portainer/docker-compose.yml
|
src: files/portainer/docker-compose.yml
|
||||||
dest: "/opt/portainer/docker-compose.yml"
|
dest: /opt/portainer/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create quassel directory
|
- name: Create quassel directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/quassel'
|
path: /opt/quassel
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install quassel compose file
|
- name: Install quassel compose file
|
||||||
template:
|
template:
|
||||||
src: files/quassel/docker-compose.yml
|
src: files/quassel/docker-compose.yml
|
||||||
dest: "/opt/quassel/docker-compose.yml"
|
dest: /opt/quassel/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Install docker-compose
|
- name: Install docker-compose
|
||||||
apt:
|
apt:
|
||||||
name: "docker-compose"
|
name: docker-compose
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Create docker user
|
- name: Create docker user
|
||||||
|
@ -14,7 +14,7 @@
|
||||||
cron:
|
cron:
|
||||||
name: clean up docker containers
|
name: clean up docker containers
|
||||||
special_time: weekly
|
special_time: weekly
|
||||||
job: "docker system prune"
|
job: docker system prune
|
||||||
|
|
||||||
- name: Install util scripts
|
- name: Install util scripts
|
||||||
copy:
|
copy:
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create statping directory
|
- name: Create statping directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/statping'
|
path: /opt/statping
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install statping compose file
|
- name: Install statping compose file
|
||||||
template:
|
template:
|
||||||
src: files/statping/docker-compose.yml
|
src: files/statping/docker-compose.yml
|
||||||
dest: "/opt/statping/docker-compose.yml"
|
dest: /opt/statping/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create synapse directory
|
- name: Create synapse directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/synapse'
|
path: /opt/synapse
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install synapse compose file
|
- name: Install synapse compose file
|
||||||
template:
|
template:
|
||||||
src: files/synapse/docker-compose.yml
|
src: files/synapse/docker-compose.yml
|
||||||
dest: "/opt/synapse/docker-compose.yml"
|
dest: /opt/synapse/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
- name: Install synapse config
|
- name: Install synapse config
|
||||||
template:
|
template:
|
||||||
src: files/synapse/homeserver.yml
|
src: files/synapse/homeserver.yml
|
||||||
dest: "/opt/synapse/homeserver.yaml"
|
dest: /opt/synapse/homeserver.yaml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: homeserver_config
|
register: homeserver_config
|
||||||
|
@ -42,6 +42,6 @@
|
||||||
|
|
||||||
- name: Install helper scripts
|
- name: Install helper scripts
|
||||||
git:
|
git:
|
||||||
repo: "https://github.com/xwiki-labs/synapse_scripts"
|
repo: https://github.com/xwiki-labs/synapse_scripts
|
||||||
dest: /opt/synapse/synapse_scripts
|
dest: /opt/synapse/synapse_scripts
|
||||||
force: true
|
force: true
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create todoist-github directory
|
- name: Create todoist-github directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/todoist-github'
|
path: /opt/todoist-github
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install todoist-github compose file
|
- name: Install todoist-github compose file
|
||||||
template:
|
template:
|
||||||
src: files/todoist-github/docker-compose.yml
|
src: files/todoist-github/docker-compose.yml
|
||||||
dest: "/opt/todoist-github/docker-compose.yml"
|
dest: /opt/todoist-github/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create torrent directory
|
- name: Create torrent directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/torrent'
|
path: /opt/torrent
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install torrent compose file
|
- name: Install torrent compose file
|
||||||
template:
|
template:
|
||||||
src: files/torrent/docker-compose.yml
|
src: files/torrent/docker-compose.yml
|
||||||
dest: "/opt/torrent/docker-compose.yml"
|
dest: /opt/torrent/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create traefik directory
|
- name: Create traefik directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/traefik'
|
path: /opt/traefik
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -8,7 +8,7 @@
|
||||||
|
|
||||||
- name: Create traefik config directory
|
- name: Create traefik config directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/traefik/traefik'
|
path: /opt/traefik/traefik
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
@ -16,7 +16,7 @@
|
||||||
- name: Install traefik compose file
|
- name: Install traefik compose file
|
||||||
template:
|
template:
|
||||||
src: files/traefik/docker-compose.yml
|
src: files/traefik/docker-compose.yml
|
||||||
dest: "/opt/traefik/docker-compose.yml"
|
dest: /opt/traefik/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
- name: Install traefik config
|
- name: Install traefik config
|
||||||
template:
|
template:
|
||||||
src: files/traefik/traefik.yml
|
src: files/traefik/traefik.yml
|
||||||
dest: "/opt/traefik/traefik/traefik.yml"
|
dest: /opt/traefik/traefik/traefik.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: config_file
|
register: config_file
|
||||||
|
@ -35,7 +35,7 @@
|
||||||
- name: Install traefik file provider
|
- name: Install traefik file provider
|
||||||
template:
|
template:
|
||||||
src: files/traefik/file-provider.yml
|
src: files/traefik/file-provider.yml
|
||||||
dest: "/opt/traefik/traefik/file-provider.yml"
|
dest: /opt/traefik/traefik/file-provider.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: file_provider
|
register: file_provider
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create tt-rss directory
|
- name: Create tt-rss directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/tt-rss'
|
path: /opt/tt-rss
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install tt-rss compose file
|
- name: Install tt-rss compose file
|
||||||
template:
|
template:
|
||||||
src: files/tt-rss/docker-compose.yml
|
src: files/tt-rss/docker-compose.yml
|
||||||
dest: "/opt/tt-rss/docker-compose.yml"
|
dest: /opt/tt-rss/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -18,7 +18,7 @@
|
||||||
|
|
||||||
- name: Create tt-rss config directory
|
- name: Create tt-rss config directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/tt-rss/config'
|
path: /opt/tt-rss/config
|
||||||
state: directory
|
state: directory
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
become: true
|
become: true
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
- name: Install tt-rss config
|
- name: Install tt-rss config
|
||||||
template:
|
template:
|
||||||
src: files/tt-rss/config.php
|
src: files/tt-rss/config.php
|
||||||
dest: "/opt/tt-rss/config/config.php"
|
dest: /opt/tt-rss/config/config.php
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
register: config_file
|
register: config_file
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create wallabag directory
|
- name: Create wallabag directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/wallabag'
|
path: /opt/wallabag
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install wallabag compose file
|
- name: Install wallabag compose file
|
||||||
template:
|
template:
|
||||||
src: files/wallabag/docker-compose.yml
|
src: files/wallabag/docker-compose.yml
|
||||||
dest: "/opt/wallabag/docker-compose.yml"
|
dest: /opt/wallabag/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create watchtower directory
|
- name: Create watchtower directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/watchtower'
|
path: /opt/watchtower
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install watchtower compose file
|
- name: Install watchtower compose file
|
||||||
template:
|
template:
|
||||||
src: files/watchtower/docker-compose.yml
|
src: files/watchtower/docker-compose.yml
|
||||||
dest: "/opt/watchtower/docker-compose.yml"
|
dest: /opt/watchtower/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
- name: Create whoami directory
|
- name: Create whoami directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/whoami'
|
path: /opt/whoami
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
- name: Install whoami compose file
|
- name: Install whoami compose file
|
||||||
template:
|
template:
|
||||||
src: files/whoami/docker-compose.yml
|
src: files/whoami/docker-compose.yml
|
||||||
dest: "/opt/whoami/docker-compose.yml"
|
dest: /opt/whoami/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
- name: Create yourls directory
|
- name: Create yourls directory
|
||||||
file:
|
file:
|
||||||
path: '/opt/yourls'
|
path: /opt/yourls
|
||||||
state: directory
|
state: directory
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
mode: "{{ docker_compose_directory_mask }}"
|
mode: "{{ docker_compose_directory_mask }}"
|
||||||
|
@ -12,7 +12,7 @@
|
||||||
- name: Install yourls compose file
|
- name: Install yourls compose file
|
||||||
template:
|
template:
|
||||||
src: files/yourls/docker-compose.yml
|
src: files/yourls/docker-compose.yml
|
||||||
dest: "/opt/yourls/docker-compose.yml"
|
dest: /opt/yourls/docker-compose.yml
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
owner: "{{ docker_user.name }}"
|
owner: "{{ docker_user.name }}"
|
||||||
validate: /usr/bin/docker-compose -f %s config
|
validate: /usr/bin/docker-compose -f %s config
|
||||||
|
@ -22,7 +22,7 @@
|
||||||
- name: Install yourls index
|
- name: Install yourls index
|
||||||
template:
|
template:
|
||||||
src: files/yourls/index.html
|
src: files/yourls/index.html
|
||||||
dest: "/opt/yourls/index.html"
|
dest: /opt/yourls/index.html
|
||||||
mode: "{{ docker_compose_file_mask }}"
|
mode: "{{ docker_compose_file_mask }}"
|
||||||
register: config_file
|
register: config_file
|
||||||
become: true
|
become: true
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
lineinfile:
|
lineinfile:
|
||||||
path: /etc/apt/sources.list.d/unstable.list
|
path: /etc/apt/sources.list.d/unstable.list
|
||||||
state: present
|
state: present
|
||||||
line: 'deb http://deb.debian.org/debian/ unstable main'
|
line: deb http://deb.debian.org/debian/ unstable main
|
||||||
register: install_unstable_apt
|
register: install_unstable_apt
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
-r requirements.txt
|
-r requirements.txt
|
||||||
ansible-lint==4.2.0
|
ansible-lint==4.2.0
|
||||||
yamllint==1.20.0
|
yamllint==1.21.0
|
||||||
|
|
|
@ -2,9 +2,13 @@ extends: default
|
||||||
|
|
||||||
ignore: |
|
ignore: |
|
||||||
galaxy_roles
|
galaxy_roles
|
||||||
|
ansible/group_vars/all/hosts.yml
|
||||||
|
|
||||||
rules:
|
rules:
|
||||||
document-start: "disable"
|
document-start: "disable"
|
||||||
truthy: "disable"
|
truthy: "disable"
|
||||||
|
quoted-strings:
|
||||||
|
quote-type: double
|
||||||
|
required: only-when-needed
|
||||||
line-length:
|
line-length:
|
||||||
max: 150
|
max: 150
|
||||||
|
|
Loading…
Reference in a new issue