From 58a8f1ec442da9960f6e50107d1a255deb88e37d Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Fri, 8 Sep 2017 11:52:59 +0200 Subject: [PATCH] More ansible 2.x compatibility for the virtuoso role. --- virtuoso/tasks/virtuoso-conf.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/virtuoso/tasks/virtuoso-conf.yml b/virtuoso/tasks/virtuoso-conf.yml index 9edf4e0..523a478 100644 --- a/virtuoso/tasks/virtuoso-conf.yml +++ b/virtuoso/tasks/virtuoso-conf.yml @@ -6,19 +6,19 @@ - name: Set up the defaults file action: configfile path=/etc/default/virtuoso-opensource-{{ virtuoso_version }} key={{ item.key }} value="{{ item.value }}" syntax=shell - with_items: virtuoso_defaults + with_items: '{{ virtuoso_defaults }}' notify: Restart virtuoso tags: [ 'virtuoso', 'virtuoso_conf' ] - name: Set up the virtuoso ini file ini_file: dest=/etc/virtuoso-opensource-{{ virtuoso_version }}/virtuoso.ini section={{ item.section }} option={{ item.option }} value={{ item.value }} owner=root group=root mode=0444 - with_items: virtuoso_ini_opts + with_items: '{{ virtuoso_ini_opts }}' notify: Restart virtuoso tags: [ 'virtuoso', 'virtuoso_conf' ] - name: Set up the virtuoso ini file with additional options if there are any ini_file: dest=/etc/virtuoso-opensource-{{ virtuoso_version }}/virtuoso.ini section={{ item.section }} option={{ item.option }} value={{ item.value }} owner=root group=root mode=0444 - with_items: virtuoso_more_ini_opts + with_items: '{{ virtuoso_more_ini_opts }}' when: - virtuoso_set_more_ini_opts - virtuoso_more_ini_opts is defined