Skip to content

Commit 0f922ea

Browse files
author
Alberto Murillo
committed
Fix install policy.json task
task: install policy.json in Ubuntu was running in all distros. Fixes #7 Signed-off-by: Alberto Murillo <[email protected]>
1 parent 0194ed6 commit 0f922ea

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

cri-o.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,7 @@
141141
shell: |
142142
cd /root/src/github.com/kubernetes-incubator/cri-o && \
143143
cp test/policy.json /etc/containers/policy.json
144+
when: ansible_distribution == 'Ubuntu'
144145
- name: build CNI stuff
145146
shell: |
146147
cd /root/src/github.com/containernetworking/plugins && \

0 commit comments

Comments
 (0)