Skip to content

Commit 0712070

Browse files
committed
tabs to spaces
1 parent 20d620a commit 0712070

File tree

1 file changed

+58
-0
lines changed

1 file changed

+58
-0
lines changed
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
- name: Update apt cache
2+
apt:
3+
update_cache: yes
4+
5+
- name: Install dependencies
6+
apt:
7+
name:
8+
- git
9+
- build-essential
10+
- liblz4-dev
11+
- libzstd-dev
12+
- clang-11
13+
- libcurl4-openssl-dev
14+
- libkrb5-dev
15+
- libicu-dev
16+
state: present
17+
18+
- name: Add PostgreSQL repo and install postgresql-server-dev
19+
block:
20+
- name: Add PostgreSQL APT key
21+
apt_key:
22+
url: "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
23+
state: present
24+
25+
- name: Add PostgreSQL APT repository
26+
apt_repository:
27+
repo: "deb http://apt.postgresql.org/pub/repos/apt {{ ansible_distribution_release }}-pgdg main"
28+
state: present
29+
30+
- name: Install postgresql-server-dev-15
31+
apt:
32+
name: postgresql-server-dev-15
33+
state: present
34+
35+
- name: Clone and install Citus
36+
block:
37+
- name: Clone Citus repository
38+
git:
39+
repo: 'https://github.com/citusdata/citus.git'
40+
dest: '/tmp/citus'
41+
clone: yes
42+
43+
- name: Build Citus
44+
command:
45+
cmd: "{{ item }}"
46+
chdir: /tmp/citus
47+
loop:
48+
- './configure'
49+
- 'make'
50+
args:
51+
creates: "/tmp/citus/Makefile"
52+
53+
- name: Install Citus
54+
command:
55+
cmd: "sudo make install"
56+
chdir: /tmp/citus
57+
58+

0 commit comments

Comments
 (0)