From 352c1a283893ea3f4a37e6593b4c8f15f0a0cc6a Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Tue, 10 Nov 2015 21:08:25 +0000 Subject: [PATCH] think we need and here. --- roles/base/tasks/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/base/tasks/main.yml b/roles/base/tasks/main.yml index d52053d29e..a56e3567b3 100644 --- a/roles/base/tasks/main.yml +++ b/roles/base/tasks/main.yml @@ -358,7 +358,7 @@ - packages - watchdog - base - when: ansible_distribution_major_version|int < 22 && env == 'staging' + when: ansible_distribution_major_version|int < 22 and env == 'staging' - name: install watchdog dnf: pkg={{ item }} state=present @@ -368,7 +368,7 @@ - packages - watchdog - base - when: ansible_distribution_major_version|int > 21 && env == 'staging' + when: ansible_distribution_major_version|int > 21 and env == 'staging' - name: watchdog device configuration copy: src=watchdog.conf dest=/etc/watchdog.conf owner=root group=root mode=644