Skip to content

Instantly share code, notes, and snippets.

@Enigo
Last active September 16, 2023 11:06
Show Gist options
  • Save Enigo/96fc6399e65617315ef3e3a3cc99dbee to your computer and use it in GitHub Desktop.
Save Enigo/96fc6399e65617315ef3e3a3cc99dbee to your computer and use it in GitHub Desktop.
---
- name: Add repo
become: yes
shell: "{{ item }}"
with_items:
- "gpg --homedir /tmp --no-default-keyring --keyring /etc/apt/keyrings/scylladb.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys d0a112e067426ab2"
- "wget -O /etc/apt/sources.list.d/scylla.list http://downloads.scylladb.com/deb/debian/scylla-5.2.list"
- name: Install ScyllaDB
become: yes
apt:
name: scylla
state: present
update_cache: true
- name: Copy configuration
become: yes
copy:
src: "{{ role_path }}/files/scylla.yaml"
dest: /etc/scylla/scylla.yaml
owner: root
group: root
- name: Sync scripts
become: yes
synchronize:
delete: no
recursive: yes
archive: no
src: "{{ role_path }}/files/setup/"
dest: /opt/scylla_setup
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment