Skip to content
Snippets Groups Projects
Commit 8bc5be0b authored by Simon Michnowicz's avatar Simon Michnowicz
Browse files

added conditional templating for NAT-check

parent 18148548
No related branches found
No related tags found
1 merge request!202check to see if NAT is working by pinging hpc-lic0
......@@ -60,3 +60,14 @@
become: true
become_user: root
#test NAT is working by pinging license server hpclic0 which is in HPC_Ancillary_zone
- set_fact:
EXTERNAL_IP_ADDRESS: "118.138.246.208"
when: EXTERNAL_IP_ADDRESS is undefined
- name: install nhc NAT check
template: dest="{{ nhc_dir }}/etc/nhc/scripts/check_nat.nhc" src=check_nat.nhc.j2
become: true
become_user: root
when: ADD_NHC_NAT_CHECK is defined
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment