dalab-django/setup.yaml
2023-03-09 18:02:25 +03:00

21 lines
692 B
YAML

- name: Setup the server
hosts: all
become: true
vars:
- postgresql_hba_entries:
- { type: local, database: all, user: postgres, auth_method: trust }
- { type: local, database: all, user: all, auth_method: trust }
- { type: host, database: all, user: all, address: '127.0.0.1/32', auth_method: md5 }
- { type: host, database: all, user: all, address: '::1/128', auth_method: md5 }
- python_versions:
- python3.11
- nginx_unit_enable: true
- nginx_unit_modules:
- unit-python3.10
roles:
- { role: software }
- { role: nginx }
- { role: geerlingguy.postgresql }
- { role: python3 }
- { role: nginxinc.nginx_unit }