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

Add Python SDDS RPM installation to elegant role

* Install the official SDDS Python 3 binary (RPM)
parent f4edab63
......@@ -24,6 +24,17 @@
- restart firewall
tags: pelegant
- name: Pelegant open ports
become: yes
firewalld:
state: enabled
permanent: true
rich_rule: 'rule family="ipv4" source address="129.13.238.64/24" port port="10000-10100" protocol="tcp" accept'
notify:
- reload firewall
- restart firewall
tags: pelegant
- name: export variable
become: yes
copy:
......
......@@ -2,4 +2,4 @@
- import_tasks: blas.yml
- import_tasks: elegant.yml
- import_tasks: examples.yml
# - import_tasks: pyhonsdds.yml
- import_tasks: pythonsdds.yml
---
- name: install SDDS for Python 2
pip:
name:
- name: install SDDS for Python 3
pip:
name:
become: yes
dnf:
name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSPython3-{{ item.value }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
state: present
when: ansible_distribution == 'Fedora' and (ansible_distribution_major_version|int) == item.key|int
with_dict: "{{ pythonsdds_version }}"
tags:
- elegant
- python
......@@ -36,3 +36,7 @@ preSDDSdev:
preElegantExamples:
- tcl
- tcsh
pythonsdds_version:
29: 4.0-1
28: 4.0-1
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