ansible-plugins | Various Ansible plugins | Plugin library
kandi X-RAY | ansible-plugins Summary
kandi X-RAY | ansible-plugins Summary
Various Ansible plugins.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Parse ansible_host
- Check if s is a valid IP address
- Check if given path is a placeholder
- Convert acme format to ASN1 format
- Encrypt data
- Search a list of files
- Search for a given string in a file
- Verify that the given file is a placeholder
ansible-plugins Key Features
ansible-plugins Examples and Code Snippets
Community Discussions
Trending Discussions on ansible-plugins
QUESTION
I am new to ansible, and I am trying to use ansible on some lxc containers. My problem is that I don't want to install ssh on my containers. So
What I tried:
I tried to use this connection plugin but it seams that it does not work with ansible 2.
After understanding that chifflier connection plugin doesn't work, I tried to use the connection plugin from openstack.
After some failed attempts I dived into the code, and I understand that the plugin doesn't have the information that the host I am talking with is a container.(because the code never reached this point)
My current setup: {Ansbile host}---|ssh|---{vm}--|ansible connection plugin|---{container1}
My ansible.cfg:
...ANSWER
Answered 2017-Jul-17 at 20:21You should take a look at this lxc connection plugin. It might fit your needs.
Edit : lxc
connection plugin is actually part of Ansible.
Just add ansible_connection=lxc
in your inventory or group vars.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install ansible-plugins
See examples in role vars
See examples in docs
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page