This repository was archived by the owner on Feb 6, 2024. It is now read-only.
File tree 4 files changed +35
-2
lines changed 4 files changed +35
-2
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,39 @@ matrix:
7
7
- os : linux
8
8
dist : trusty
9
9
sudo : true
10
+ env : ANSIBLE_VERSION='ansible>=2.4,<2.5'
11
+ - os : linux
12
+ dist : trusty
13
+ sudo : true
14
+ env : ANSIBLE_VERSION='ansible>=2.3,<2.4'
15
+ - os : linux
16
+ dist : trusty
17
+ sudo : true
18
+ env : ANSIBLE_VERSION='latest'
19
+ - os : linux
20
+ dist : xenial
21
+ sudo : true
22
+ env : ANSIBLE_VERSION='ansible>=2.4,<2.5'
10
23
- os : linux
11
24
dist : xenial
12
25
sudo : true
26
+ env : ANSIBLE_VERSION='ansible>=2.3,<2.4'
27
+ - os : linux
28
+ dist : xenial
29
+ sudo : true
30
+ env : ANSIBLE_VERSION='latest'
31
+ - os : linux
32
+ dist : precise
33
+ sudo : true
34
+ env : ANSIBLE_VERSION='ansible>=2.4,<2.5'
35
+ - os : linux
36
+ dist : precise
37
+ sudo : true
38
+ env : ANSIBLE_VERSION='ansible>=2.3,<2.4'
13
39
- os : linux
14
40
dist : precise
15
41
sudo : true
42
+ env : ANSIBLE_VERSION='latest'
16
43
17
44
# Use the new container infrastructure
18
45
sudo : true
@@ -25,7 +52,7 @@ addons:
25
52
26
53
install :
27
54
# Install ansible
28
- - sudo pip install ansible
55
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then pip install ansible; else pip install $ANSIBLE_VERSION; fi
29
56
30
57
# Check ansible version
31
58
- ansible --version
Original file line number Diff line number Diff line change @@ -226,3 +226,5 @@ Author Information
226
226
[ClickHouse](https://clickhouse.yandex/docs/en/index.html) by [Yandex LLC](https://yandex.ru/company/).
227
227
228
228
Role by [AlexeySetevoi](https://github.com/AlexeySetevoi).
229
+
230
+ Dear contributors, thank you.
Original file line number Diff line number Diff line change 8
8
- name : Config | Delete database config
9
9
command : " clickhouse-client -h localhost -q 'DROP DATABASE IF EXISTS `{{ item.name }}`'"
10
10
with_items : " {{ clickhouse_dbs }}"
11
- when : item.state is defined and item.state == 'absent' and item.name in existing_databases.stdout.lines_lines
11
+ when : item.state is defined and item.state == 'absent' and item.name in existing_databases.stdout_lines
12
12
tags : [config_db]
13
13
14
14
- name : Config | Create database config
Original file line number Diff line number Diff line change 16
16
template :
17
17
src : config.j2
18
18
dest : " {{ clickhouse_path_configdir }}/config.xml"
19
+ owner : clickhouse
20
+ group : clickhouse
19
21
notify : restart-ch
20
22
become : true
21
23
22
24
- name : Config | Generate users config
23
25
template :
24
26
src : users.j2
25
27
dest : " {{ clickhouse_path_configdir }}/users.xml"
28
+ owner : clickhouse
29
+ group : clickhouse
26
30
notify : restart-ch
27
31
become : true
28
32
You can’t perform that action at this time.
0 commit comments