Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions ansible/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
- `rgw`: A RADOS (object) Gateway, used to expose an S3 API on top of Ceph objects

## Incus
- `incus_cluster_ip_address`: Override for the server's cluster IP address (type: string, default: value of `incus_ip_address`)
- `incus_name`: Name identifier for the deployment (**required**, type: string)
- `incus_init`: Initial configuration data (type: dict)
- `config`: Dict of config keys
Expand Down
2 changes: 1 addition & 1 deletion roles/incus/tasks/installation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
changed_when: true

- name: Set cluster listen address
ansible.builtin.command: "incus --force-local config set cluster.https_address {{ incus_ip_address_or_default }}"
ansible.builtin.command: "incus --force-local config set cluster.https_address {{ incus_cluster_ip_address | default(incus_ip_address_or_default) }}"
when: '(incus_install_deb.changed or incus_install_rpm.changed) and "cluster" in incus_roles and incus_servers[0] == inventory_hostname'
changed_when: true

Expand Down