Move back to the Xenial repo (#606)

pull/618/head
Jack Ivanov 7 years ago committed by Dan Guido
parent 5755493382
commit 9d8e39f63d

@ -15,10 +15,6 @@
- name: Install strongSwan
package: name=strongswan state=present
- name: Get StrongSwan versions
shell: ipsec --versioncode | grep -oE "^U([0-9]*|\.)*" | sed "s/^U\|\.//g"
register: strongswan_version
- include: ipec_configuration.yml
- include: openssl.yml
tags: update-users

@ -1,18 +0,0 @@
---
- name: Configure apt to use the Xenial release by default
template:
src: 01_xenial_aptconf.j2
dest: /etc/apt/apt.conf.d/01xenial
- name: Configure packages preferences
template:
src: 01_strongswan.pref.j2
dest: /etc/apt/preferences.d/01_strongswan.pref
- name: Configure the Ubuntu Zesty repository
apt_repository:
repo: deb http://mirrors.kernel.org/ubuntu/ zesty main
state: present
filename: 'zesty'
update_cache: yes

@ -3,9 +3,6 @@
- set_fact:
strongswan_additional_plugins: []
- include: ubuntu-hacks.yml
when: ansible_distribution_version == "16.04"
- name: Ubuntu | Install strongSwan
apt:
name: strongswan

@ -1,3 +0,0 @@
Package: *strongswan*
Pin: release n=zesty
Pin-Priority: 9000

@ -1 +0,0 @@
APT::Default-Release "xenial";
Loading…
Cancel
Save