Created
September 24, 2020 06:35
-
-
Save jc1518/1fe9f99283b717fe8673b0e4ee5ed309 to your computer and use it in GitHub Desktop.
Code snippet for adding snappy support in Jira AMI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 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