github.com/crowdsecurity/crowdsec@v1.6.1/test/ansible/run_tests.yml (about)

     1  # vim: set ft=yaml.ansible:
     2  ---
     3  
     4  - name: "Run functional tests"
     5    hosts: all
     6    gather_facts: true
     7    vars_files:
     8      - vars/mysql.yml
     9      - vars/postgres.yml
    10    roles:
    11      - name: run_func_tests
    12        environment:
    13          PGHOST: 127.0.0.1
    14          PGPORT: 5432
    15          PGPASSWORD: "{{ postgresql_users[0].password }}"
    16          PGUSER: postgres
    17          MYSQL_HOST: localhost
    18          MYSQL_PORT: 3306
    19          MYSQL_PASSWORD: "{{ mysql_root_password }}"
    20          MYSQL_USER: "root"