Initial commit
This commit is contained in:
40
defaults/main.yaml
Normal file
40
defaults/main.yaml
Normal file
@@ -0,0 +1,40 @@
|
||||
---
|
||||
app_dir: "{{ host_root_path }}/{{ app_name }}"
|
||||
app_uid: "{{ ansible_facts.user_uid }}"
|
||||
app_gid: "{{ ansible_facts.user_gid }}"
|
||||
app_permission_mode: "0640"
|
||||
app_restart_policy: unless-stopped
|
||||
|
||||
app_backup_path: "{{ backup_path }}/{{ app_name }}"
|
||||
app_backup_path_remote: "{{ app_dir }}/backups"
|
||||
app_backup: false
|
||||
app_backup_subdirectories: []
|
||||
app_backup_stop_services: true
|
||||
app_backup_retention_days_controller: 90
|
||||
app_backup_retention_days_remote: 7
|
||||
app_restore: false
|
||||
app_restore_source: controller
|
||||
app_restore_max_age_days: 30
|
||||
app_compose_dest: "{{ app_dir }}/docker-compose.yml"
|
||||
|
||||
app_compose_validate: true
|
||||
app_compose_pull: policy
|
||||
app_compose_recreate: auto
|
||||
app_compose_start: true
|
||||
|
||||
app_health_check: true
|
||||
app_health_check_method: docker
|
||||
app_health_check_retries: 30
|
||||
app_health_check_delay: 10
|
||||
app_health_check_status_codes: [200, 201, 202]
|
||||
|
||||
app_templates_path: "{{ app_roles_path + '/' + app_role_name }}/templates"
|
||||
app_compose_template: "{{ app_templates_path }}/compose.yml.j2"
|
||||
|
||||
app_subdirectories: []
|
||||
# - config
|
||||
# - data
|
||||
|
||||
app_extra_templates: []
|
||||
# - src: path/to/template/config.json.j2
|
||||
# dest: "{{ app_dir }}/config.json"
|
||||
Reference in New Issue
Block a user