Commit 92278766 authored by julian.gethmann's avatar julian.gethmann
Browse files

Add aliases for python

parent e6d46ef7
- name: Software for dependency installation
become: yes
name: ["gcc", "gcc-c++", "glibc-devel.x86_64", "openssl-devel", "python-devel", "lapack-devel", "numpy-f2py", "redhat-rpm-config"]
state: present
become: yes
when: ansible_distribution == 'Fedora'
- name: "Install Python stack for scientific purposes (Distribution)"
become: yes
name: "{{ item }}"
state: present
become: yes
- "{{ python2pkg }}"
- "{{ python3pkg }}"
- name: install handy aliases
become: yes
dest: /etc/profile.d/
content: |-
alias activate='source .venv/bin/activate'
alias venv='python3 -m venv .venv && source .venv/bin/activate && which python'
backup_file: yes
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