ansible-plugins | Ansible Plugins | Automation library
kandi X-RAY | ansible-plugins Summary
kandi X-RAY | ansible-plugins Summary
Ansible Plugins
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Run Elasticache
- Get a single item from the stack
- Given a security group name return the security group ID
- Return the address of the primary endpoint
- Returns the primary endpoint of the node
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
You can use ansible-plugins like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
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