Skip to content

Commit

Permalink
Merge pull request #232 from guidograzioli/linter_ansible_215
Browse files Browse the repository at this point in the history
Update minimum ansible-core version > 2.15
  • Loading branch information
guidograzioli authored May 22, 2024
2 parents 8ca7336 + e69e5b7 commit 883127d
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 9 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:
branches:
- main
pull_request:
workflow_dispatch:
schedule:
- cron: '15 6 * * *'

Expand Down
9 changes: 7 additions & 2 deletions .yamllint
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ rules:
commas:
max-spaces-after: -1
level: error
comments: disable
comments:
min-spaces-from-content: 1
comments-indentation: disable
document-start: disable
empty-lines:
Expand All @@ -30,4 +31,8 @@ rules:
new-lines:
type: unix
trailing-spaces: disable
truthy: disable
truthy: disable
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Collection to install and configure [Keycloak](https://www.keycloak.org/) or [Re
<!--start requires_ansible-->
## Ansible version compatibility

This collection has been tested against following Ansible versions: **>=2.14.0**.
This collection has been tested against following Ansible versions: **>=2.15.0**.

Plugins and modules within a collection may be tested with only specific Ansible versions. A collection may contain metadata that identifies these versions.
<!--end requires_ansible-->
Expand Down Expand Up @@ -100,7 +100,7 @@ ansible-playbook -i <ansible_hosts> -e @rhn-creds.yml playbooks/keycloak.yml -e
localhost ansible_connection=local
```
Note: when deploying clustered configurations, all hosts belonging to the cluster must be present in ansible_play_batch; ie. they must be targeted by the same ansible-playbook execution.
Note: when deploying clustered configurations, all hosts belonging to the cluster must be present in `ansible_play_batch`; ie. they must be targeted by the same ansible-playbook execution.
## Configuration
Expand Down
2 changes: 1 addition & 1 deletion meta/runtime.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
requires_ansible: ">=2.14.0"
requires_ansible: ">=2.15.0"
2 changes: 1 addition & 1 deletion roles/keycloak/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ galaxy_info:

license: Apache License 2.0

min_ansible_version: "2.14"
min_ansible_version: "2.15"

platforms:
- name: EL
Expand Down
2 changes: 1 addition & 1 deletion roles/keycloak/tasks/fastpackages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

- name: "Install packages: {{ packages_to_install }}"
become: true
ansible.builtin.yum:
ansible.builtin.dnf:
name: "{{ packages_to_install }}"
state: present
when:
Expand Down
2 changes: 1 addition & 1 deletion roles/keycloak_quarkus/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ galaxy_info:

license: Apache License 2.0

min_ansible_version: "2.14"
min_ansible_version: "2.15"

platforms:
- name: EL
Expand Down
2 changes: 1 addition & 1 deletion roles/keycloak_realm/meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ galaxy_info:

license: Apache License 2.0

min_ansible_version: "2.14"
min_ansible_version: "2.15"

platforms:
- name: EL
Expand Down

0 comments on commit 883127d

Please sign in to comment.