Skip to content

Commit 257d701

Browse files
committed
Updates
1 parent 4b52cbb commit 257d701

File tree

6 files changed

+22
-17
lines changed

6 files changed

+22
-17
lines changed

.ansible-lint

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
---
22
skip_list:
3-
- '306' # Shells that use pipes should set the pipefail option
3+
- experimental # all rules tagged as experimental
4+
- fqcn-builtins

.github/workflows/molecule.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
steps:
1414
- name: checkout
15-
uses: actions/checkout@v2
15+
uses: actions/checkout@v3
1616
with:
1717
path: "${{ github.repository }}"
1818
- name: molecule
@@ -27,7 +27,7 @@ jobs:
2727
fail-fast: false
2828
steps:
2929
- name: checkout
30-
uses: actions/checkout@v2
30+
uses: actions/checkout@v3
3131
with:
3232
path: "${{ github.repository }}"
3333
- name: molecule

.yamllint

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ extends: default
33

44
rules:
55
truthy:
6-
allowed-values: ['true', 'false', 'on']
7-
check-keys: true
6+
allowed-values: ['true', 'false']
7+
check-keys: false
88

99
ignore: |
1010
.tox/

molecule/default/molecule.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,9 @@ lint: |
88
set -e
99
yamllint .
1010
ansible-lint
11-
ansible-later
1211
platforms:
1312
- name: base-nettime-centos7
14-
image: centos:7
13+
image: centos:7.9.2009
1514
command: /sbin/init
1615
capabilities:
1716
- CAP_SYS_TIME

molecule/default/verify.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
goss_arch: amd64
1212
goss_dst: /usr/local/bin/goss
1313
# yamllint disable-line rule:line-length
14-
goss_sha256sum: 'sha256:357f5c7f2e7949b412bce44349cd32ab19eb3947255a8ac805f884cc2c326059'
14+
goss_sha256sum: '357f5c7f2e7949b412bce44349cd32ab19eb3947255a8ac805f884cc2c326059'
1515
# yamllint disable-line rule:line-length
1616
goss_url: "https://github.com/aelsabbahy/goss/releases/download/{{ goss_version }}/goss-linux-{{ goss_arch }}"
1717
goss_test_directory: /etc/goss.d
@@ -21,7 +21,7 @@
2121
ansible.builtin.get_url:
2222
url: "{{ goss_url }}"
2323
dest: "{{ goss_dst }}"
24-
checksum: "{{ goss_sha256sum }}"
24+
checksum: "sha256:{{ goss_sha256sum }}"
2525
mode: 0755
2626
register: download_goss
2727
until: download_goss is succeeded
@@ -35,7 +35,7 @@
3535
- name: Execute Goss tests
3636
environment:
3737
# yamllint disable-line rule:line-length
38-
PATH: '/opt/rh/rh-git218/root/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
38+
PATH: '/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin'
3939
# yamllint disable-line rule:line-length
4040
ansible.builtin.command: "{{ goss_dst }} -g {{ item }} validate -f {{ goss_format }}"
4141
changed_when: false

requirements.txt

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
# these python extensions are for testing
2+
tox
3+
pipx
24
attrs>=19.2.0
3-
sh==1.12.14
4-
ansible==2.9.27
5-
molecule==3.2.3
6-
molecule-docker
7-
yamllint==1.26.3
8-
ansible-lint==4.3.7
9-
ansible-later==1.4.0
5+
rich==12.5.1
6+
ansible==6.2.0
7+
ansible-lint==6.4.0
8+
molecule==4.0.1
9+
molecule-docker==2.0.0
10+
molecule-vagrant-1.0.0
11+
yamllint==1.28.0
1012
docker>=4.3.1
13+
ssh-audit
14+
anyconfig>=0.10.0 # not directly required, pinned by Snyk to avoid a vulnerability
15+
setuptools>=65.5.1 # not directly required, pinned by Snyk to avoid a vulnerability

0 commit comments

Comments
 (0)