8000 Add additional "safe" filters to entries in Vagrantfile by samiam · Pull Request #153 · ansible-community/molecule-plugins · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Add additional "safe" filters to entries in Vagrantfile #153

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

Conversation

samiam
Copy link
Contributor
@samiam samiam commented May 15, 2023

Piggy-backing #141

Add some additional "safe" filters to other entries in the Vagrantfile.

# Validate Vagrantfile
vagrantdir = os.path.dirname(vagrantfile)
result = vagrant.Vagrant().validate(vagrantdir)
assert result.returncode == 0
Copy link
Member

Choose a reason for hiding this comment

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

hm. Why is it needed ? iirc, the plugin code should already be running validate

Copy link
Contributor Author

Choose a reason for hiding this comment

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

'Cause I'm a noob and didn't realize validate was being called.
I've removed it.

@samiam samiam force-pushed the extra_safe_filters branch from 85c459f to bf0b984 Compare May 31, 2023 04:03
@apatard apatard added bug Something isn't working vagrant labels May 31, 2023
@apatard apatard merged commit 0d120d8 into ansible-community:main May 31, 2023
@apatard
Copy link
Member
apatard commented May 31, 2023

Thanks for your PR. I hope there's no more |safe filter needed anymore. Fingers crossed.

@samiam samiam deleted the extra_safe_filters branch August 14, 2023 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working vagrant
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0