fitting.yml 338 Bytes
Newer Older
julian.gethmann's avatar
julian.gethmann committed
1
2
3
---
- name: install fitting for Python 3
  become: yes
julian.gethmann's avatar
julian.gethmann committed
4
5
  dnf:
    state: present
julian.gethmann's avatar
julian.gethmann committed
6
    name: ["python3-scipy", "python3-scikit-learn",]
julian.gethmann's avatar
julian.gethmann committed
7
8
9
10
11
  tags: fit
  when: ansible_distribution == 'Fedora'

- name: install fitting via pip3
  become: yes
julian.gethmann's avatar
julian.gethmann committed
12
  pip:
julian.gethmann's avatar
julian.gethmann committed
13
    executable: "{{ pip3bin }}"
julian.gethmann's avatar
julian.gethmann committed
14
    state: present
julian.gethmann's avatar
julian.gethmann committed
15
    name: ["iminuit", "lmfit", ]
julian.gethmann's avatar
julian.gethmann committed
16
  tags: fit