Commit 0427959c authored by julian.gethmann's avatar julian.gethmann

Fix issue #14 with elegant

* Update elegant
* Fix issue #14
parent 9887ce68
...@@ -41,13 +41,4 @@ ...@@ -41,13 +41,4 @@
- elegant - elegant
- sdds - sdds
- name: install SDDSToolKit - import_tasks: sddstoolkit.yml
become: yes
dnf:
name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSToolKit-{{ 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: "{{ sddstk_version }}"
tags:
- elegant
- sdds
...@@ -8,13 +8,7 @@ ...@@ -8,13 +8,7 @@
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
tags: examples tags: examples
- name: install SDDSToolKit - import_tasks: sddstoolkit.yml
become: yes
dnf:
name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSToolKit-{{ sddstk_version }}.{{ ansible_distribution|lower }}.{{ ansible_distribution_major_version }}.{{ ansible_architecture }}.rpm"
state: present
when: ansible_distribution == 'Fedora'
tags: examples
- name: Install OAGTclTk - name: Install OAGTclTk
become: yes become: yes
......
--- ---
# not tested yet
# - import_tasks: blas.yml # - import_tasks: blas.yml
- import_tasks: elegant.yml - import_tasks: elegant.yml
- import_tasks: examples.yml - import_tasks: examples.yml
......
---
- name: install SDDSToolKit
become: yes
dnf:
name: "http://www.aps.anl.gov/Accelerator_Systems_Division/Accelerator_Operations_Physics/downloads/SDDSToolKit-{{ 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: "{{ sddstk_version }}"
tags:
- elegant
- sdds
--- ---
ele_version: ele_version:
25: 33.1.1-1 25: 33.1.2-1
26: 33.1-1 26: 33.1.2-1
sddstk_version: sddstk_version:
25: 3.5-1 25: 3.5-1
26: 3.5.1-1 26: 3.5.1-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