From 6d64d2faa2f823fa9e5567fbadef2e308453920f Mon Sep 17 00:00:00 2001 From: Thom Toogood Date: Mon, 21 Dec 2015 17:32:08 +1100 Subject: [PATCH] Use boolean type for selenium_install_firefox. --- defaults/main.yml | 2 +- tasks/main.yml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/defaults/main.yml b/defaults/main.yml index babb4f3..2bb4280 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -2,4 +2,4 @@ # defaults file for selenium selenium_install_dir: /opt selenium_version: 2.46.0 -selenium_install_firefox: true +selenium_install_firefox: yes diff --git a/tasks/main.yml b/tasks/main.yml index 2bdbf84..3c1ac59 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -18,7 +18,7 @@ apt: name={{item}} with_items: - firefox - when: ansible_os_family == 'Debian' and selenium_install_firefox == 'true' + when: ansible_os_family == 'Debian' and selenium_install_firefox - name: Install browser Xvfb yum: name={{item}} @@ -30,7 +30,7 @@ yum: name={{item}} with_items: - firefox - when: ansible_os_family == 'RedHat' and selenium_install_firefox == 'true' + when: ansible_os_family == 'RedHat' and selenium_install_firefox - name: install