Open
Description
We probably need to expand this to work with distro packages. Installing of the kubernets packages at the end were causing me issues also.
Here is the diff that I used to make it work on fedora 26
diff --git a/cri-o.yml b/cri-o.yml
index ab681b9..b9e707d 100644
--- a/cri-o.yml
+++ b/cri-o.yml
@@ -33,6 +33,9 @@
- skopeo-containers
- tar
- wget
+ - runc
+ - cri-o
+ - kubernetes
when: ansible_distribution == 'Fedora'
- name: Make sure we have all required packages on RHEL/CentOS
@@ -125,7 +128,7 @@
make install
- name: link runc
- file: src=/usr/local/sbin/runc dest=/usr/bin/runc state=link
+ file: src=/usr/local/sbin/runc dest=/usr/bin/runc state=link force=true
- name: build cri-o
shell: |
@@ -135,6 +138,7 @@
make install && \
make install.systemd && \
make install.config
+ when: ansible_distribution != 'Fedora'
- name: install policy.json in Ubuntu
shell: |
diff --git a/install/kubernetes.yml b/install/kubernetes.yml
index e9f886a..cec7e56 100644
--- a/install/kubernetes.yml
+++ b/install/kubernetes.yml
@@ -30,3 +30,4 @@
- kubeadm
- kubectl
- kubernetes-cni
+ when: ansible_distribution != "Fedora"
Metadata
Metadata
Assignees
Labels
No labels