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
d82861e4
Commit
d82861e4
authored
8 years ago
by
Chris Hines
Browse files
Options
Downloads
Plain Diff
Merge branch 'hostname' into 'master'
Hostname See merge request
!93
parents
cf935e75
103cd863
No related branches found
No related tags found
1 merge request
!93
Hostname
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
roles/etcHosts/tasks/main.yml
+4
-1
4 additions, 1 deletion
roles/etcHosts/tasks/main.yml
roles/extra_packages/tasks/main.yml
+0
-5
0 additions, 5 deletions
roles/extra_packages/tasks/main.yml
roles/mellanox_drivers/tasks/main.yml
+1
-1
1 addition, 1 deletion
roles/mellanox_drivers/tasks/main.yml
with
5 additions
and
7 deletions
roles/etcHosts/tasks/main.yml
+
4
−
1
View file @
d82861e4
...
@@ -21,7 +21,10 @@
...
@@ -21,7 +21,10 @@
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
when
:
ansible_distribution == "Debian" and ansible_distribution_major_version == "8"
-
name
:
set preserve hostname on CentOS
-
name
:
set preserve hostname on CentOS
lineinfile
:
dest=/etc/cloud/cloud.cfg line='preserve_hostname=True'
lineinfile
:
args
:
dest
:
/etc/cloud/cloud.cfg
line
:
"
preserve_hostname:
True"
sudo
:
true
sudo
:
true
when
:
ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
when
:
ansible_distribution == "CentOS" and ansible_distribution_major_version == "7"
...
...
This diff is collapsed.
Click to expand it.
roles/extra_packages/tasks/main.yml
+
0
−
5
View file @
d82861e4
...
@@ -8,11 +8,6 @@
...
@@ -8,11 +8,6 @@
sudo
:
true
sudo
:
true
when
:
ansible_os_family == 'RedHat'
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Make
yum
cache"
command
:
yum makecache
sudo
:
true
when
:
ansible_os_family == 'RedHat'
-
name
:
"
Install
extra
packages"
-
name
:
"
Install
extra
packages"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present"
yum
:
"
name={{
item
}}
exclude={{
excludes|join(',')
}}
update_cache=yes
state=present"
with_items
:
"
{{
extra_packages
}}"
with_items
:
"
{{
extra_packages
}}"
...
...
This diff is collapsed.
Click to expand it.
roles/mellanox_drivers/tasks/main.yml
+
1
−
1
View file @
d82861e4
...
@@ -73,6 +73,6 @@
...
@@ -73,6 +73,6 @@
when
:
reboot_now
when
:
reboot_now
-
name
:
waiting for server to come back
-
name
:
waiting for server to come back
local_action
:
wait_for host={{ ansible_host }} state=started port=22 delay=
1
0 search_regex=OpenSSH
local_action
:
wait_for host={{ ansible_host }} state=started port=22 delay=
60 timeout=60
0 search_regex=OpenSSH
sudo
:
false
sudo
:
false
when
:
reboot_now
when
:
reboot_now
This diff is collapsed.
Click to expand it.
Chris Hines
@chines
mentioned in commit
f4509ac3
·
4 years ago
mentioned in commit
f4509ac3
mentioned in commit f4509ac301d5719654f40a8405e7066ca8163b0f
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