Skip to content

Commit

Permalink
Set dell hosts boot order to director
Browse files Browse the repository at this point in the history
  • Loading branch information
rajeshP524 committed Jan 19, 2023
1 parent 3f51e29 commit e874697
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions scaleout.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,23 @@
lab_vars: "{{ (lab_name == 'scale') | ternary(scale, alias) }}"
when: lab_name in ['scale', 'alias']

- block:
- name: clear existing dell-hosts file
shell: echo "" > {{ playbook_dir }}/badfish/dell-hosts

- name: prepare dell hosts for badfish
shell: echo "mgmt-{{ item[1].stdout }}" >> {{ playbook_dir }}/badfish/dell-hosts
when: vendors is defined and item[0] == "dell"
with_together:
- "{{ vendors }}"
- "{{ host_list.results }}"

- name: set boot order to director
include_tasks: tasks/set_boot_order_director.yml
vars:
chassis_password: "{{ stack_data.nodes[0].pm_password }}"
when: lab_name in ['scale', 'alias'] and set_boot_order == true

- name: set machine count
set_fact:
total_machine_count: {}
Expand Down

0 comments on commit e874697

Please sign in to comment.