Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update install-couchbase-server-package-centos.yml #2001

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,21 @@
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
- include: tasks/clean-users.yml

# 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
Expand All @@ -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
Expand Down