crowdsec/test/ansible/run_tests.yml

21 lines
475 B
YAML
Raw Normal View History

# vim: set ft=yaml.ansible:
---
- name: "Run functional tests"
hosts: all
gather_facts: true
vars_files:
- vars/mysql.yml
- vars/postgres.yml
roles:
- name: run_func_tests
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"