File tree Expand file tree Collapse file tree 17 files changed +196
-151
lines changed Expand file tree Collapse file tree 17 files changed +196
-151
lines changed Original file line number Diff line number Diff line change 1
- skip_list:
1
+ warn_list:
2
+ - '106'
2
3
- '306'
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : CI
3
+ ' on ' :
4
+ pull_request :
5
+ push :
6
+ branches :
7
+ - master
8
+ schedule :
9
+ - cron : ' 30 1 * * 3'
10
+
11
+ jobs :
12
+
13
+ lint :
14
+ name : Lint
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - name : Check out the codebase
18
+ uses : actions/checkout@v2
19
+
20
+ - name : Set up Python 3
21
+ uses : actions/setup-python@v2
22
+ with :
23
+ python-version : ' 3.x'
24
+
25
+ - name : Install test dependencies
26
+ run : pip install yamllint ansible-lint[core]
27
+
28
+ - name : Lint code
29
+ run : |
30
+ yamllint .
31
+ ansible-lint
32
+
33
+ molecule :
34
+ name : Molecule
35
+ runs-on : ubuntu-latest
36
+ defaults :
37
+ run :
38
+ working-directory : " ${{ github.repository }}"
39
+ needs :
40
+ - lint
41
+ strategy :
42
+ fail-fast : false
43
+ matrix :
44
+ include :
45
+ - distro : debian8
46
+ - distro : debian9
47
+ - distro : debian10
48
+ - distro : ubuntu1604
49
+ ansible-version : ' >=2.8, <2.9'
50
+ - distro : ubuntu1604
51
+ ansible-version : ' >=2.9, <2.10'
52
+ - distro : ubuntu1604
53
+ ansible-version : ' >=2.10, <2.11'
54
+ - distro : ubuntu1604
55
+ - distro : ubuntu1804
56
+ - distro : ubuntu2004
57
+
58
+ steps :
59
+ - name : Check out the codebase
60
+ uses : actions/checkout@v2
61
+ with :
62
+ path : " ${{ github.repository }}"
63
+
64
+ - name : Set up Python 3
65
+ uses : actions/setup-python@v2
66
+ with :
67
+ python-version : ' 3.x'
68
+
69
+ - name : Install test dependencies
70
+ run : pip install 'ansible${{ matrix.ansible-version }}' molecule[docker] docker
71
+
72
+ - name : Run Molecule tests
73
+ run : |
74
+ molecule test
75
+ env :
76
+ ANSIBLE_FORCE_COLOR : ' 1'
77
+ ANSIBLE_VERBOSITY : ' 2'
78
+ MOLECULE_DEBUG : ' 1'
79
+ MOLECULE_DISTRO : " ${{ matrix.distro }}"
80
+ PY_COLORS : ' 1'
Original file line number Diff line number Diff line change
1
+ ---
2
+ name : Release
3
+ ' on ' :
4
+ push :
5
+ tags :
6
+ - ' *'
7
+
8
+ jobs :
9
+
10
+ release :
11
+ name : Release
12
+ runs-on : ubuntu-latest
13
+ steps :
14
+ - name : Check out the codebase
15
+ uses : actions/checkout@v2
16
+
17
+ - name : Publish to Galaxy
18
+ uses :
robertdebock/[email protected]
19
+ with :
20
+ galaxy_api_key : ${{ secrets.GALAXY_API_KEY }}
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ ---
2
+ extends: default
3
+
4
+ rules:
5
+ braces:
6
+ max-spaces-inside: 1
7
+ level: error
8
+ brackets:
9
+ max-spaces-inside: 1
10
+ level: error
11
+ line-length: disable
12
+ truthy: disable
13
+
14
+ ignore: |
15
+ .tox/
Original file line number Diff line number Diff line change @@ -11,11 +11,10 @@ RUN rm -rf $HOME/.cache
11
11
# ansible
12
12
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gcc libffi-dev libssl-dev && \
13
13
apt-get clean
14
- RUN pip install ansible==2.9.14
14
+ RUN pip install ansible==2.9.15
15
15
RUN rm -rf $HOME/.cache
16
16
17
17
# provision
18
- ENV USER=root
19
18
COPY . /etc/ansible/roles/ansible-role
20
19
WORKDIR /etc/ansible/roles/ansible-role
21
20
RUN ansible-playbook -i tests/inventory tests/test.yml --connection=local
Original file line number Diff line number Diff line change 1
1
## gnu-parallel
2
2
3
- [ ![ Build Status ] ( https://travis-ci.org /Oefenweb/ansible-gnu-parallel.svg?branch=master )] ( https://travis-ci.org /Oefenweb/ansible-gnu-parallel )
3
+ [ ![ CI ] ( https://github.com /Oefenweb/ansible-gnu-parallel/workflows/CI/badge .svg )] ( https://github.com /Oefenweb/ansible-gnu-parallel/actions?query=workflow%3ACI )
4
4
[ ![ Ansible Galaxy] ( http://img.shields.io/badge/ansible--galaxy-gnu--parallel-blue.svg )] ( https://galaxy.ansible.com/Oefenweb/gnu-parallel )
5
5
6
6
Set up the latest version of [ GNU Parallel] ( https://www.gnu.org/software/parallel/ ) in Debian-like systems.
Original file line number Diff line number Diff line change 4
4
role = File . basename ( File . expand_path ( File . dirname ( __FILE__ ) ) )
5
5
6
6
boxes = [
7
- {
8
- :name => "ubuntu-1204" ,
9
- :box => "bento/ubuntu-12.04" ,
10
- :ip => '10.0.0.11' ,
11
- :cpu => "50" ,
12
- :ram => "256"
13
- } ,
14
- {
15
- :name => "ubuntu-1404" ,
16
- :box => "bento/ubuntu-14.04" ,
17
- :ip => '10.0.0.12' ,
18
- :cpu => "50" ,
19
- :ram => "256"
20
- } ,
21
7
{
22
8
:name => "ubuntu-1604" ,
23
9
:box => "bento/ubuntu-16.04" ,
24
- :ip => '10.0.0.13 ' ,
10
+ :ip => '10.0.0.12 ' ,
25
11
:cpu => "50" ,
26
12
:ram => "256"
27
13
} ,
28
14
{
29
15
:name => "ubuntu-1804" ,
30
16
:box => "bento/ubuntu-18.04" ,
31
- :ip => '10.0.0.14 ' ,
17
+ :ip => '10.0.0.13 ' ,
32
18
:cpu => "50" ,
33
19
:ram => "384"
34
20
} ,
35
21
{
36
- :name => "debian-7 " ,
37
- :box => "bento/debian-7 " ,
38
- :ip => '10.0.0.15 ' ,
22
+ :name => "ubuntu-2004 " ,
23
+ :box => "bento/ubuntu-20.04 " ,
24
+ :ip => '10.0.0.14 ' ,
39
25
:cpu => "50" ,
40
- :ram => "256 "
26
+ :ram => "384 "
41
27
} ,
42
28
{
43
29
:name => "debian-8" ,
Original file line number Diff line number Diff line change @@ -10,13 +10,11 @@ galaxy_info:
10
10
platforms :
11
11
- name : Ubuntu
12
12
versions :
13
- - precise
14
- - trusty
15
13
- xenial
16
14
- bionic
15
+ - focal
17
16
- name : Debian
18
17
versions :
19
- - wheezy
20
18
- jessie
21
19
- stretch
22
20
- buster
Original file line number Diff line number Diff line change
1
+ ---
2
+ - name : Converge
3
+ hosts : all
4
+ become : true
5
+ roles :
6
+ - ../../../
You can’t perform that action at this time.
0 commit comments