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

Parameters sent to docker plugin including spaces are truncated #37

Open
fgutierrezz opened this issue Feb 1, 2019 · 1 comment
Open

Comments

@fgutierrezz
Copy link

When a rundeck option is a text string with space(as highlighted below), and nested in the ansible --extra-vars, it will be trunked or cause job failure if trying to use quote(either single or double quote) to escape the space.the same command works on unix command line, docker exec on unix and on rundeck directly without docker plugin. example of the command.

Example of the command line:
docker exec -d rundeck-agent ansible localhost -c local -i 'localhost,' -m include_role -a name=servicenow --extra-vars "servicenow_username=admin servicenow_password=password servicenow_instance_name=instance_name servicenow_ticket_action=new servicenow_ticket_type=sc_req_item servicenow_ticket_subjectline='this is a test ticket from rundeck' servicenow_ticket_comments='this is a test comment from command line docker'"

@ltamaster
Copy link
Contributor

@fgutierrezz do you have a job example for this case?

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

No branches or pull requests

2 participants