Fix sshd_manage_var_run check

This commit is contained in:
Aleksandr Kostyrev 2015-08-12 23:29:51 +03:00
parent 445261a297
commit 7daa715bde

View file

@ -8,7 +8,7 @@ sshd_manage_service: "{{ false if ansible_virtualization_type == 'docker' else t
# If the below is false, don't reload the ssh deamon on change
sshd_allow_reload: "{{ sshd_manage_service }}"
# If the below is false, don't manage /var/run/sshd directory
sshd_manage_var_run: "{{ false if ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7' }}"
sshd_manage_var_run: "{{ false if ansible_os_family == 'RedHat' and ansible_distribution_major_version == '7' else true }}"
# Empty dicts to avoid errors
sshd: {}