Skip to content

Commit

Permalink
Add /etc/osism-ci-image file (#35)
Browse files Browse the repository at this point in the history
This way it is possible to check if the CI image is in use.

Signed-off-by: Christian Berendt <berendt@osism.tech>
  • Loading branch information
berendt committed Dec 30, 2023
1 parent 4711ca9 commit 7a65d74
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion playbooks/diskimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
roles:
- role: osism.commons.docker_compose

- name: Apply role docker
- name: Other preparations
hosts: localhost
connection: local
gather_facts: true
Expand Down Expand Up @@ -104,3 +104,11 @@
ansible.builtin.command:
cmd: "skopeo copy docker://osism.harbor.regio.digital/kolla/release/{{ item }} dir:/home/dragon/images/{{ item }}"
loop: "{{ images_openstack }}"

- name: Create /etc/osism-ci-image file
ansible.builtin.copy:
content: 1
dest: /etc/osism-ci-image
owner: root
group: root
mode: 0644

0 comments on commit 7a65d74

Please sign in to comment.