Skip to content

Add ansible 2.19 support#94

Merged
mbaldessari merged 42 commits intovalidatedpatterns:mainfrom
mbaldessari:makeitwork-ansible-2.19
Feb 16, 2026
Merged

Add ansible 2.19 support#94
mbaldessari merged 42 commits intovalidatedpatterns:mainfrom
mbaldessari:makeitwork-ansible-2.19

Conversation

@mbaldessari
Copy link
Contributor

  • Add initial readable callback
  • Drop all /dev/tty uses
  • Drop stats
  • Drop display on start
  • Fix warning on values-secret yaml file
  • Avoid warning about from_yaml and dict
  • start cleaning up install/show messages
  • Assert tasks output should be simpler
  • Do not print stdout on command and shell
  • Stop printing hostname and also use less newlines
  • Use newline before command/shell/assert msg output and use verbose color for it
  • Do not print the error when ignore_errors: true, only a warning
  • Fix warning on disable_validate_origin
  • Use "is failed" instead of .rc != 0
  • Use debug instead of shell in health_checks
  • Do not output stdout on kubernetes.core.k8s_{info,exec}
  • Drop another printf
  • Do not display 'ok' for each task in a loop
  • Introduce a "simple_failure" tag
  • Drop simple_failure flag, does not work as intended
  • Do not pring msg when a failed task has failed_when: false
  • Fix linting errors
  • Some more ansible-lint fixes
  • Fix python isort
  • Fix dns validation message
  • Ignore ansible-lint warnings on git command
  • Ignore ansible-lint warnings on git command (2)
  • more cleanup of common roles/playbooks
  • argo healthcheck fails when 0 argo apps found
  • When an assert has the quiet: true attribute only display the msg in normal color
  • Stop printing the included: playbooks
  • Some linting fixes
  • Stop printing skipped tasks
  • Add pip to the skip stdout modules
  • Add community.general to the requirements.yml
  • Update super-linter to v8.5.0
  • Spelling fixes
  • Disable black for now
  • Add dependabot cooldown
  • Pin actions to hashes

mbaldessari and others added 30 commits February 3, 2026 19:12
Avoids the following:

  [WARNING]: Encountered 1 template error.
  error 1 - object of type 'dict' has no attribute 'stat'
  Origin: /pattern-home/.ansible/collections/ansible_collections/rhvp/cluster_utils/roles/find_vp_secrets/tasks/main.yml:18:9
  16   when: custom_env_values_secret | default('') | length > 0
  17
  18 - name: Set values-secret yaml file to {{ custom_file_values_secret.stat.path }}
             ^ column 9
Fixes the following warning:

    Determine how to load secrets...
    [DEPRECATION WARNING]: The from_yaml filter ignored non-string input of type 'dict'. This feature will be removed from ansible-core version 2.23.
    Origin: <unknown>:6:1
    {'version': '2.0', 'secrets': [{'name': 'config-demo', 'vaultPrefixes': ['global'], 'fields': [{'name': 'secret', [...]
start cleaning up install/show messages
This was the warning:

        Resolve disable_validate_origin flag...[WARNING]: Deprecation warnings can be disabled by setting `deprecation_warnings=False` in ansible.cfg.
        [DEPRECATION WARNING]: The `bool` filter coerced invalid value '' (str) to False. This feature will be removed from ansible-core version 2.23.
This will avoid printing failure exceptions, so that the

    Fail if any applications are not healthy/synced...  1 application(s) are not healthy/synced

Tasks don't print the whole exception
@mbaldessari mbaldessari merged commit d5b1fc8 into validatedpatterns:main Feb 16, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments