cri-o / cri-o-ansible

Playbooks to install CRI-O from source
52 stars 31 forks source link

Task `install policy.json in Ubuntu` runs on all distros #7

Closed albertomurillo closed 7 years ago

albertomurillo commented 7 years ago

I just noticed the following task

- name: install policy.json in Ubuntu
      shell: |
              cd /root/src/github.com/kubernetes-incubator/cri-o && \
              cp test/policy.json /etc/containers/policy.json

Should this be run on all distros? (remove in Ubuntu from name) Or should this be run only in Ubuntu (add when: ansible_distribution == "Ubuntu")

runcom commented 7 years ago

just Ubuntu, Fedora/RHEL/CentOS has a skopeo-containers native rpm which installs that file directly