Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ucegg
ansible
Commits
f7f69ac8
Commit
f7f69ac8
authored
Apr 20, 2018
by
julian.gethmann
Browse files
Rename the version variable in epics to be used in other places
parent
75b39ded
Changes
4
Show whitespace changes
Inline
Side-by-side
roles/epics/tasks/main.yml
View file @
f7f69ac8
...
...
@@ -2,9 +2,9 @@
-
name
:
unarchived
become
:
yes
unarchive
:
src
:
"
https://www.aps.anl.gov/epics/download/base/base-{{
version
}}.tar.gz"
src
:
"
https://www.aps.anl.gov/epics/download/base/base-{{
epics_
version
}}.tar.gz"
dest
:
"
/usr/local/share/"
creates
:
"
/usr/local/share/base-{{
version
}}/Makefile"
creates
:
"
/usr/local/share/base-{{
epics_
version
}}/Makefile"
remote_src
:
yes
-
name
:
copy environment variables
...
...
@@ -36,7 +36,7 @@
-
name
:
compile epics
become
:
yes
make
:
chdir
:
"
/usr/local/share/base-{{
version
}}"
chdir
:
"
/usr/local/share/base-{{
epics_
version
}}"
target
:
"
{{
item
}}"
with_items
:
-
install
...
...
roles/epics/templates/DOTepics
View file @
f7f69ac8
# export EPICS base path and configuration to interact with KARA's IOCs
export LD_LIBRARY_PATH=/usr/local/share/base-{{version}}/lib/linux-x86_64:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH=/usr/local/share/base-{{
epics_
version}}/lib/linux-x86_64:$LD_LIBRARY_PATH
export EPICS_CA_ADDR_LIST=$(dig +short ankasr-appcache.anka.kit.edu)
export PATH=/usr/local/share/base-{{version}}/bin/linux-x86_64:$PATH
export EPICS_BASE=/usr/local/share/base-{{version}}
export PATH=/usr/local/share/base-{{
epics_
version}}/bin/linux-x86_64:$PATH
export EPICS_BASE=/usr/local/share/base-{{
epics_
version}}
roles/epics/vars/main.yml
View file @
f7f69ac8
---
version
:
3.15.5
epics_
version
:
3.15.5
roles/python_stack/tasks/python.yml
View file @
f7f69ac8
...
...
@@ -26,14 +26,6 @@
-
"
{{
python2pkg
}}"
-
"
{{
python3pkg
}}"
# - name: upgrade pip2 # install --upgrade pip
# pip:
# name: pip
# state: latest
# become: yes
# tags:
# - skip_ansible_lint
-
name
:
install pip packages Python
2
pip
:
name
:
"
{{
item
}}"
...
...
@@ -41,15 +33,6 @@
become
:
yes
with_items
:
"
{{python2pip}}"
# - name: upgrade pip3
# pip:
# executable: pip-3
# state: latest
# name: pip
# become: yes
# tags:
# - skip_ansible_lint
-
name
:
install pip packages Python
2
become
:
yes
pip
:
...
...
@@ -57,3 +40,5 @@
name
:
"
{{
item
}}"
state
:
present
with_items
:
"
{{python3pip}}"
tags
:
-
python3
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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