Update cobbler_image.yml
---
- name: Image creation (It may take 5-10 mins)
- command: "buildah bud -t {{ cobbler_image_name }}:{{ cobbler_image_tag }} --network host ."
+ command: "buildah bud -f Dockerfile_rocky -t {{ cobbler_image_name }}:{{ cobbler_image_tag }} --network host ."
changed_when: true
args:
chdir: "{{ role_path }}/files/"
when:
- not cobbler_image_status
- - provision_os != os_supported_leap
+ - mgmt_os == os_supported_rocky
tags: install
- name: Image creation (It may take 5-10 mins)
chdir: "{{ role_path }}/files/"
when:
- not cobbler_image_status
- - provision_os == os_supported_leap
+ - mgmt_os == os_supported_leap
tags: install
- name: Update image name in k8s_cobbler.yml
