This website requires JavaScript.
Explore
Cloud
Chat
CI/CD
Help
Sign in
cmueller
/
ansible
Watch
1
Star
0
Fork
You've already forked ansible
0
Code
Issues
Pull requests
Projects
Releases
Wiki
Activity
0c101f3f76
ansible
/
test
/
integration
/
targets
/
conditionals
/
runme.sh
6 lines
81 B
Bash
Raw
Normal View
History
Unescape
Escape
remove bare var handling in conditionals (#51030) * remove bare var handling in conditionals this makes top level and multilevel vars (dicts keys) behave the same it will require adding |bool for 'string comparissons' in indirect templates - added new tests to ensure uniform handling - switched to 'is' testing for status - changed warning to 'conditional' as 'when:' is not only place it gets triggered * updated to include toggle and deprecation * fix deprecated * updated tests to handle toggle * fixed typo and added note about the future
2019-01-30 21:00:24 +01:00
#!/usr/bin/env bash
set
-eux
[conditional] Remove support for bare variables (#74208) Change: - Variables used in ``when`` conditionals are no longer parsed and attempted to be converted to booleans. All non-empty strings are considered true (empty strings, false). Test Plan: - Updated existing tests - Added a bunch of new tests with various kinds of truthy/falsy values. Tickets: - Fixes #74134 Signed-off-by: Rick Elrod <rick@elrod.me>
2021-04-13 17:12:10 +02:00
ansible-playbook -i ../../inventory play.yml
"
$@
"
Reference in a new issue
Copy permalink