SUSE: Use the OBS Virtualization repository for lxc-2.X.X
openSUSE Leap ships lxc-1.1.5 which is rather old and unmaintained. It's best to use the OBS development repository to get the latest lxc-2.X.X which is the one maintained upstream. Change-Id: I5a7baa3374bad67dcafc5c78f16b0dd4cae49ee4
This commit is contained in:
parent
52bde088a0
commit
1284067625
@ -13,6 +13,17 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
- name: Add zypper containers repository
|
||||
zypper_repository:
|
||||
auto_import_keys: yes
|
||||
autorefresh: yes
|
||||
name: "{{ item.name }}"
|
||||
repo: "{{ item.uri }}"
|
||||
runrefresh: yes
|
||||
with_items: "{{ lxc_hosts_external_repo }}"
|
||||
tags:
|
||||
- lxc_hosts-config
|
||||
|
||||
- name: Install zypper packages
|
||||
zypper:
|
||||
name: "{{ lxc_hosts_distro_packages }}"
|
||||
|
@ -14,6 +14,10 @@
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
lxc_hosts_external_repo:
|
||||
- name: "OBS:Virtualization:containers"
|
||||
uri: "http://download.opensuse.org/repositories/Virtualization:/containers/openSUSE_Leap_{{ ansible_distribution_version }}/"
|
||||
|
||||
system_config_dir: "/etc/sysconfig"
|
||||
systemd_utils_prefix: "/usr/lib/systemd"
|
||||
|
||||
@ -29,7 +33,7 @@ lxc_hosts_distro_packages:
|
||||
- git-core
|
||||
- libseccomp2
|
||||
- lxc
|
||||
- lxc-devel
|
||||
- liblxc-devel
|
||||
- xz
|
||||
|
||||
lxc_xz_bin: xz
|
||||
|
Loading…
Reference in New Issue
Block a user