restrict rpm query to redhat

This commit is contained in:
Vijay Katam
2017-08-10 13:49:14 -07:00
parent 5efda3eda9
commit 7ad5523113
2 changed files with 2 additions and 2 deletions

View File

@@ -24,7 +24,7 @@ ExecStart={{ docker_bin_dir }}/docker daemon \
$DOCKER_NETWORK_OPTIONS \
$DOCKER_DNS_OPTIONS \
$INSECURE_REGISTRY
{% if systemd_version.stdout|int >= 226 %}
{% if ansible_os_family == "RedHat" and systemd_version.stdout|int >= 226 %}
TasksMax=infinity
{% endif %}
LimitNOFILE=1048576