marcel: Add marcel's blog service

This commit is contained in:
Kacper Donat 2023-02-12 16:01:45 +01:00
parent 43b3caa31e
commit 3d731b29c5
2 changed files with 21 additions and 0 deletions

View File

@ -15,6 +15,7 @@ mysql_databases:
- name: shitcode
- name: cojedzie-next
- name: cojedzie
- name: marcelchefmonsieur
mysql_users:
- name: gitea
@ -90,5 +91,16 @@ mysql_users:
3662646135666461310a353561383261313130623132636366363264393639613963386162613330
31303239636231636633366530333530643063303434623763363731616635663639636135316666
3737323335303065376633356238303961323331396666366636
- name: marcelchefmonsieur
priv: marcelchefmonsieur.*:ALL
host: "172.%"
password: !vault |
$ANSIBLE_VAULT;1.1;AES256
61343731393737383031356234633063386434396639623365326137643033653565626465653534
6139343835626266356161616464373631646230303531340a656634346132393532366265393537
66346138666133333330323764633738383536616437646133646239303266613934653231383762
6135343532633333330a316338613733303165666237623434343365343866383533633934303462
38623733306137336335633135386538343062346439623765343137333963636436383465316163
6336356566316135333037653739663264313566323164646232
mysql_user_passwords: "{{ mysql_users|items2dict(key_name='name', value_name='password') }}"

View File

@ -65,6 +65,15 @@ service_config:
name: gitea
user: gitea
password: "{{ mysql_user_passwords['gitea'] }}"
marcel:
template: wordpress
traefik_routing_rule: Host(`marcelchefmonsieur.kadet.net`)
wordpress_db_name: marcelchefmonsieur
wordpress_db_user: marcelchefmonsieur
legacy:
www_data_users: ["{{ ansible_user }}"]