Commit 75b39ded authored by julian.gethmann's avatar julian.gethmann

Add role undulator_control for the development of the controls for the Jena TGU project

parent 41060dcf
......@@ -50,6 +50,7 @@ Open an issue in the GitLab issue tracker and use the template for softwarereque
* chrome.yml: Google Chrome for Fedora (for Adobe Connect usage)
* elegant.yml: elegant (no Pelegant, yet)
* inovesa.yml: [Inovesa](https://github.com/Inovesa/Inovesa)
* undulator_control.yml: Install the software stack that is necessary to develop the control system for the JENA TGU experiment
^1: (also put your FQDN to the \[common\] section in the hosts file as it depends hereon)
......
......@@ -124,6 +124,9 @@ las120.las.kit.edu
las122.las.kit.edu
# semi stable
[tgu]
las115.las.kit.edu
[local]
# 127.0.0.1 ansible_connection=local
......
---
dependencies:
- { role: clients }
- { role: epics }
---
- import_tasks: software.yml
- import_tasks: qtcreator.yml
---
- name: install Qt Creator
become: yes
package:
name: qt-creator
state: present
---
- name: install swig as pcaspy dependency
become: yes
package:
name: swig
state: present
- name: install pcaspy and pyepics
become: yes
pip:
name: "{{ item }}"
state: present
executable: pip3
loop:
- pcaspy
- pyepics
environment:
EPICS_BASE: "/usr/local/share/base-{{ epics_version }}"
EPICS_HOST_ARCH: "linux-{{ ansible_architecture }}"
LD_LIBRARY_PATH: "/usr/local/share/base-{{ epics_version }}/lib/linux-{{ ansible_architecture }}:$LD_LIBRARY_PATH"
tags:
- python3
- name: install pcaspy and pyepics for legacy Python
become: yes
pip:
name: "{{ item }}"
state: present
loop:
- pcaspy
- pyepics
environment:
EPICS_BASE: "/usr/local/share/base-{{ epics_version }}"
EPICS_HOST_ARCH: "linux-{{ ansible_architecture }}"
LD_LIBRARY_PATH: "/usr/local/share/base-{{ epics_version }}/lib/linux-{{ ansible_architecture }}:$LD_LIBRARY_PATH"
tags:
- python2
---
- hosts: tgu
roles:
- undulator_control
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