diff --git a/postgresql/defaults/main.yml b/postgresql/defaults/main.yml index 0b901f63..14f324b6 100644 --- a/postgresql/defaults/main.yml +++ b/postgresql/defaults/main.yml @@ -39,9 +39,9 @@ psql_sysctl_kernel_sharedmem_parameters: - { name: 'kernel.shmall', value: '2097152' } postgresql_pkgs: - - postgresql-'{{ psql_version }}' - - postgresql-contrib-'{{ psql_version }}' - - postgresql-client-'{{ psql_version }}' + - 'postgresql-{{ psql_version }}' + - 'postgresql-contrib-{{ psql_version }}' + - 'postgresql-client-{{ psql_version }}' - pgtop psql_db_name: db_name @@ -52,7 +52,7 @@ psql_db_pwd: "We cannot save the password into the repository. Use another varia postgres_install_gis_extensions: False postgres_gis_version: 2.1 postgres_gis_pkgs: - - postgresql-'{{ psql_version }}'-postgis-'{{ postgres_gis_version }}' + - 'postgresql-{{ psql_version }}-postgis-{{ postgres_gis_version }}' pg_backup_enabled: True diff --git a/tomcat/defaults/main.yml b/tomcat/defaults/main.yml index 0b271416..04c7d123 100644 --- a/tomcat/defaults/main.yml +++ b/tomcat/defaults/main.yml @@ -3,9 +3,9 @@ tomcat_version: 7 tomcat_pkg_state: installed tomcat_service_enabled: True tomcat_pkgs: - - tomcat'{{ tomcat_version }}' - - libtomcat'{{ tomcat_version }}'-java - - tomcat'{{ tomcat_version }}'-common + - 'tomcat{{ tomcat_version }}' + - 'libtomcat{{ tomcat_version }}-java' + - 'tomcat{{ tomcat_version }}-common' - libapr1 tomcat_user: tomcat7 tomcat_max_threads: 200 @@ -31,7 +31,7 @@ tomcat_ajp_address: 127.0.0.1 # Disable the shutdown port by default #tomcat_shutdown_port: 8005 tomcat_shutdown_port: -1 -tomcat_shutdown_pwd: "{{ lookup('password', '/tmp/passwordfile chars=ascii_letters,digits,hexdigits,punctuation') }}" +tomcat_shutdown_pwd: "{{ lookup('password', '/tmp/passwordfile chars=ascii_letters,digits,hexdigits') }}" tomcat_restart_timeout: 300 tomcat_catalina_home_dir: '/usr/share/tomcat{{ tomcat_version }}' tomcat_catalina_base_dir: '/var/lib/tomcat{{ tomcat_version }}' diff --git a/tomcat/tasks/tomcat-pkgs.yml b/tomcat/tasks/tomcat-pkgs.yml index 45896f21..1efbd42b 100644 --- a/tomcat/tasks/tomcat-pkgs.yml +++ b/tomcat/tasks/tomcat-pkgs.yml @@ -1,7 +1,7 @@ --- - name: Install the tomcat packages apt: pkg={{ item }} state={{ tomcat_pkg_state }} - with_items: tomcat_pkgs + with_items: '{{ tomcat_pkgs }}' tags: tomcat - name: Create the tomcat tmp directory