Merge pull request #232 from guidograzioli/linter_ansible_215

Update minimum ansible-core version > 2.15
This commit is contained in:
Guido Grazioli 2024-05-22 10:04:41 +02:00 committed by GitHub
commit 883127d280
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
8 changed files with 15 additions and 9 deletions

View file

@ -5,6 +5,7 @@ on:
branches: branches:
- main - main
pull_request: pull_request:
workflow_dispatch:
schedule: schedule:
- cron: '15 6 * * *' - cron: '15 6 * * *'

View file

@ -15,7 +15,8 @@ rules:
commas: commas:
max-spaces-after: -1 max-spaces-after: -1
level: error level: error
comments: disable comments:
min-spaces-from-content: 1
comments-indentation: disable comments-indentation: disable
document-start: disable document-start: disable
empty-lines: empty-lines:
@ -31,3 +32,7 @@ rules:
type: unix type: unix
trailing-spaces: disable trailing-spaces: disable
truthy: disable truthy: disable
octal-values:
forbid-implicit-octal: true
forbid-explicit-octal: true

View file

@ -11,7 +11,7 @@ Collection to install and configure [Keycloak](https://www.keycloak.org/) or [Re
<!--start requires_ansible--> <!--start requires_ansible-->
## Ansible version compatibility ## 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. 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--> <!--end requires_ansible-->
@ -100,7 +100,7 @@ ansible-playbook -i <ansible_hosts> -e @rhn-creds.yml playbooks/keycloak.yml -e
localhost ansible_connection=local 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 ## Configuration

View file

@ -1,2 +1,2 @@
--- ---
requires_ansible: ">=2.14.0" requires_ansible: ">=2.15.0"

View file

@ -12,7 +12,7 @@ galaxy_info:
license: Apache License 2.0 license: Apache License 2.0
min_ansible_version: "2.14" min_ansible_version: "2.15"
platforms: platforms:
- name: EL - name: EL

View file

@ -14,7 +14,7 @@
- name: "Install packages: {{ packages_to_install }}" - name: "Install packages: {{ packages_to_install }}"
become: true become: true
ansible.builtin.yum: ansible.builtin.dnf:
name: "{{ packages_to_install }}" name: "{{ packages_to_install }}"
state: present state: present
when: when:

View file

@ -8,7 +8,7 @@ galaxy_info:
license: Apache License 2.0 license: Apache License 2.0
min_ansible_version: "2.14" min_ansible_version: "2.15"
platforms: platforms:
- name: EL - name: EL

View file

@ -8,7 +8,7 @@ galaxy_info:
license: Apache License 2.0 license: Apache License 2.0
min_ansible_version: "2.14" min_ansible_version: "2.15"
platforms: platforms:
- name: EL - name: EL