Remove support for lxc2 config keys

Change-Id: Ibee85b90813696ef9ac41a2f978035fe272234e6
This commit is contained in:
Jonathan Rosser 2020-10-06 11:44:30 +01:00
parent 1f88699b05
commit 102ed48c0d

View File

@ -24,10 +24,5 @@ physical_host: localhost
properties: properties:
service_name: "{{ inventory_hostname }}" service_name: "{{ inventory_hostname }}"
lxc2_container_config_list: lxc_container_config_list:
- 'lxc.aa_profile=unconfined'
lxc3_container_config_list:
- 'lxc.apparmor.profile=unconfined' - 'lxc.apparmor.profile=unconfined'
lxc_container_config_list: "{{ lookup('pipe', 'lxc-info --version || echo 2.0.0') is version_compare('3.0.0', 'lt') | ternary(lxc2_container_config_list, lxc3_container_config_list) }}"