File tree Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Expand file tree Collapse file tree 5 files changed +24
-5
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ script:
64
64
&& (echo 'Idempotence test: pass' && exit 0)
65
65
|| (echo 'Idempotence test: fail' && exit 1)
66
66
67
- - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true ; fi
67
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml; fi
68
68
69
69
notifications :
70
70
email : false
Original file line number Diff line number Diff line change @@ -25,17 +25,31 @@ boxes = [
25
25
:cpu => "50" ,
26
26
:ram => "256"
27
27
} ,
28
+ {
29
+ :name => "ubuntu-1804" ,
30
+ :box => "bento/ubuntu-18.04" ,
31
+ :ip => '10.0.0.14' ,
32
+ :cpu => "50" ,
33
+ :ram => "256"
34
+ } ,
28
35
{
29
36
:name => "debian-7" ,
30
37
:box => "bento/debian-7" ,
31
- :ip => '10.0.0.14 ' ,
38
+ :ip => '10.0.0.15 ' ,
32
39
:cpu => "50" ,
33
40
:ram => "256"
34
41
} ,
35
42
{
36
43
:name => "debian-8" ,
37
44
:box => "bento/debian-8" ,
38
- :ip => '10.0.0.15' ,
45
+ :ip => '10.0.0.16' ,
46
+ :cpu => "50" ,
47
+ :ram => "256"
48
+ } ,
49
+ {
50
+ :name => "debian-9" ,
51
+ :box => "bento/debian-9" ,
52
+ :ip => '10.0.0.17' ,
39
53
:cpu => "50" ,
40
54
:ram => "256"
41
55
} ,
Original file line number Diff line number Diff line change 1
1
# meta file for rsyslog
2
2
---
3
3
galaxy_info :
4
+ role_name : rsyslog
4
5
author : Mischa ter Smitten
5
6
company : Oefenweb.nl B.V.
6
7
description : Manage rsyslog and rsyslog.d in Debian-like systems
@@ -12,10 +13,12 @@ galaxy_info:
12
13
- precise
13
14
- trusty
14
15
- xenial
16
+ - bionic
15
17
- name : Debian
16
18
versions :
17
19
- wheezy
18
20
- jessie
21
+ - stretch
19
22
galaxy_tags :
20
23
- system
21
24
- monitoring
Original file line number Diff line number Diff line change 2
2
---
3
3
- name : install
4
4
apt :
5
- name : rsyslog
5
+ name : " {{ rsyslog_dependencies }} "
6
6
state : " {{ apt_install_state | default('latest') }}"
7
7
update_cache : true
8
8
cache_valid_time : " {{ apt_update_cache_valid_time | default(3600) }}"
58
58
template :
59
59
src : etc/rsyslog.conf.j2
60
60
dest : /etc/rsyslog.conf
61
- validate : " rsyslogd -N1 -f %s"
61
+ validate : ' rsyslogd -N1 -f %s'
62
62
owner : root
63
63
group : root
64
64
mode : 0440
Original file line number Diff line number Diff line change 1
1
# vars file for rsyslog
2
2
---
3
+ rsyslog_dependencies :
4
+ - rsyslog
3
5
rsyslog_user : " {{ 'syslog' if ansible_distribution == 'Ubuntu' else 'root' }}"
4
6
rsyslog_group : adm
5
7
You can’t perform that action at this time.
0 commit comments