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 authored and clwluvw committed Aug 25, 2024
1 parent 823700b commit e4ab45d
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 e4ab45d

Please sign in to comment.