|
@@ -14,13 +14,13 @@
|
|
|
---
|
|
|
|
|
|
- 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)
|
|
@@ -30,7 +30,7 @@
|
|
|
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
|
|
@@ -48,4 +48,4 @@
|
|
|
- name: Deploy cobbler pod
|
|
|
command: "kubectl apply -f {{ role_path }}/files/k8s_cobbler.yml"
|
|
|
changed_when: true
|
|
|
- tags: install
|
|
|
+ tags: install
|