Skip to content

Commit

Permalink
Allow "yes" and "no" as truthy values, more English, more readable.
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-de-bock committed Mar 15, 2024
1 parent 6c33f55 commit e250138
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
3 changes: 0 additions & 3 deletions .ansible-lint
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,5 @@ exclude_paths:
- .github
- requirements.yml

skip_list:
- yaml[truthy]

enable_list:
- name[prefix]
6 changes: 1 addition & 5 deletions .github/workflows/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- lint
runs-on: ubuntu-20.04
strategy:
fail-fast: false
fail-fast: no
matrix:
config:
- image: "alpine"
Expand Down Expand Up @@ -58,10 +58,6 @@ jobs:
uses: actions/checkout@v4
with:
path: "${{ github.repository }}"
# - name: disable apparmor for mysql
# run: sudo ln -s /etc/apparmor.d/usr.sbin.mysqld /etc/apparmor.d/disable/
# - name: parse apparmor for mysql
# run: sudo apparmor_parser -R /etc/apparmor.d/usr.sbin.mysqld
- name: molecule
uses: robertdebock/[email protected]
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/requirements2png.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@ jobs:
uses: ad-m/github-push-action@master
with:
directory: ${{ github.repository }}
force: true
force: yes
branch: png
6 changes: 5 additions & 1 deletion .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@ rules:
max-spaces-inside: 1
level: error
line-length: disable
truthy: disable
truthy:
check-keys: no
allowed-values:
- "yes"
- "no"

ignore: |
.tox/
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ This role has been tested on these [container images](https://hub.docker.com/u/r
|[Alpine](https://hub.docker.com/r/robertdebock/alpine)|all|
|[EL](https://hub.docker.com/r/robertdebock/enterpriselinux)|8, 9|
|[Debian](https://hub.docker.com/r/robertdebock/debian)|all|
|[Fedora](https://hub.docker.com/r/robertdebock/fedora/)|all|
|[Fedora](https://hub.docker.com/r/robertdebock/fedora)|all|
|[opensuse](https://hub.docker.com/r/robertdebock/opensuse)|all|
|[Ubuntu](https://hub.docker.com/r/robertdebock/ubuntu)|all|

Expand Down

0 comments on commit e250138

Please sign in to comment.