Skip to content

Commit

Permalink
fix linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Eric Anderson committed Mar 11, 2024
1 parent f94b974 commit 6d3abe2
Show file tree
Hide file tree
Showing 9 changed files with 26 additions and 26 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/chrony.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
fail-fast: false
matrix:
molecule_distro:
- {distro: centos-8, command: /usr/sbin/init}
- { distro: centos-8, command: /usr/sbin/init }
# - {distro: ubuntu-18.04, command: /lib/systemd/systemd}
# - {distro: ubuntu-20.04, command: /lib/systemd/systemd}
# - {distro: debian-10, command: /lib/systemd/systemd}
Expand All @@ -37,15 +37,15 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
curl -fsSL https://get.docker.com -o get-docker.sh
sudo sh get-docker.sh
python -m pip install --upgrade pip
pip install ansible molecule yamllint ansible-lint molecule-plugins[docker]
- name: Run role tests
run: >-
molecule --version &&
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/epel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/logrotate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ntp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/remi_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/selinux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.12

- name: Install dependencies
run: |
sudo apt install apt-transport-https ca-certificates curl software-properties-common
Expand Down
32 changes: 16 additions & 16 deletions changelogs/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,22 +11,22 @@ prelude_section_name: release_summary
prelude_section_title: Release Summary
sanitize_changelog: true
sections:
- - major_changes
- Major Changes
- - minor_changes
- Minor Changes
- - breaking_changes
- Breaking Changes / Porting Guide
- - deprecated_features
- Deprecated Features
- - removed_features
- Removed Features (previously deprecated)
- - security_fixes
- Security Fixes
- - bugfixes
- Bugfixes
- - known_issues
- Known Issues
- - major_changes
- Major Changes
- - minor_changes
- Minor Changes
- - breaking_changes
- Breaking Changes / Porting Guide
- - deprecated_features
- Deprecated Features
- - removed_features
- Removed Features (previously deprecated)
- - security_fixes
- Security Fixes
- - bugfixes
- Bugfixes
- - known_issues
- Known Issues
title: Ericsysmin.System
trivial_section_name: trivial
use_fqcn: true
2 changes: 1 addition & 1 deletion molecule/selinux/converge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
pre_tasks:
- name: Update package cache
ansible.builtin.package:
update_cache: yes
update_cache: true
changed_when: false
register: task_result
until: task_result is success
Expand Down
2 changes: 1 addition & 1 deletion roles/selinux/vars/redhat.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
# code: language=ansible
selinux_python_package: "{{ (ansible_python.version.major == 2) |
ternary('libselinux-python', 'libselinux-python3') }}"
ternary('libselinux-python', 'libselinux-python3') }}"

0 comments on commit 6d3abe2

Please sign in to comment.