Role lxc_hosts for OpenStack-Ansible
cbf79113c4
When executing the role with Ansible 2.1, the following deprecation warning is issued in the output for some tasks. [DEPRECATION WARNING]: Using bare variables is deprecated. This patch addresses the tasks to fix the behaviour appropriately. The patch also addresses removing the use of with_items if the list only contains a single item. Change-Id: I8326d53d3a57fd84a55febc21f6ae1a64fced415 |
||
---|---|---|
defaults | ||
doc | ||
files | ||
handlers | ||
meta | ||
releasenotes | ||
tasks | ||
templates | ||
tests | ||
vars | ||
.gitignore | ||
.gitreview | ||
CONTRIBUTING.rst | ||
LICENSE | ||
manual-test.rc | ||
other-requirements.txt | ||
README.rst | ||
run_tests.sh | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
OpenStack-Ansible LXC hosts
Ansible role that configures a host for running LXC containers.
Default Variables
../../defaults/main.yml
Required Variables
None
Example Playbook
- name: Basic lxc host setup
hosts: "hosts"
user: root
roles:
- { role: "lxc_hosts" }