Skip to content

Failing Travis Build. #159

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 10 additions & 9 deletions roles/container-runtime/tasks/crio.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
- name: Installing Prerequisites for Kubernetes
apt:
apt:
name: apt-transport-https
state: present

- name: Configure module for CRIO
copy:
copy:
src: crio.conf
dest: /etc/modules-load.d/crio.conf
mode: 0644
Expand All @@ -13,15 +14,15 @@
shell: "sysctl --system"

- name: Put kubernetes-cri Conf file
copy:
copy:
src: 99-kubernetes-cri.conf
dest: /etc/sysctl.d/99-kubernetes-cri.conf
mode: 0644

- name: Creates directory
- name: Creates directory
file:
path: /etc/cni/net.d
state: directory
state: directory

- name: Put 10-crio.conf template
template:
Expand All @@ -35,23 +36,23 @@
changed_when: False

- set_fact:
OS: "xUbuntu_{{ os.stdout }}"
OS: "xUbuntu_{{ os.stdout }}"

- name: Getting Version for CRIO
shell: echo {{ kube_version }} | cut -d'.' -f1,2
register: version
changed_when: False

- set_fact:
VERSION: "{{ version.stdout }}"
VERSION: "{{ version.stdout }}"

- name: Get CRIO apt-key
apt_key:
apt_key:
url: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/{{ OS }}/Release.key
state: present

- name: Get CRIO apt-key
apt_key:
apt_key:
url: https://download.opensuse.org/repositories/devel:kubic:libcontainers:stable:cri-o:{{ VERSION }}/{{ OS }}/Release.key
state: present

Expand Down