Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
a6462b5a
Commit
a6462b5a
authored
Nov 08, 2017
by
julian.gethmann
Browse files
Add Inovesa as a role
parent
3ff1de55
Changes
5
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a6462b5a
...
...
@@ -42,6 +42,7 @@ Open an issue in the GitLab issue tracker with the label: softwarerequest
* pycharm.yml: PyCharm IDE
* chrome.yml: Google Chrome for Fedora (for Adobe Connect usage)
* elegant.yml: elegant (no Pelegant, yet)
* inovesa.yml: [Inovesa](https://github.com/Inovesa/Inovesa)
^1: (also put your FQDN to the \[common\] section in the hosts file as it depends hereon)
^3: (also put your FQDN to the \[lasarchiv\] section in the hosts file as it depends hereon)
...
...
@@ -63,4 +64,4 @@ You can check the syntax of the files by running `ansible-playbook --check-synta
## Bootstrap
* Add your SSH-key to the host `ssh-copy-id lasXXX.las.kit.edu`
* Do the steps described for the self-setup
* Run `ansible-playbook -K sites.yml` probably with the option `-l lasXXX.las.kit.edu`
\ No newline at end of file
* Run `ansible-playbook -K sites.yml` probably with the option `-l lasXXX.las.kit.edu`
hosts
View file @
a6462b5a
...
...
@@ -96,6 +96,9 @@ las113.las.kit.edu
las-gethmann.las.kit.edu
las101.las.kit.edu
[inovesa]
las113.las.kit.edu
# semi stable
[local]
# 127.0.0.1 ansible_connection=local
...
...
inovesa.yml
0 → 100644
View file @
a6462b5a
-
hosts
:
inovesa
roles
:
-
inovesa
roles/inovesa/meta/main.yml
0 → 100644
View file @
a6462b5a
---
dependencies
:
-
{
role
:
clients
}
roles/inovesa/tasks/main.yml
0 → 100644
View file @
a6462b5a
---
-
name
:
install Inovesa's dependencies on Fedora without openCL or PNG support
become
:
yes
dnf
:
name
:
"
{{
item
}}"
state
:
present
with_items
:
-
cmake
-
gcc-c++
-
boost-devel
-
boost-system
-
boost-filesystem
-
boost-program-options
-
fftw-devel
-
glew-devel
-
glfw-devel
-
hdf5-devel
-
libpng-devel
-
libXrandr-devel
# - libclfft-dev # does not exist
# attempts to get opencl running
# - opencl-headers
# - mesa-libOpenCL-devel # did not help
# - opencl-filesystem
# - libclc
# - mesa-libOpenCL
# - mesa-libOpenCL-devel
when
:
ansible_distribution == "Fedora"
-
name
:
install Inovesa's dependencies on Ubuntu
become
:
yes
apt
:
name
:
"
{{
item
}}"
state
:
present
with_items
:
-
cmake
-
g++
-
libboost-dev
-
libboost-system-dev
-
libboost-filesystem-dev
-
libboost-program-options-dev
-
libfftw3-dev
-
libglew-dev
-
libglfw3-dev
-
libhdf5-dev
-
libpng++-dev
-
libxrandr-dev
-
opencl-dev
-
libclfft-dev
when
:
ansible_distribution == "Debian"
-
name
:
clone Inovesa
become
:
yes
git
:
repo
:
"
https://github.com/Inovesa/Inovesa.git"
clone
:
yes
depth
:
1
dest
:
/usr/local/Inovesa
-
name
:
cmake Inovesa
become
:
yes
command
:
"
cmake
.
"
args
:
chdir
:
/usr/local/Inovesa/
creates
:
/usr/local/Inovesa/Makefile
-
name
:
make Inovesa
become
:
yes
make
:
chdir
:
/usr/local/Inovesa
-
name
:
link inovesa
become
:
yes
file
:
mode
:
o+rx
path
:
/usr/local/bin/Inovesa
src
:
/usr/local/Inovesa/inovesa
state
:
link
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment