Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changed vars from list to dictionaries in playbooks #5710

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Beck-Davis
Copy link
Contributor

Receiving deprecation warnings on playbooks that lists for vars will not be used in Ansible v2.18.
Changing Vars sections to dictionaries by removing the - from the items.

Testing each playbook with lists in the vars section using --check before and after making the change:
example ansible-playbook playbooks/utils/expand_disk.yml --check

Closes #5293

Copy link
Member

@kayiwa kayiwa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK! Thanks @Beck-Davis

@Beck-Davis Beck-Davis marked this pull request as ready for review January 10, 2025 15:46
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.

Change lists into dicts in the 'vars:' sections of playbooks
3 participants