You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
it is not possible to pass variables to ansible-playbook with -e @file.yml or -e @file.json as descripted in the official ansible docs.
This special syntax cannot be used in the extra variables section of an environment, because this expects a key-value pair.
I tried to specify it as a -e @le***/***.yml cli-argument in a task, but it doesn't work.
I took a look at the log and maybe found the reason. A blank is added before the at-sign (@), which maybe prevent the right intepretation by ansible, which normally would transform such an argument into an absolute path, if possible. See attached image
Issue
Hi,
it is not possible to pass variables to ansible-playbook with
-e @file.yml
or-e @file.json
as descripted in the official ansible docs.This special syntax cannot be used in the extra variables section of an environment, because this expects a key-value pair.
I tried to specify it as a
-e @le***/***.yml
cli-argument in a task, but it doesn't work.I took a look at the log and maybe found the reason. A blank is added before the at-sign (@), which maybe prevent the right intepretation by ansible, which normally would transform such an argument into an absolute path, if possible. See attached image
Kind regards
dev@webid
Impact
Ansible (task execution)
Installation method
Docker
Database
MySQL
Browser
Firefox
Semaphore Version
2.10.43
Ansible Version
Logs & errors
Manual installation - system information
No response
Configuration
No response
Additional information
No response
The text was updated successfully, but these errors were encountered: