Render the template system wide, then apply. This way, the appdefinition.yml can contain everything that is required, and we don't have to specify this anymore in the main config
33 lines
921 B
YAML
33 lines
921 B
YAML
ppm_apps:
|
|
- on_server: ppm.pfoe.be
|
|
user: git
|
|
chicken_egg_appdefinition: ../forgejo/
|
|
appconfig:
|
|
restic:
|
|
url: "{{ lookup('file', 'passwords/ppm-forgejo-url') }}"
|
|
password: "{{ lookup('file', 'passwords/ppm-forgejo-password') }}"
|
|
backupname: "{{ lookup('file', 'passwords/ppm-forgejo-name') }}"
|
|
appinfo:
|
|
url: https://ppm.pfoe.be/ppm/forgejo.git
|
|
config:
|
|
publicurl: ppm.pfoe.be
|
|
|
|
- on_server: ppm.pfoe.be
|
|
user: nginx
|
|
chicken_egg_appdefinition: ../nginx/
|
|
appconfig:
|
|
appinfo:
|
|
url: https://ppm.pfoe.be/ppm/nginx.git
|
|
code:
|
|
type: localfiles
|
|
directory: nginx
|
|
|
|
- on_server: ppm.pfoe.be
|
|
user: runner
|
|
chicken_egg_appdefinition: ../forgejo-runner/
|
|
appconfig:
|
|
appinfo:
|
|
url: https://ppm.pfoe.be/ppm/forgejo-runner.git
|
|
code:
|
|
type: localfiles
|
|
directory: forgejo-runner
|