mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-23 13:20:23 -07:00
Initial commit
This commit is contained in:
commit
aebc1b03fd
4861 changed files with 812621 additions and 0 deletions
1
tests/integration/targets/connection_lxc/aliases
Normal file
1
tests/integration/targets/connection_lxc/aliases
Normal file
|
@ -0,0 +1 @@
|
|||
unsupported
|
1
tests/integration/targets/connection_lxc/runme.sh
Symbolic link
1
tests/integration/targets/connection_lxc/runme.sh
Symbolic link
|
@ -0,0 +1 @@
|
|||
../connection_posix/test.sh
|
|
@ -0,0 +1,17 @@
|
|||
[lxc]
|
||||
lxc-pipelining ansible_ssh_pipelining=true
|
||||
lxc-no-pipelining ansible_ssh_pipelining=false
|
||||
[lxc:vars]
|
||||
# 1. install lxc
|
||||
# 2. install python2-lxc
|
||||
# $ pip install git+https://github.com/lxc/python2-lxc.git
|
||||
# 3. create container:
|
||||
# $ sudo lxc-create -t download -n centos-7-amd64 -- -d centos -r 7 -a amd64
|
||||
# 4. start container:
|
||||
# $ sudo lxc-start -n centos-7-amd64 -d
|
||||
# 5. run test:
|
||||
# $ sudo -E make test_connection_lxc
|
||||
# 6. stop container
|
||||
# $ sudo lxc-stop -n centos-7-amd64
|
||||
ansible_host=centos-7-amd64
|
||||
ansible_connection=lxc
|
Loading…
Add table
Add a link
Reference in a new issue