Commit e18f2ca0 by Max Rothman

Fix per comment

parent c551d6b7
......@@ -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: true
cassandra_auto_bootstrap: false
# For single-node locally-accessible deployments only! Otherwise, use:
# cassandra_listen_address: ""
......
- 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 }}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment