Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add the fysical cluster nodes in /etc/hosts. #72

Merged
merged 1 commit into from
Mar 12, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions host_vars/imperator
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,15 @@
mailhub: 172.23.34.34
rewrite_domain: imperator.hpc.rug.nl
motd: Vare, Vare, redde legiones!
additional_etc_hosts: |
172.23.40.21 gs-compute01 gs-compute01.hpc.local
172.23.40.22 gs-compute02 gs-compute02.hpc.local
172.23.40.23 gs-compute03 gs-compute03.hpc.local
172.23.40.24 gs-compute04 gs-compute04.hpc.local
172.23.40.25 gs-compute05 gs-compute05.hpc.local
172.23.40.26 gs-compute06 gs-compute06.hpc.local
172.23.40.27 gs-compute07 gs-compute07.hpc.local
172.23.40.28 gs-compute08 gs-compute08.hpc.local
172.23.40.29 gs-compute09 gs-compute09.hpc.local
172.23.40.30 gs-compute10 gs-compute10.hpc.local
172.23.40.31 gs-compute11 gs-compute11.hpc.local
4 changes: 4 additions & 0 deletions roles/cluster/templates/gearshift_hosts
Original file line number Diff line number Diff line change
Expand Up @@ -77,3 +77,7 @@
195.169.22.247 calculon.gcc.rug.nl
195.169.22.95 leucine-zipper.gcc.rug.nl
195.169.22.8 zinc-finger.gcc.rug.nl

{% if additional_etc_hosts is defined %}
{{ additional_etc_hosts }}
{% endif %}