Skip to content

Commit 5f41b22

Browse files
authored
Update Python CI, lint opts, ansible-core removal of includes
* update Python CI, lint opts * Fix ansible-core removal of "include" usage
2 parents 028b854 + 970a410 commit 5f41b22

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ansible-lint.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
strategy:
1616
matrix:
17-
python-version: ["3.9", "3.10", "3.11"]
17+
python-version: ["3.12"]
1818
steps:
1919
- uses: actions/checkout@v2
2020
- name: Set up Python ${{ matrix.python-version }}
@@ -27,7 +27,7 @@ jobs:
2727
pip install ansible ansible-lint
2828
- name: Analysing all playbooks
2929
run: |
30-
ansible-lint install/*.yml -x 303,701,601,206,602,403,301,502,306 -v
30+
ansible-lint install/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern] -v
3131
- name: Analysing all playbook roles
3232
run: |
33-
ansible-lint install/roles/*/*/*.yml -x 303,701,601,206,602,403,301,502,306 -v
33+
ansible-lint install/roles/*/*/*.yml --skip-list package-latest,deprecated-bare-vars,deprecated-command-syntax,deprecated-module,unnamed-task,yaml[truthy],role-name,meta-main[unsupported-tags],meta-runtime,var-naming[no-role-prefix],deprecated-module,var-naming[pattern] -v

install/roles/logstash/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
when: ansible_os_family == 'RedHat' and ipv6loadable.rc != 1
129129
ignore_errors: true
130130

131-
- include: ipv6-grub-disable.yml
131+
- ansible.builtin.include_tasks: ipv6-grub-disable.yml
132132

133133
- name: Disabling IPv6 via sysconfig/network
134134
lineinfile:

0 commit comments

Comments
 (0)