ITOPSENG-283 upstream ansible example had wrong syntax 🤦

This commit is contained in:
Geoff Jacobs
2019-10-30 11:45:57 +11:00
parent 7d90e8b65a
commit ee759efead
2 changed files with 5 additions and 5 deletions

View File

@@ -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 \

View File

@@ -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