Files @ 0255167ebb5e
Branch filter:

Location: majic-ansible-roles/roles/php_website/molecule/default/tests/test_default.py

branko
MAR-132: Fixed creation of test LDAP entries mail_server role tests:

- Do not use the ldap_entries option of the ldap_server role.
- Invoke the ldap_entry and ldap_attr modules directly.
1
2
3
4
5
6
7
import os

import testinfra.utils.ansible_runner


testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
    os.environ['MOLECULE_INVENTORY_FILE']).get_hosts(['all'])