fix molecule test setup
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
71f50a0095
commit
4d15e30f65
|
@ -39,10 +39,10 @@ gitea_disable_registration: "true"
|
|||
|
||||
gitea_postgres_enabled: False
|
||||
gitea_postgres_ssl_mode: disabled
|
||||
gitea_postgres_server: postgres.example.com
|
||||
gitea_postgres_server: "{{ inventory_hostname }}"
|
||||
gitea_postgres_port: 5432
|
||||
gitea_postgres_superuser: postgres
|
||||
gitea_postgres_password: secure
|
||||
gitea_postgres_password: postgres
|
||||
|
||||
gitea_postgres_db:
|
||||
name: gitea
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
---
|
||||
- name: Converge
|
||||
hosts: all
|
||||
vars:
|
||||
postgres_repository_enabled: True
|
||||
postgres_users:
|
||||
- name: "postgres"
|
||||
password: "postgres"
|
||||
role_attr_flags: SUPERUSER
|
||||
login_host: localhost
|
||||
state: present
|
||||
pam_user: True
|
||||
|
||||
roles:
|
||||
- role: xoxys.postgres
|
||||
- role: xoxys.gitea
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- src: https://gitea.rknet.org/ansible/xoxys.postgres.git
|
||||
name: xoxys.postgres
|
||||
scm: git
|
||||
version: master
|
|
@ -70,3 +70,4 @@
|
|||
no_log: True
|
||||
when: gitea_postgres_user is defined
|
||||
delegate_to: "{{ gitea_postgres_server }}"
|
||||
when: gitea_postgres_enabled | bool
|
||||
|
|
Loading…
Reference in New Issue