File tree Expand file tree Collapse file tree 2 files changed +43
-101
lines changed
ansible/tasks/postgres-extensions Expand file tree Collapse file tree 2 files changed +43
-101
lines changed Original file line number Diff line number Diff line change 1
1
- name : Update apt cache
2
2
apt :
3
- update_cache: yes
3
+ update_cache : yes
4
4
5
5
- name : Install dependencies
6
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
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
17
18
18
- name : Add PostgreSQL repo and install postgresql-server-dev
19
19
block :
20
- - name: Add PostgreSQL APT key
21
- apt_key:
22
- url: "https://www.postgresql.org/media/keys/ACCC4CF8.asc"
23
- state: present
20
+ - name : Add PostgreSQL APT key
21
+ apt_key :
22
+ url : " https://www.postgresql.org/media/keys/ACCC4CF8.asc"
23
+ state : present
24
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
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
29
30
- - name: Install postgresql-server-dev-15
31
- apt:
32
- name: postgresql-server-dev-15
33
- state: present
30
+ - name : Install postgresql-server-dev-15
31
+ apt :
32
+ name : postgresql-server-dev-15
33
+ state : present
34
34
35
35
- name : Clone and install Citus
36
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
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
57
58
58
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments