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

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