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]>
(cherry picked from commit e4ab45d)
  • Loading branch information
amniik authored and mergify[bot] committed Aug 25, 2024
1 parent d0c8bfe commit c382aa8
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 c382aa8

Please sign in to comment.