2022-09-06 09:33:50 +00:00
|
|
|
# vim: set ft=yaml.ansible:
|
2022-07-26 11:09:13 +00:00
|
|
|
---
|
2022-09-12 14:07:14 +00:00
|
|
|
|
|
|
|
- name: "Prepare fixture for the functional tests"
|
2022-07-26 11:09:13 +00:00
|
|
|
hosts: all
|
|
|
|
gather_facts: true
|
|
|
|
vars_files:
|
|
|
|
- vars/go.yml
|
|
|
|
- vars/mysql.yml
|
|
|
|
- vars/postgres.yml
|
|
|
|
roles:
|
2022-09-12 14:07:14 +00:00
|
|
|
- name: make_fixture
|
|
|
|
environment:
|
|
|
|
PGHOST: 127.0.0.1
|
|
|
|
PGPORT: 5432
|
|
|
|
PGPASSWORD: "{{ postgresql_users[0].password }}"
|
|
|
|
PGUSER: postgres
|
|
|
|
MYSQL_HOST: localhost
|
|
|
|
MYSQL_PORT: 3306
|
|
|
|
MYSQL_PASSWORD: "{{ mysql_root_password }}"
|
|
|
|
MYSQL_USER: "root"
|