Skip to content

Commit

Permalink
cephadm-adopt: add cephadm ssh config option
Browse files Browse the repository at this point in the history
Add task to set customized ssh config for cephadm

Signed-off-by: Amir Nikpour <[email protected]>
  • Loading branch information
amniik committed Aug 24, 2024
1 parent e85060c commit 1f67db3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions infrastructure-playbooks/cephadm-adopt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -294,6 +294,13 @@
run_once: true
delegate_to: "{{ groups[mon_group_name][0] }}"

- name: Set cephadm ssh config
ansible.builtin.command: "{{ ceph_cmd }} cephadm set-ssh-config -i {{ cephadm_ssh_config_path }}"
changed_when: false
run_once: true
delegate_to: "{{ groups[mon_group_name][0] }}"
when: cephadm_ssh_config_path is defined

- name: Run cephadm prepare-host
ansible.builtin.command: cephadm prepare-host
changed_when: false
Expand Down

0 comments on commit 1f67db3

Please sign in to comment.