From ee759efeadefd9a0d7cebb9656660770f23613a0 Mon Sep 17 00:00:00 2001 From: Geoff Jacobs Date: Wed, 30 Oct 2019 11:45:57 +1100 Subject: [PATCH] ITOPSENG-283 upstream ansible example had wrong syntax :facepalm: --- bin/ansible-with-atl-env | 2 +- roles/crowd_config/tasks/main.yml | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/bin/ansible-with-atl-env b/bin/ansible-with-atl-env index b3e05e0..3685381 100755 --- a/bin/ansible-with-atl-env +++ b/bin/ansible-with-atl-env @@ -18,7 +18,7 @@ set +a # Use Ansible from virtualenv if provided pipenv run \ - ansible-playbook -vvvv \ + ansible-playbook -v \ $ATL_DEPLOYMENT_REPOSITORY_CUSTOM_PARAMS \ -i $INV \ $PLAYBOOK \ diff --git a/roles/crowd_config/tasks/main.yml b/roles/crowd_config/tasks/main.yml index 817ad2e..b5b987c 100644 --- a/roles/crowd_config/tasks/main.yml +++ b/roles/crowd_config/tasks/main.yml @@ -8,15 +8,15 @@ - name: Set the minimum heap size (Xms) lineinfile: path: "{{ atl_product_installation_versioned }}/apache-tomcat/bin/setenv.sh" - regexp: '^(.*)Xmx(\\d+\\w)(\\s.*)$' - line: '\1Xms${atl_jvm_heap}\3' + regexp: '^(.*)Xms(\d+\w)(\s.*)$' + line: '\1Xms{{ atl_jvm_heap }}\3' backrefs: yes - name: Set the maxmimum heap size (Xmx) lineinfile: path: "{{ atl_product_installation_versioned }}/apache-tomcat/bin/setenv.sh" - regexp: '^(.*)Xmx(\\d+\\w)(\\s.*)$' - line: '\1Xmx${atl_jvm_heap}\3' + regexp: '^(.*)Xmx(\d+\w)(\s.*)$' + line: '\1Xmx{{ atl_jvm_heap }}\3' backrefs: yes - name: Set Crowd home directory in crowd-init.properties file