diff --git a/icinga2-ansible-no-ui/tasks/icinga2_Debian_install.yml b/icinga2-ansible-no-ui/tasks/icinga2_Debian_install.yml index 7ee143aa..fafa078f 100644 --- a/icinga2-ansible-no-ui/tasks/icinga2_Debian_install.yml +++ b/icinga2-ansible-no-ui/tasks/icinga2_Debian_install.yml @@ -1,7 +1,6 @@ --- - name: Install https for apt (Debian) apt: name=apt-transport-https state=present - when: ansible_distribution == 'Debian' - name: Get Icinga2 Apt Key for Debian OS family apt_key: url={{ icinga2_key }} @@ -11,7 +10,6 @@ - name: Get Debmon Apt Key for Debian OS family (Debian) apt_key: url={{ icinga2_debmon_key }} state=present - when: ansible_distribution == 'Debian' - name: Get Icinga2 Apt Repos for Debian OS family apt_repository: repo='{{ item.repo }}' @@ -24,7 +22,6 @@ apt_repository: repo='{{ icinga2_debmon_repo }}' update_cache=yes state=present - when: ansible_distribution == 'Debian' - name: Install Icinga2 on Debian OS family apt: pkg={{ item.package }}