From 0351f2582f9b8687f4d28deb2f7d5485937ec3d6 Mon Sep 17 00:00:00 2001 From: Thuan Nguyen Date: Mon, 12 Dec 2022 11:27:15 -0800 Subject: [PATCH] Update install-couchbase-server-package-centos.yml add double quote to yaml file in python3.8 --- .../install-couchbase-server-package-centos.yml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/libraries/provision/ansible/playbooks/install-couchbase-server-package-centos.yml b/libraries/provision/ansible/playbooks/install-couchbase-server-package-centos.yml index fc8764b4f8..0a8537da56 100644 --- a/libraries/provision/ansible/playbooks/install-couchbase-server-package-centos.yml +++ b/libraries/provision/ansible/playbooks/install-couchbase-server-package-centos.yml @@ -35,10 +35,10 @@ couchbase_server_bucket_ram: "{{ ((couchbase_server_cluster_ram|int)*0.5)|int }}" tasks: - - debug: msg="Couchbase server primary node {{ couchbase_server_primary_node }}" - - debug: msg="Couchbase server node {{ couchbase_server_node }}" - - debug: msg="Downloading Couchbase server v. {{ couchbase_server_package_url }}" - - debug: msg="IPv6 Enabled - {{ ipv6_enabled }}" + - debug: msg="Couchbase server primary node \"{{ couchbase_server_primary_node }}\"" + - debug: msg="Couchbase server node \"{{ couchbase_server_node }}\"" + - debug: msg="Downloading Couchbase server v. \"{{ couchbase_server_package_url }}\"" + - debug: msg="IPv6 Enabled - \"{{ ipv6_enabled }}\"" # Remove Couchbase Server - include: tasks/remove-couchbase-server-centos.yml @@ -46,10 +46,10 @@ # Download and install - name: COUCHBASE SERVER | Download couchbase server - get_url: url={{ couchbase_server_package_url }} dest=/tmp/{{ couchbase_server_package_name }} + get_url: url=\"{{ couchbase_server_package_url }}\" dest=/tmp/\"{{ couchbase_server_package_name }}\" - name: Install Couchbase Server on CentOS - yum: name=/tmp/{{ couchbase_server_package_name }} state=present + yum: name=/tmp/\"{{ couchbase_server_package_name }}\" state=present - name: Enabling CBS on IPV6 | Stopping CBS service: name=couchbase-server state=stopped @@ -73,8 +73,8 @@ shell: iptables -F # Configure - - debug: msg="Couchbase cluster RAM {{ couchbase_server_cluster_ram }}" - - debug: msg="Couchbase bucket RAM {{ couchbase_server_bucket_ram }}" + - debug: msg="Couchbase cluster RAM \"{{ couchbase_server_cluster_ram }}\"" + - debug: msg="Couchbase bucket RAM \"{{ couchbase_server_bucket_ram }}\"" - name: COUCHBASE SERVER | Get major version shell: cat /opt/couchbase/VERSION.txt | cut -d '.' -f1