Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
ansible
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
36
Issues
36
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
f7f69ac8
Commit
f7f69ac8
authored
Apr 20, 2018
by
julian.gethmann
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename the version variable in epics to be used in other places
parent
75b39ded
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
24 deletions
+9
-24
roles/epics/tasks/main.yml
roles/epics/tasks/main.yml
+3
-3
roles/epics/templates/DOTepics
roles/epics/templates/DOTepics
+3
-3
roles/epics/vars/main.yml
roles/epics/vars/main.yml
+1
-1
roles/python_stack/tasks/python.yml
roles/python_stack/tasks/python.yml
+2
-17
No files found.
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
julian.gethmann
@gethmann
mentioned in issue
#9 (closed)
·
Apr 25, 2018
mentioned in issue
#9 (closed)
mentioned in issue #9
Toggle commit list
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