Skip to content

Commit

Permalink
fix some data paths in the task file
Browse files Browse the repository at this point in the history
Signed-off-by: Markus Katharina Brechtel <[email protected]>
  • Loading branch information
mkbrechtel committed May 19, 2024
1 parent cf2bfb2 commit e3087af
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion roles/ceph/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@

- name: Transfer additional client keyrings
copy:
src: '../data/ceph/cluster.{{ ceph_fsid }}.client.{{ item }}.keyring'
src: 'data/ceph/cluster.{{ ceph_fsid }}.client.{{ item }}.keyring'
dest: '/etc/ceph/ceph.client.{{ item }}.keyring'
owner: ceph
group: ceph
Expand Down
2 changes: 1 addition & 1 deletion roles/incus/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@

- name: Set OVN NorthBound database
shell:
cmd: "incus --force-local config set network.ovn.northbound_connection={{ incus_ovn_northbound }} network.ovn.client_cert=\"{{ lookup('file', '../data/ovn/'+ovn_name+'/'+inventory_hostname+'.crt') }}\" network.ovn.client_key=\"{{ lookup('file', '../data/ovn/'+ovn_name+'/'+inventory_hostname+'.key') }}\" network.ovn.ca_cert=\"{{ lookup('file', '../data/ovn/'+ovn_name+'/ca.crt') }}\""
cmd: "incus --force-local config set network.ovn.northbound_connection={{ incus_ovn_northbound }} network.ovn.client_cert=\"{{ lookup('file', 'data/ovn/'+ovn_name+'/'+inventory_hostname+'.crt') }}\" network.ovn.client_key=\"{{ lookup('file', 'data/ovn/'+ovn_name+'/'+inventory_hostname+'.key') }}\" network.ovn.ca_cert=\"{{ lookup('file', 'data/ovn/'+ovn_name+'/ca.crt') }}\""
notify: Restart Incus
when: 'install.changed and incus_ovn_northbound and ("standalone" in incus_roles or "cluster" in incus_roles)'

Expand Down
2 changes: 1 addition & 1 deletion roles/ovn/tasks/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
- name: Create cluster directory
delegate_to: 127.0.0.1
file:
path: "../data/ovn/{{ ovn_name }}"
path: "data/ovn/{{ ovn_name }}"
mode: 0755
state: directory
throttle: 1
Expand Down

0 comments on commit e3087af

Please sign in to comment.