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
4141e641
Commit
4141e641
authored
5 years ago
by
Chris Hines
Committed by
Trung Nguyen
5 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Decorators
Former-commit-id:
aa86e4fb
parent
61eaf2c2
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
roles/etcHosts/tasks/main.yml
+2
-2
2 additions, 2 deletions
roles/etcHosts/tasks/main.yml
roles/roles.txt
+0
-104
0 additions, 104 deletions
roles/roles.txt
with
2 additions
and
106 deletions
roles/etcHosts/tasks/main.yml
+
2
−
2
View file @
4141e641
...
...
@@ -13,7 +13,7 @@
-
name
:
set hostname by sysctl
shell
:
sysctl kernel.hostname="{{ inventory_hostname }}"
become
:
true
when
:
not
"{{
sysctl_hostname.stdout
}}" == "{{
inventory_hostname
}}"
when
:
not sysctl_hostname.stdout
==
inventory_hostname
-
name
:
get domainname by sysctl
shell
:
sysctl kernel.domainname | cut -f 3 -d " "
...
...
@@ -26,7 +26,7 @@
-
name
:
set domainname by sysctl
shell
:
sysctl kernel.domainname="{{ domain }}"
become
:
true
when
:
not
"{{
sysctl_domainname.stdout
}}"
==
"{{
domain
}}"
when
:
not sysctl_domainname.stdout == domain
-
name
:
set /etc/sysconfig/network on CentOS
6
lineinfile
:
dest=/etc/sysconfig/network line='HOSTNAME={{ inventory_hostname }}' regexp='^HOSTNAME'
...
...
This diff is collapsed.
Click to expand it.
roles/roles.txt
deleted
100644 → 0
+
0
−
104
View file @
61eaf2c2
allow_stale_nfs
apache2
apt-get-update
calculateEtcHosts
calculateExports
calculateKnownHosts
calculateNhcConfig
calculateSlurmConf
centos7Base
cleancrash
collectd
commonVars
config_repos
config_repos_upstream
cron
cvlExtraFiles
cvlFijiCronJob
cvl-menus
deploy-xorg
disable_selinux
dump_ldap_config
easy-rsa-CA
easy-rsa-certificate
easy-rsa-common
ec2-user
enable_modules
enable_root
enable_sudo_group
etcHosts
extra_packages
fail2ban
fastest_mirror
gluster_client
gluster_server
gluster_volcreate
gpu
gpu_update
hpcid_ca
hpcsystems
installPackage
jasons_ssh_ca
karaage2.7
karaage2.7_noppolicy
karaage3.1.17
ldapclient
ldapserver
link_directories
lmod
lustre-client
make_filesystems
mellanox_drivers
modulefiles
MonashBioinformaticsPlatform_node_allocation
move_homedir
mysql
nagios_config
nagios_monitored
nagios_server
nat_server
nfs-client
nfs-common
nfs-server
nhc
ntp
openssh
opensslCA
opensslServer
OpenVPN-Client
OpenVPN-Server
p100_firmware
pam_slurm
pam_sshd
postfix
prefer_ipv4
provision
provision_homedir
provision_slurm
roles.txt
rsyslog_client
rsyslog_server
set_password
set_semaphore_count
shibboleth-sp
slurm-common
slurm_config
slurmdb-config
slurm-mysql-config
slurm_sql_bk
slurm-start
slurm-trigger
smb_config
smux
ssh-keepalive
SSHKnownHosts
ssh-nopassword-login
ssh-password-login
strudel_build
strudel_config
strudel_test
syncExports
systemd-nvidia-uvm
telegraf
upgrade
vncserver
This diff is collapsed.
Click to expand it.
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