diff --git a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml index 2e283e04e7..eae2975577 100644 --- a/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml +++ b/ansible/playbooks/AdoptOpenJDK_Unix_Playbook/roles/Docker/tasks/main.yml @@ -77,7 +77,7 @@ groups: docker append: yes state: present - when: ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or + when: ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "SLES" tags: jenkins @@ -87,8 +87,8 @@ groups: docker append: yes state: present - when: - - ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or + when: + - ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "SLES" - Nagios_Plugins == "Enabled" tags: docker @@ -98,6 +98,6 @@ name: docker state: started enabled: yes - when: ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or + when: ((ansible_distribution == "RedHat" or ansible_distribution == "CentOS") and (ansible_distribution_major_version >= "7")) or ansible_distribution == "Ubuntu" or ansible_distribution == "Debian" or ansible_distribution == "SLES" tags: docker