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

Rename the version variable in epics to be used in other places

parent 75b39ded
......@@ -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
......
# 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}}
---
version: 3.15.5
epics_version: 3.15.5
......@@ -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
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