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 <amnik.free@gmail.com>
  • Loading branch information
amniik committed Jul 17, 2024
1 parent e85060c commit bbc48f8
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

Check failure on line 297 in infrastructure-playbooks/cephadm-adopt.yml

View workflow job for this annotation

GitHub Actions / build

fqcn[action-core]

Use FQCN for builtin module actions (command).

Check failure on line 297 in infrastructure-playbooks/cephadm-adopt.yml

View workflow job for this annotation

GitHub Actions / build

name[casing]

All names should start with an uppercase letter.
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 bbc48f8

Please sign in to comment.