Debian Codegraph @

ansible_collections/community/general/tests/integration/targets/connection_lxc/test_connection.inventory

raw
1 # Copyright (c) Ansible Project
2 # GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
3 # SPDX-License-Identifier: GPL-3.0-or-later
4
5 [lxc]
6 lxc-pipelining ansible_ssh_pipelining=true
7 lxc-no-pipelining ansible_ssh_pipelining=false
8 [lxc:vars]
9 # 1. install lxc
10 # 2. install python2-lxc
11 # $ pip install git+https://github.com/lxc/python2-lxc.git
12 # 3. create container:
13 # $ sudo lxc-create -t download -n centos-7-amd64 -- -d centos -r 7 -a amd64
14 # 4. start container:
15 # $ sudo lxc-start -n centos-7-amd64 -d
16 # 5. run test:
17 # $ sudo -E make test_connection_lxc
18 # 6. stop container
19 # $ sudo lxc-stop -n centos-7-amd64
20 ansible_host=centos-7-amd64
21 ansible_connection=community.general.lxc