cri-o registry auth support (#7837)

* cri-o registry auth support

* yaml lint for comments

* crio_registry_auth from registry_auth

* crio_registry_auth as defaults
This commit is contained in:
kranthi guttikonda
2021-09-01 13:20:59 -04:00
committed by GitHub
parent e1967b0700
commit 81bf4f9304
5 changed files with 37 additions and 1 deletions

View File

@@ -80,6 +80,12 @@
mode: 0644
register: config_install
- name: Install config.json
template:
src: config.json.j2
dest: /etc/crio/config.json
register: reg_auth_install
- name: Add skopeo pkg to install
set_fact:
crio_packages: "{{ crio_packages + skopeo_packages }}"
@@ -198,6 +204,7 @@
state: restarted
when:
- config_install.changed
- reg_auth_install.changed
- not package_install.changed
- not service_start.changed