Skip to content

Conversation

@rebtoor
Copy link
Contributor

@rebtoor rebtoor commented Nov 16, 2023

Recently in a PR, one of my colleagues modified a playbook in this way:

  hosts: all
  strategy: linear
  become: true
  any_errors_fatal: "{{ edpm_any_errors_fatal | default(true) }}"
  max_fail_percentage: "{{ edpm_max_fail_percentage | default(0) }}"
<cut>

but the linter failed with error:

schema[playbook]: $[0].max_fail_percentage '{{ edpm_max_fail_percentage | default(0) }}' is not of type 'number'

Hopefully this should solve the issue.

@rebtoor rebtoor requested a review from a team as a code owner November 16, 2023 15:23
@rebtoor rebtoor requested review from a team, cristianonicolai and shatakshiiii and removed request for a team November 16, 2023 15:23
@ssbarnea ssbarnea added the bug label Nov 20, 2023
@ssbarnea ssbarnea merged commit 6e78ac3 into ansible:main Nov 20, 2023
rebtoor added a commit to rebtoor/edpm-ansible that referenced this pull request Nov 29, 2023
This is needed to include this [1] pr.

[1] ansible/ansible-lint#3901

Signed-off-by: Roberto Alfieri <[email protected]>
rebtoor added a commit to rebtoor/edpm-ansible that referenced this pull request Nov 30, 2023
This is needed to include this [1] pr.

[1] ansible/ansible-lint#3901

Signed-off-by: Roberto Alfieri <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

2 participants