Skip to content

Commit

Permalink
Moved firewall configuration to benchmark play
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkAssassin23 committed Aug 19, 2023
1 parent ae8f6d8 commit 9c619f8
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -199,11 +199,6 @@
loop: "{{ groups['cluster'] }}"
become: true

# If this is not done, the nodes will fail to connect to each other
# causing the playbook to hang at 'Run the benchmark.'
- include_tasks: firewall/configure-firewall.yml
when: ansible_os_family == "RedHat"

- name: Run linpack benchmark.
hosts: cluster
become: false
Expand All @@ -226,6 +221,11 @@
dest: "{{ hpl_root }}/tmp/hpl-2.3/bin/rpi/HPL.dat"
mode: 0644

# If this is not done, the nodes will fail to connect to each other
# causing the playbook to hang at 'Run the benchmark.'
- include_tasks: firewall/configure-firewall.yml
when: ansible_os_family == "RedHat"

- name: Run the benchmark.
ansible.builtin.command: mpirun -f cluster-hosts ./xhpl
args:
Expand Down

0 comments on commit 9c619f8

Please sign in to comment.