Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
HPCasCode
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
hpc-team
HPCasCode
Commits
8bc5be0b
Commit
8bc5be0b
authored
6 years ago
by
Simon Michnowicz
Browse files
Options
Downloads
Patches
Plain Diff
added conditional templating for NAT-check
parent
18148548
No related branches found
No related tags found
1 merge request
!202
check to see if NAT is working by pinging hpc-lic0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/nhc/tasks/main.yml
+11
-0
11 additions, 0 deletions
roles/nhc/tasks/main.yml
with
11 additions
and
0 deletions
roles/nhc/tasks/main.yml
+
11
−
0
View file @
8bc5be0b
...
...
@@ -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
This diff is collapsed.
Click to expand it.
Simon Michnowicz
@smichnow
mentioned in commit
1ffb1780
·
4 years ago
mentioned in commit
1ffb1780
mentioned in commit 1ffb17802d57737706c441c5fd0c39e09bbadc4e
Toggle commit list
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment