Failed to connect to the host via ssh: hostname contains invalid characters
when using $playbook->inventory(...)
#92
Labels
ansible-playbook [core 2.15.8]
The above example fails with the following error:
Looking through the logs, it appears the
--inventory
option is added using incorrect format:Removing the double-quotes around the hostname fixes the connection issue:
php-ansible/Asm/Ansible/Command/AnsiblePlaybook.php
Line 295 in 4e96de9
Should be changed to:
The text was updated successfully, but these errors were encountered: