File diff 663c02da41b8 → 398dcbce5d84
roles/php_website/molecule/default/tests/test_parameters_mandatory.py
Show inline comments
 
@@ -137,12 +137,7 @@ def test_php_fpm_configuration_file(host):
 
    Tests if PHP FPM configuration file has been correctly deployed.
 
    """
 

	
 
    ansible_facts = host.ansible("setup")["ansible_facts"]
 

	
 
    if ansible_facts['ansible_distribution_release'] == 'jessie':
 
        config_file_path = '/etc/php5/fpm/pool.d/parameters-mandatory.conf'
 
    elif ansible_facts['ansible_distribution_release'] == 'stretch':
 
        config_file_path = '/etc/php/7.0/fpm/pool.d/parameters-mandatory.conf'
 
    config_file_path = '/etc/php/7.0/fpm/pool.d/parameters-mandatory.conf'
 

	
 
    with host.sudo():