-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from pneerincx/develop
Updated playbooks for changed storage config and added support for jumphosts/dynamic inventories and more...
- Loading branch information
Showing
17 changed files
with
114 additions
and
87 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,10 @@ | ||
--- | ||
- name: install nfs utils | ||
- name: 'Install NFS utils.' | ||
yum: | ||
name: nfs-utils | ||
|
||
- name: Add fstab entry | ||
- name: 'Add share entry to NFS exports.' | ||
lineinfile: | ||
path: /etc/exports | ||
line: /home {{network_range}}(rw,sync,no_root_squash,no_subtree_check) | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,25 @@ | ||
--- | ||
# OddJob has a dependency on DBus. | ||
- name: Run authconfig update. | ||
shell: "authconfig --enablemkhomedir --update" | ||
become: yes | ||
listen: authconfig_update | ||
|
||
# | ||
# Notes: | ||
# * OddJob has a dependency on DBus. | ||
# * Due to a bug systemd-logind may enter a broken state when DBus is restarted | ||
# making logins via SSH and or sudo commands very slow. | ||
# https://bugzilla.redhat.com/show_bug.cgi?id=1532105 | ||
# Workaround for now is to always restart systemd-logind after DBus is restarted. | ||
# | ||
- name: Restart dbusd and oddjobd services. | ||
service: | ||
name: "{{item}}" | ||
state: restarted | ||
with_items: | ||
- dbus | ||
- systemd-logind | ||
- oddjobd | ||
become: yes | ||
listen: restart_oddjobd | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# | ||
# Example to use NFS based home dirs exported from the UI and mounted on the compute nodes. | ||
# | ||
--- | ||
- name: Export /home on NFS server. | ||
hosts: user-interface | ||
become: true | ||
roles: | ||
- nfs_home_server | ||
|
||
- name: Mount /home on NFS clients. | ||
hosts: compute-vm | ||
become: true | ||
roles: | ||
- nfs_home_client | ||
... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,3 +16,4 @@ | |
tasks: | ||
roles: | ||
- slurm-client | ||
... |