From 9c619f88e362fd9e585f816fe7207927e5b2825a Mon Sep 17 00:00:00 2001 From: DarkAssassin23 <15916504+DarkAssassin23@users.noreply.github.com> Date: Sat, 19 Aug 2023 13:13:18 -0400 Subject: [PATCH] Moved firewall configuration to benchmark play --- main.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/main.yml b/main.yml index 237d0c5..19ce1ea 100644 --- a/main.yml +++ b/main.yml @@ -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 @@ -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: