File tree Expand file tree Collapse file tree 5 files changed +30
-26
lines changed Expand file tree Collapse file tree 5 files changed +30
-26
lines changed Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ python: "2.7"
7
7
8
8
env :
9
9
- ANSIBLE_VERSION=latest
10
+ - ANSIBLE_VERSION=2.5.1
10
11
- ANSIBLE_VERSION=2.5.0
11
12
- ANSIBLE_VERSION=2.4.4.0
12
13
- ANSIBLE_VERSION=2.4.3.0
Original file line number Diff line number Diff line change @@ -39,6 +39,13 @@ boxes = [
39
39
:cpu => "50" ,
40
40
:ram => "256"
41
41
} ,
42
+ {
43
+ :name => "debian-9" ,
44
+ :box => "bento/debian-9" ,
45
+ :ip => '10.0.0.16' ,
46
+ :cpu => "50" ,
47
+ :ram => "256"
48
+ } ,
42
49
]
43
50
44
51
Vagrant . configure ( "2" ) do |config |
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ galaxy_info:
16
16
versions :
17
17
- wheezy
18
18
- jessie
19
+ - stretch
19
20
galaxy_tags :
20
21
- system
21
22
- monitoring
Original file line number Diff line number Diff line change 1
1
# tasks file for percona-toolkit
2
2
---
3
- - name : configure | generate (pt-deadlock-logger) script
3
+ - name : configure | generate scripts
4
4
template :
5
- src : usr/local/bin/pt-deadlock-logger-wrapper .j2
6
- dest : /usr/local/bin/pt-deadlock-logger-wrapper
5
+ src : " {{ item.lstrip('/') }} .j2"
6
+ dest : " {{ item }} "
7
7
owner : root
8
8
group : root
9
9
mode : 0750
10
10
validate : ' /usr/bin/env bash -n %s'
11
+ with_items :
12
+ - /usr/local/bin/pt-deadlock-logger-wrapper
13
+ - /usr/local/bin/pt-heartbeat-wrapper
14
+ - /usr/local/bin/pt-table-checksum-wrapper
11
15
tags :
12
- - percona-toolkit-configure-generate-pt-deadlock-logger-script
13
-
14
- - name : configure | generate (pt-heartbeat) script
15
- template :
16
- src : usr/local/bin/pt-heartbeat-wrapper.j2
17
- dest : /usr/local/bin/pt-heartbeat-wrapper
18
- owner : root
19
- group : root
20
- mode : 0750
21
- validate : ' /usr/bin/env bash -n %s'
22
- tags :
23
- - percona-toolkit-configure-generate-pt-heartbeat-script
24
-
25
- - name : configure | generate (pt-table-checksum) script
26
- template :
27
- src : usr/local/bin/pt-table-checksum-wrapper.j2
28
- dest : /usr/local/bin/pt-table-checksum-wrapper
29
- owner : root
30
- group : root
31
- mode : 0750
32
- validate : ' /usr/bin/env bash -n %s'
33
- tags :
34
- - percona-toolkit-configure-generate-pt-table-checksum-script
16
+ - percona-toolkit-configure-generate-scripts
Original file line number Diff line number Diff line change 1
1
# tasks file for percona-toolkit
2
2
---
3
+ - name : repository | install | dependencies
4
+ apt :
5
+ name : " {{ item }}"
6
+ state : " {{ apt_install_state | default('latest') }}"
7
+ update_cache : true
8
+ cache_valid_time : " {{ apt_update_cache_valid_time | default(3600) }}"
9
+ with_items :
10
+ - dirmngr
11
+ when : ansible_distribution == 'Debian' and ansible_distribution_version | version_compare('9.0', '>=')
12
+ tags :
13
+ - percona-toolkit-repository-install
14
+ - percona-toolkit-repository-install-dependencies
15
+
3
16
- name : repository | add public key
4
17
apt_key :
5
18
id : 9334A25F8507EFA5
You can’t perform that action at this time.
0 commit comments