Files @ c6e7675e63f9
Branch filter:

Location: majic-ansible-roles/testsite/playbooks/roles/phpinfo/meta/main.yml

branko
MAR-23: Implemented initial scaffolding for testing database role:

- Added Molecule configuration.
- Implemented basic playbook for setting-up the two instances used for testing
mandatory parameters and backups.
- Added data necessary for setting-up all roles.
- Updated database_serve role Molecule configuration not to depends on the
Ansible Galaxy.
---

dependencies:
  - role: php_website
    fqdn: phpinfo.{{ testsite_domain }}
    php_rewrite_urls:
      - ^(.*) /index.php
    admin_uid: 3000
    uid: 2000
    enforce_https: False
    https_tls_key: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.key') }}"
    https_tls_certificate: "{{ lookup('file', inventory_dir + '/tls/phpinfo.' + testsite_domain + '_https.pem') }}"
    additional_fpm_config:
      "env[PATH]": "\"/usr/local/bin:/usr/bin:/bin\""
  - role: database
    db_name: phpinfo_{{ testsite_domain_underscores }}
    db_password: phpinfo_{{ testsite_domain_underscores }}