I have a specific requirement, where I can use alone without vagrant in my host machine.
Two questions related to it:
- Is it possible to spin VM on a host machine using a libvirt / KVM account as a hypervisor? I know that the responsive is called a module which is capable of doing this. But I could not find any real example of using this. Appreciation If someone can point me through example YAML through which I can spin VM
- With Ansible, is it possible to run my playbook with Python code? If I'm not mistaken then there is a Python API supported by Ansabal. But it is possible to give YAML files as input to this API, which performs tasks from YAML.
- Of course - if you have SSH access.
- Yes, you can run responsive through your Python API or command line call. About passing YAML file - too - Yes.
No comments:
Post a Comment