12345678910111213141516171819202122232425262728293031323334353637383940 |
- ---
- - name: Replace the rocky os version in dockerfile
- replace:
- path: "{{ item.path }}"
- regexp: '^FROM rockylinux/rockylinux:docker_os'
- replace: 'FROM rockylinux/rockylinux:{{ docker_rocky_os_version }}'
- with_items:
- - { path: "{{ cobbler_rocky_dockerfile_path }}"}
- - { path: "{{ ib_dockerfile_path }}"}
- - name: Replace the leap os version in dockerfile
- replace:
- path: "{{ item.path }}"
- regexp: '^FROM registry.opensuse.org/opensuse/leap:docker_os'
- replace: 'FROM registry.opensuse.org/opensuse/leap:{{ docker_leap_os_version }}'
- with_items:
- - { path: "{{ cobbler_leap_dockerfile_path }}"}
- - name: Replace the alpine os version in dockerfile
- replace:
- path: "{{ item.path }}"
- regexp: '^FROM alpine:docker_os'
- replace: 'FROM alpine:{{ docker_alpine_os_version }}'
- with_items:
- - { path: "{{ mgmnt_dockerfile_path }}"}
|