Skip to content
GitLab
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
4a7575c3
Commit
4a7575c3
authored
Oct 09, 2017
by
julian.gethmann
Browse files
Fix issue
#14
with elegant
* Update elegant * Fix issue
#14
parent
fe57bd9c
Changes
5
Hide whitespace changes
Inline
Side-by-side
roles/elegant/tasks/elegant.yml
View file @
4a7575c3
...
...
@@ -41,13 +41,4 @@
-
elegant
-
sdds
-
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
-
import_tasks
:
sddstoolkit.yml
roles/elegant/tasks/examples.yml
View file @
4a7575c3
...
...
@@ -8,13 +8,7 @@
when
:
ansible_distribution == 'Fedora'
tags
:
examples
-
name
:
install SDDSToolKit
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
-
import_tasks
:
sddstoolkit.yml
-
name
:
Install OAGTclTk
become
:
yes
...
...
roles/elegant/tasks/main.yml
View file @
4a7575c3
---
# not tested yet
# - import_tasks: blas.yml
-
import_tasks
:
elegant.yml
-
import_tasks
:
examples.yml
...
...
roles/elegant/tasks/sddstoolkit.yml
0 → 100644
View file @
4a7575c3
---
-
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
roles/elegant/vars/main.yml
View file @
4a7575c3
---
ele_version
:
25
:
33.1.
1
-1
26
:
33.1-1
25
:
33.1.
2
-1
26
:
33.1
.2
-1
sddstk_version
:
25
:
3.5-1
26
:
3.5.1-1
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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