From cf9f284f16a3890ad6d9355e544f194492a99d23 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bastian=20M=C3=A4user?= Date: Sun, 4 Feb 2018 18:34:22 +0100 Subject: [PATCH] Missing conditionals fixed --- roles/batman/tasks/main.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/roles/batman/tasks/main.yml b/roles/batman/tasks/main.yml index fe98b01..ddf648a 100644 --- a/roles/batman/tasks/main.yml +++ b/roles/batman/tasks/main.yml @@ -29,17 +29,20 @@ force=yes - name: Cook batman-adv-dkms + when: batman_dkms == true command: /usr/local/bin/fpm-cook args: chdir: /opt/ffnw-debian/batman-adv-dkms - name: Get cooked Debian Packages to List + when: batman_dkms == true shell: "find *.deb" register: pkg_list args: chdir: /opt/ffnw-debian/batman-adv-dkms/pkg - name: Install batman-adv-dkms + when: batman_dkms == true command: "/usr/bin/dpkg -i {{ item }}" args: chdir: /opt/ffnw-debian/batman-adv-dkms/pkg @@ -47,17 +50,20 @@ - "{{ pkg_list.stdout_lines }}" - name: Cook batctl + when: batman_dkms == true command: /usr/local/bin/fpm-cook args: chdir: /opt/ffnw-debian/batctl - name: Get cooked Debian Packages to List + when: batman_dkms == true shell: "find *.deb" register: pkg_list args: chdir: /opt/ffnw-debian/batctl/pkg - name: Install batctl + when: batman_dkms == true command: "/usr/bin/dpkg -i {{ item }}" args: chdir: /opt/ffnw-debian/batctl/pkg