Skip to content

Instantly share code, notes, and snippets.

@jc1518
Created September 24, 2020 06:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jc1518/1fe9f99283b717fe8673b0e4ee5ed309 to your computer and use it in GitHub Desktop.
Save jc1518/1fe9f99283b717fe8673b0e4ee5ed309 to your computer and use it in GitHub Desktop.
Code snippet for adding snappy support in Jira AMI
- name: Install dependencies for snappy
yum:
name:
- gcc
- gcc-c++
- automake
- snappy
- snappy-devel
- git
when: atl_product_family == "jira"
- name: Download snzip source code for uncompressing index snapshot backup (.tar.sz file)
git:
repo: 'https://github.com/kubo/snzip.git'
dest: /tmp/snzip
when: atl_product_family == "jira"
- name: Compile and install snzip
command: "{{ item }}"
args:
chdir: /tmp/snzip/
loop:
- ./autogen.sh
- ./configure
- make
- make install
when: atl_product_family == "jira"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment