Fix lint errors
Some checks reported errors
continuous-integration/drone/push Build encountered an error
Some checks reported errors
continuous-integration/drone/push Build encountered an error
This commit is contained in:
parent
1e20bf368e
commit
93ba66e471
3 changed files with 9 additions and 7 deletions
|
|
@ -68,7 +68,7 @@
|
|||
ansible.builtin.command:
|
||||
cmd: dnf -y copr enable rhcontainerbot/container-selinux
|
||||
creates: /etc/yum.repos.d/_copr:copr.fedorainfracloud.org:rhcontainerbot:container-selinux.repo
|
||||
warn: no
|
||||
warn: false
|
||||
- name: Install container-selinux GPG key
|
||||
ansible.builtin.rpm_key:
|
||||
key: "https://download.copr.fedorainfracloud.org/results/rhcontainerbot/container-selinux/pubkey.gpg"
|
||||
|
|
@ -76,26 +76,26 @@
|
|||
|
||||
- name: Registering libcontainers repository
|
||||
ansible.builtin.get_url:
|
||||
url: https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_{{ ansible_distribution_major_version }}/devel:kubic:libcontainers:stable.repo
|
||||
url: "{{ crio_base_url }}/stable/CentOS_{{ ansible_distribution_major_version }}/devel:kubic:libcontainers:stable.repo"
|
||||
dest: /etc/yum.repos.d/devel:kubic:libcontainers:stable.repo
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
- name: Install libcontainers GPG key
|
||||
ansible.builtin.rpm_key:
|
||||
key: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key"
|
||||
key: "{{ crio_base_url }}/stable/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key"
|
||||
state: present
|
||||
|
||||
- name: Registering CRI-O {{ crio_version }} repository
|
||||
ansible.builtin.get_url:
|
||||
url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/devel:kubic:libcontainers:stable:cri-o:{{ crio_version }}.repo"
|
||||
url: "{{ crio_base_url }}/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/devel:kubic:libcontainers:stable:cri-o:{{ crio_version }}.repo"
|
||||
dest: "/etc/yum.repos.d/devel:kubic:libcontainers:stable:cri-o:{{ crio_version }}.repo"
|
||||
owner: root
|
||||
group: root
|
||||
mode: 0644
|
||||
- name: Install CRI-O GPG key
|
||||
ansible.builtin.rpm_key:
|
||||
key: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key"
|
||||
key: "{{ crio_base_url }}/stable:/cri-o:/{{ crio_version }}/CentOS_{{ ansible_distribution_major_version }}/repodata/repomd.xml.key"
|
||||
state: present
|
||||
|
||||
- name: Update package manager list
|
||||
|
|
@ -138,4 +138,4 @@
|
|||
enabled: true
|
||||
|
||||
tags:
|
||||
- crio
|
||||
- crio
|
||||
|
|
|
|||
|
|
@ -1,3 +1,3 @@
|
|||
---
|
||||
crio_package_name:
|
||||
crio_package_name:
|
||||
- cri-o
|
||||
|
|
|
|||
2
vars/main.yml
Normal file
2
vars/main.yml
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
---
|
||||
crio_base_url: "https://download.opensuse.org/repositories/devel:/kubic:/libcontainers:"
|
||||
Loading…
Add table
Add a link
Reference in a new issue