Commit a6462b5a authored by julian.gethmann's avatar julian.gethmann

Add Inovesa as a role

parent 3ff1de55
...@@ -42,6 +42,7 @@ Open an issue in the GitLab issue tracker with the label: softwarerequest ...@@ -42,6 +42,7 @@ Open an issue in the GitLab issue tracker with the label: softwarerequest
* pycharm.yml: PyCharm IDE * pycharm.yml: PyCharm IDE
* chrome.yml: Google Chrome for Fedora (for Adobe Connect usage) * chrome.yml: Google Chrome for Fedora (for Adobe Connect usage)
* elegant.yml: elegant (no Pelegant, yet) * 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) ^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) ^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 ...@@ -63,4 +64,4 @@ You can check the syntax of the files by running `ansible-playbook --check-synta
## Bootstrap ## Bootstrap
* Add your SSH-key to the host `ssh-copy-id lasXXX.las.kit.edu` * Add your SSH-key to the host `ssh-copy-id lasXXX.las.kit.edu`
* Do the steps described for the self-setup * Do the steps described for the self-setup
* Run `ansible-playbook -K sites.yml` probably with the option `-l lasXXX.las.kit.edu` * Run `ansible-playbook -K sites.yml` probably with the option `-l lasXXX.las.kit.edu`
\ No newline at end of file
...@@ -96,6 +96,9 @@ las113.las.kit.edu ...@@ -96,6 +96,9 @@ las113.las.kit.edu
las-gethmann.las.kit.edu las-gethmann.las.kit.edu
las101.las.kit.edu las101.las.kit.edu
[inovesa]
las113.las.kit.edu
# semi stable # semi stable
[local] [local]
# 127.0.0.1 ansible_connection=local # 127.0.0.1 ansible_connection=local
......
- hosts: inovesa
roles:
- inovesa
---
dependencies:
- { role: clients }
---
- 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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment