openstack-ansible-lxc_conta.../tests/host_vars/container1.yml

13 lines
319 B
YAML

---
ansible_host: 10.100.100.2
ansible_become: True
ansible_user: root
lxc_container_config_list:
- "lxc.aa_profile=lxc-openstack"
- "lxc.mount.entry=/openstack/{{ inventory_hostname }} opt/test1 none bind,create=dir 0 0"
lxc_container_commands: |
if [[ ! -d "/opt/test1" ]]; then
mkdir -p "/opt/test1"
fi