Skip to content

Commit

Permalink
playbooks: fix ansible-lint error
Browse files Browse the repository at this point in the history
Signed-off-by: Mathieu Dupré <[email protected]>
  • Loading branch information
dupremathieu authored and eroussy committed May 30, 2023
1 parent eedf55a commit 588fc57
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion playbooks/ci_restart_machines.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
include_tasks: tasks/restart_machine.yaml

- name: Wait all cluster machines have finish to boot
hosts: "{{ machines }}"
hosts: "{{ machines |default('cluster_machines') }}"
gather_facts: false
tasks:
- name: Wait for machine to be online
Expand Down
4 changes: 2 additions & 2 deletions playbooks/ci_start_machine.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
- include_tasks: tasks/start_machine.yaml
with_items: "{{ hostvars[machine_to_start]['plug_port'] }}"

- name: "Wait {{ machine_to_start }} has booted"
hosts: "{{ machine_to_start }}"
- name: "Wait machines has booted"
hosts: "{{ machine_to_start | default('cluster_machines') }}"
gather_facts: false
tasks:
- name: Wait for machine to be online
Expand Down

0 comments on commit 588fc57

Please sign in to comment.