communitycomponent:uihelp wantedtype:bug
描述
Please confirm the following
- I agree to follow this project's code of conduct.
- I have checked the current issues for duplicates.
- I understand that AWX is open source software provided for free and that I might not receive a timely response.
- I am NOT reporting a (potential) security vulnerability. (These should be emailed to
security@ansible.cominstead.)
Bug Summary
Check mode doesn't work correctly cause all printed jinja2 variables (Host and Group variables) sorted alphabetically. Variables in inventory also sorted alphabetically. Can check original order. It's important cause if access and deny order changed config will be broken.
access_log /var/log/nginx/xxx.log;
+ client_max_body_size 50m;
error_log /var/log/nginx/xxx.log notice;
+ proxy_connect_timeout 10;
proxy_pass http://192.168.10.115:9080;
+ proxy_send_timeout 360;
proxy_set_header X-Forwarded-Proto $scheme;
- proxy_send_timeout 360;
- proxy_connect_timeout 10;
- client_max_body_size 50m;
AWX version
24.6.2.dev0
Select the relevant components
- UI
- UI (tech preview)
- API
- Docs
- Collection
- CLI
- Other
Installation method
docker development environment
Modifications
no
Ansible version
No response
Operating system
No response
Web browser
No response
Steps to reproduce
Used project with git source and inventory from project.
Expected results
If used ansible --check --diff option no changes found.
Actual results
Changes found cause lines reodered alphabetically
Additional information
Option to view sorted variables helphul but only if not applied to real configs.