Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
configuration
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
configuration
Commits
e18f2ca0
Commit
e18f2ca0
authored
May 15, 2015
by
Max Rothman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix per comment
parent
c551d6b7
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
20 deletions
+2
-20
playbooks/roles/cassandra/defaults/main.yml
+2
-1
playbooks/roles/cassandra/tasks/main.yml
+0
-19
No files found.
playbooks/roles/cassandra/defaults/main.yml
View file @
e18f2ca0
...
...
@@ -11,6 +11,7 @@ cassandra_data_dir_prefix: /var/lib/cassandra/data
#should be parallel to cassandra_ephemeral_disks if there are any
cassandra_data_dirs
:
[
"
data.1"
]
#These are set by the package. Don't change them!
cassandra_user
:
"
cassandra"
cassandra_group
:
"
cassandra"
...
...
@@ -26,7 +27,7 @@ cassandra_seeds: ["127.0.0.1"]
cassandra_snitch
:
"
SimpleSnitch"
#set this ONLY when initializing a new cluster with NO DATA
cassandra_auto_bootstrap
:
tru
e
cassandra_auto_bootstrap
:
fals
e
# For single-node locally-accessible deployments only! Otherwise, use:
# cassandra_listen_address: ""
...
...
playbooks/roles/cassandra/tasks/main.yml
View file @
e18f2ca0
-
name
:
Make sure the cassandra group is present
group
:
name
:
"
{{cassandra_group}}"
state
:
present
-
name
:
Make sure the cassandra user is present
user
:
name
:
"
{{cassandra_user}}"
group
:
"
{{cassandra_group}}"
home
:
"
{{cassandra_home}}"
createhome
:
yes
shell
:
/bin/false
-
name
:
Make sure the cassandra user home has correct permissions
file
:
path
:
"
{{cassandra_home}}"
owner
:
"
{{cassandra_user}}"
group
:
"
{{cassandra_group}}"
-
name
:
Unmount disks mounted to the wrong place
mount
:
name
:
"
{{
item[0].mount
}}"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment