File tree Expand file tree Collapse file tree 4 files changed +34
-9
lines changed Expand file tree Collapse file tree 4 files changed +34
-9
lines changed Original file line number Diff line number Diff line change @@ -7,8 +7,10 @@ python: "2.7"
7
7
8
8
env :
9
9
- ANSIBLE_VERSION=latest
10
+ - ANSIBLE_VERSION=2.7.2
10
11
- ANSIBLE_VERSION=2.7.1
11
12
- ANSIBLE_VERSION=2.7.0
13
+ - ANSIBLE_VERSION=2.6.8
12
14
- ANSIBLE_VERSION=2.6.7
13
15
- ANSIBLE_VERSION=2.6.6
14
16
- ANSIBLE_VERSION=2.6.5
@@ -59,7 +61,7 @@ script:
59
61
&& (echo 'Idempotence test: pass' && exit 0)
60
62
|| (echo 'Idempotence test: fail' && exit 1)
61
63
62
- - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml || true ; fi
64
+ - if [ "$ANSIBLE_VERSION" = "latest" ]; then ansible-lint tests/test.yml; fi
63
65
64
66
notifications :
65
67
email : false
Original file line number Diff line number Diff line change 3
3
4
4
role = File . basename ( File . expand_path ( File . dirname ( __FILE__ ) ) )
5
5
6
+
6
7
boxes = [
7
8
{
8
9
:name => "ubuntu-1204" ,
@@ -25,17 +26,31 @@ boxes = [
25
26
:cpu => "50" ,
26
27
:ram => "256"
27
28
} ,
29
+ {
30
+ :name => "ubuntu-1804" ,
31
+ :box => "bento/ubuntu-18.04" ,
32
+ :ip => '10.0.0.14' ,
33
+ :cpu => "50" ,
34
+ :ram => "256"
35
+ } ,
28
36
{
29
37
:name => "debian-7" ,
30
38
:box => "bento/debian-7" ,
31
- :ip => '10.0.0.14 ' ,
39
+ :ip => '10.0.0.15 ' ,
32
40
:cpu => "50" ,
33
41
:ram => "256"
34
42
} ,
35
43
{
36
44
:name => "debian-8" ,
37
45
:box => "bento/debian-8" ,
38
- :ip => '10.0.0.15' ,
46
+ :ip => '10.0.0.16' ,
47
+ :cpu => "50" ,
48
+ :ram => "256"
49
+ } ,
50
+ {
51
+ :name => "debian-9" ,
52
+ :box => "bento/debian-9" ,
53
+ :ip => '10.0.0.17' ,
39
54
:cpu => "50" ,
40
55
:ram => "256"
41
56
} ,
Original file line number Diff line number Diff line change 1
1
# meta file for gnu-parallel
2
2
---
3
3
galaxy_info :
4
+ role_name : gnu-parallel
4
5
author : Mischa ter Smitten
5
6
company : Oefenweb.nl B.V.
6
7
description : Set up the latest version of GNU Parallel 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
- shell
21
24
- system
Original file line number Diff line number Diff line change 2
2
---
3
3
- name : install dependencies
4
4
apt :
5
- name : " {{ item }}"
5
+ name : " {{ gnu_parallel_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) }}"
9
- with_items : " {{ gnu_parallel_dependencies }}"
10
9
tags :
11
10
- configuration
12
11
- gnu-parallel
66
65
- gnu-parallel-install-build
67
66
68
67
- name : version check
69
- shell : tar -jtf {{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }} | head -n 1
68
+ shell : >
69
+ tar -jtf {{ gnu_parallel_download_path }}/{{ gnu_parallel_download_url | basename }} | head -n 1
70
+ args :
71
+ warn : false
70
72
changed_when : false
71
73
register : _version_check
72
74
tags :
89
91
- gnu-parallel-install-build
90
92
91
93
- name : configure
92
- command : ./configure
94
+ command : >
95
+ ./configure
93
96
args :
94
97
chdir : " {{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
95
98
when : _unarchive | changed
101
104
- gnu-parallel-install-build-configure
102
105
103
106
- name : make
104
- command : make -j{{ ansible_processor_cores + 1 }}
107
+ command : >
108
+ make -j{{ ansible_processor_cores + 1 }}
105
109
args :
106
110
chdir : " {{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
107
111
when : _unarchive | changed
113
117
- gnu-parallel-install-build-make
114
118
115
119
- name : make install
116
- command : make install
120
+ command : >
121
+ make install
117
122
args :
118
123
chdir : " {{ gnu_parallel_build_path }}/{{ _version_check.stdout }}"
119
124
when : _unarchive | changed
You can’t perform that action at this time.
0 commit comments