Skip to content

Commit

Permalink
cli: pin ansible-microshift-role
Browse files Browse the repository at this point in the history
Ensure we use a specific version of the role rather than master.

Change-Id: Ifee46e45535a45724e62438077122de206fc65be
  • Loading branch information
mhuin committed Jun 13, 2024
1 parent fce0e5b commit a65d4a5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cli/cmd/dev/microshift/static/all.yaml.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,16 @@
microshift_ip: {{ "\"{{ hostvars.microshift.ansible_host }}\"" }}
microshift_fqdn: microshift.dev
sf_fqdn: {{ .FQDN }}

# The following variables will be used to check out the ansible-microshift-role role at a pinned version
microshift_role_path: "{{ .MicroshiftRolePath }}"
microshift_role_version: 172b6b2161b357ad4d364d5298b5b238732e7204

# The following variables are used when the ansible-microshift-role role is called
disk_file_sparsed: true
disk_file_size: {{ .DiskFileSize }}
etcd_on_ramdisk: {{ .ETCDOnRAMDisk }}
setup_olm: true
olm_version: v0.24.0
microshift_version: 4.13
operator_sdk_version: v1.28.0
microshift_additional_addresses:
- {{ "\"{{ microshift_fqdn }}\"" }}
- {{ "\"{{ sf_fqdn }}\"" }}
microshift_role_path: "{{ .MicroshiftRolePath }}"
1 change: 1 addition & 0 deletions roles/setup-env/tasks/clone-microshift-role.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
repo: https://github.com/openstack-k8s-operators/ansible-microshift-role
dest: "{{ microshift_role_path }}"
update: yes
version: "{{ microshift_role_version }}"

0 comments on commit a65d4a5

Please sign in to comment.