-
Notifications
You must be signed in to change notification settings - Fork 21
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
Using a pre-defined Ansible node #770
Comments
It needs to have Ansible version (2.0 or higher) installed and configured. |
Ok, that's what I've tried, using Ansible 2.7.6 with the same
One definite (and bad) problem I've found is that the security groups generated by IM don't allow the Ansible node to access any of the VMs created by IM via ssh. Is there any way to specify a default security group or to add tcp port 22 from a specific host? (I'm currently testing this using OpenStack). |
You are right I forgot that some IM files are copied into the master VM so, also de the IM must be installed in the ansible host. Regarding the security groups issue. You can add the port 22 to the ourports keywork of the networs used, to assure that the port is opened in the SGs of all VMs:
|
I've now installed IM on the Ansible host. I've also have tried changing:
to
but this unfortunately doesn't have any affect on the security groups created by IM. As a workaround I've therefore modified create_security_groups in IM/connectors/OpenStack.py in order to add a security group with port 22 open. I still get the "No such file" error as before. I tried increasing LOG_LEVEL to DEBUG in im.cfg but it doesn't seem to provide any more information about what's going wrong. |
The issue with port 22 is a bug in the connectors: see #771 |
I had time to test it. |
From looking at https://imdocs.readthedocs.io/en/latest/radl.html it seems to be possible to use a specified Ansible node (using the
ansible
keyword) as an alternative to using Ansible on the IM node.What are the requirements of this node, besides being accessible by IM via ssh and having ssh access to nodes provisioned by IM? e.g. does it need to have a specific version of Ansible pre-installed and configured?
The text was updated successfully, but these errors were encountered: