fix: fix registry login vars
This commit is contained in:
parent
1cb16da3e4
commit
13672e86ab
@ -49,13 +49,13 @@
|
|||||||
|
|
||||||
- name: Handle registry logins
|
- name: Handle registry logins
|
||||||
containers.podman.podman_login:
|
containers.podman.podman_login:
|
||||||
registry: "{{ item.url | default(omit) }}"
|
registry: "{{ item.registry }}"
|
||||||
username: "{{ item.username }}"
|
username: "{{ item.username }}"
|
||||||
password: "{{ item.password }}"
|
password: "{{ item.password }}"
|
||||||
state: '{{ item.state | default("present") }}'
|
state: '{{ item.state | default("present") }}'
|
||||||
loop: "{{ podman_registries }}"
|
loop: "{{ podman_registries }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
label: "{{ item.url }}"
|
label: "{{ item.registry }}"
|
||||||
|
|
||||||
- name: Enable podman socket
|
- name: Enable podman socket
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
|
Loading…
Reference in New Issue
Block a user