All Projects → Mic92 → Ansible Lxc

Mic92 / Ansible Lxc

Licence: gpl-3.0
Ansible Connection Plugin for lxc containers (https://linuxcontainers.org/)

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Ansible Lxc

Drill
Drill is a HTTP load testing application written in Rust inspired by Ansible syntax
Stars: ✭ 767 (+4161.11%)
Mutual labels:  ansible
Kubeasz
使用Ansible脚本安装K8S集群,介绍组件交互原理,方便直接,不受国内网络环境影响
Stars: ✭ 7,629 (+42283.33%)
Mutual labels:  ansible
Ansible Modules
Custom ansible modules
Stars: ✭ 17 (-5.56%)
Mutual labels:  ansible
Opscloud
运维管理平台(阿里云),自动同步阿里云配置信息,堡垒机(容器),批量运维,Kubernetes,Zabbix管理等功能
Stars: ✭ 788 (+4277.78%)
Mutual labels:  ansible
Switch Apt Mirror.ansible.role
switch apt mirror for Debian & Ubuntu with Ansible role.
Stars: ✭ 5 (-72.22%)
Mutual labels:  ansible
Gridrouter Docker
Set up GridRouter for selenoid in docker using ansible
Stars: ✭ 16 (-11.11%)
Mutual labels:  ansible
Ansible Ssh Hardening
This Ansible role provides numerous security-related ssh configurations, providing all-round base protection.
Stars: ✭ 746 (+4044.44%)
Mutual labels:  ansible
Azure Openshift
RedHat Openshift Origin cluster on Azure
Stars: ✭ 17 (-5.56%)
Mutual labels:  ansible
Openvpn
Stars: ✭ 5 (-72.22%)
Mutual labels:  ansible
Cv4pve Api Java
Proxmox VE Client API JAVA
Stars: ✭ 17 (-5.56%)
Mutual labels:  lxc
Mysqltools
一个用于快速构建大规模,高质量,全自动化的 mysql分布式集群环境的工具;包含mysql 安装、备份、监控、高可用、读写分离、优化、巡检、自行化运维
Stars: ✭ 795 (+4316.67%)
Mutual labels:  ansible
Ansible Skeleton
The skeleton to create new ansible roles.
Stars: ✭ 5 (-72.22%)
Mutual labels:  ansible
Rpi Dashboard Ansible
Ansible provisioning for our RPI dashboards
Stars: ✭ 16 (-11.11%)
Mutual labels:  ansible
Configuration
A collection of edx configuration scripts and utilities that edx.org uses to deploy openedx.
Stars: ✭ 776 (+4211.11%)
Mutual labels:  ansible
Deploy Docker Swarm
Deploy scripts for docker-swarm.
Stars: ✭ 17 (-5.56%)
Mutual labels:  ansible
Ansible Prometheus
Deploy Prometheus monitoring system
Stars: ✭ 758 (+4111.11%)
Mutual labels:  ansible
Ansible Role Mysql
Ansible Role - MySQL
Stars: ✭ 826 (+4488.89%)
Mutual labels:  ansible
Terrible
Transform Terraform state into Ansible inventories
Stars: ✭ 18 (+0%)
Mutual labels:  ansible
Ansible Jupyter.dockerfile
Building the Docker image with Ansible and Jupyter.
Stars: ✭ 17 (-5.56%)
Mutual labels:  ansible
Ansible Role Htpasswd
Ansible Role - htpasswd
Stars: ✭ 17 (-5.56%)
Mutual labels:  ansible

ansible-lxc

This plugin is part now of ansible 2.1 (see)

Ansible Connection Plugin to deploy to local lxc containers (https://linuxcontainers.org/)

This version requires at least ansible 2.0. If you want to use ansible with older versions checkout v1.0

INSTALL

$ mkdir -p /etc/ansible/connection_plugins/
$ git clone [email protected]:Mic92/ansible-lxc.git /etc/ansible/connection_plugins/lxc

If your ansible code is already managed by git, you might want to add a submodule instead:

$ mkdir -p /etc/ansible/connection_plugins/
$ git submodule add [email protected]:Mic92/ansible-lxc.git /etc/ansible/connection_plugins/lxc
  • Then add lxc directory to plugin search path in ansible.cfg:
connection_plugins = /usr/share/ansible_plugins/connection_plugins:/etc/ansible/connection_plugins/lxc

USAGE

In your hosts file on the server running lxc use the lxc container name (examplecontainer in this case) as hostname and set ansible_connection to lxc:

examplecontainer ansible_connection=lxc
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].