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 @@ ...@@ -2,9 +2,9 @@
- name: unarchived - name: unarchived
become: yes become: yes
unarchive: 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/" dest: "/usr/local/share/"
creates: "/usr/local/share/base-{{ version }}/Makefile" creates: "/usr/local/share/base-{{ epics_version }}/Makefile"
remote_src: yes remote_src: yes
- name: copy environment variables - name: copy environment variables
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
- name: compile epics - name: compile epics
become: yes become: yes
make: make:
chdir: "/usr/local/share/base-{{ version }}" chdir: "/usr/local/share/base-{{ epics_version }}"
target: "{{ item }}" target: "{{ item }}"
with_items: with_items:
- install - install
......
# export EPICS base path and configuration to interact with KARA's IOCs # 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 EPICS_CA_ADDR_LIST=$(dig +short ankasr-appcache.anka.kit.edu)
export PATH=/usr/local/share/base-{{version}}/bin/linux-x86_64:$PATH export PATH=/usr/local/share/base-{{epics_version}}/bin/linux-x86_64:$PATH
export EPICS_BASE=/usr/local/share/base-{{version}} export EPICS_BASE=/usr/local/share/base-{{epics_version}}
--- ---
version: 3.15.5 epics_version: 3.15.5
...@@ -26,14 +26,6 @@ ...@@ -26,14 +26,6 @@
- "{{ python2pkg }}" - "{{ python2pkg }}"
- "{{ python3pkg }}" - "{{ python3pkg }}"
# - name: upgrade pip2 # install --upgrade pip
# pip:
# name: pip
# state: latest
# become: yes
# tags:
# - skip_ansible_lint
- name: install pip packages Python 2 - name: install pip packages Python 2
pip: pip:
name: "{{ item }}" name: "{{ item }}"
...@@ -41,15 +33,6 @@ ...@@ -41,15 +33,6 @@
become: yes become: yes
with_items: "{{python2pip}}" 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 - name: install pip packages Python 2
become: yes become: yes
pip: pip:
...@@ -57,3 +40,5 @@ ...@@ -57,3 +40,5 @@
name: "{{ item }}" name: "{{ item }}"
state: present state: present
with_items: "{{python3pip}}" 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