mirror of
https://github.com/Crocmagnon/ansible.git
synced 2024-12-04 21:13:38 +01:00
65 lines
3.6 KiB
YAML
65 lines
3.6 KiB
YAML
---
|
|
- name: Forgejo
|
|
hosts: servers
|
|
gather_facts: false
|
|
tasks:
|
|
- name: Docker
|
|
ansible.builtin.include_role:
|
|
name: docker
|
|
- name: Write app.ini
|
|
ansible.builtin.template:
|
|
src: templates/gitea_app.ini.j2
|
|
dest: "{{ dir }}/gitea_data/gitea/conf/app.ini"
|
|
mode: "0600"
|
|
notify:
|
|
- Restart service
|
|
|
|
vars:
|
|
docker_app_name: git
|
|
dir: /mnt/data/{{ docker_app_name }}
|
|
lfs_jwt_secret: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
34656631616165623233353835386162343837363230366136303764613334323262313233616462
|
|
6431363965646135343161373039333130666663613765660a343734656332323730633165376166
|
|
66323834326263336265303864653036343262336262376433373163666339666236363438363031
|
|
3632323362336433360a643537613336353434323631366262613839333931666435333563653737
|
|
62303161393435653735326338623162383432663964333436373539663434363737386161636535
|
|
3032313433633635636136656434626163393734306563333631
|
|
secret_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
35323938623166653161316430346664643063363366656461623333373764626439336335383538
|
|
6664346231326137313863623966343438333662383139360a373762346438636630363833653330
|
|
38323532663435643666306563353632653832366635626664373534383633346662353165363235
|
|
6263633436663661610a653335653730613832373836616231383135316262383438633938353133
|
|
34633231636331353864346637326535656538666662643965366232666265333332666362323034
|
|
65363435623366303937353337303131663138303935333562626461643332383434376364376537
|
|
66666436333261326336666130373934323138623233383038343563353132326231623264313565
|
|
32376463353631616234
|
|
internal_token: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
30666238373766633735626466393534646138616139326533363561373331653730663731626338
|
|
6139323230353139383638326639646534383463636266650a633737366632636262323938643531
|
|
33386236643234303365326430326436653830363561373334633461306161666439653833386432
|
|
6537343332313535340a643638346563663966383862646433636531316433343234356262653766
|
|
37356233323165633565636137653865373835663234343363313966346138636439303761646534
|
|
36393633636433376231353364386164336566386161376337366336396566333332623430646261
|
|
65663964383262633037663330646161663236613038626531636237376661633037313566366439
|
|
35643362653637663662666663393035653765306262376365386437393537623037633365333236
|
|
32303261313264363232643834313166656137316635356436343566343962663630
|
|
oauth_jwt_secret: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
66646361313538383161633932643062633336333436376564383836363762303738336638373865
|
|
6161326465386466326366383766633338623934396464610a643337363439663833363139366564
|
|
35316562643431616637623432363636623238303637366162393434346366393166313334653932
|
|
3637303230323733340a353038376631613238393363396363646339393961353430663561353831
|
|
32333435633565323064616463333863373132313164386462333934303434356334643938623334
|
|
3037366532373130393236666534653132343335366335633635
|
|
mailgun_key: !vault |
|
|
$ANSIBLE_VAULT;1.1;AES256
|
|
65363934663231343630323139393839383161333562376630653363646630393265326134646463
|
|
3735363064643138333332623736326638396332323664630a663230363230333138373430316361
|
|
35326166663361666437346631626235393133633833336166393366383832363466336635646237
|
|
6432653738303864300a623266363661616434393964333464366264326266356466646664363531
|
|
63666633376563316336326231313533343065376537313437393830633962313964613336323566
|
|
61393561333264366332353838326265343039653165393964313036626563626439616666343436
|
|
666235313435363835333664376237336439
|