fitting.yml 402 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 6
  dnf:
    state: present
    name: "{{ item }}"
julian.gethmann's avatar
julian.gethmann committed
7 8 9 10 11 12 13 14
  with_items:
  - python3-scipy
  - python3-scikit-learn
  tags: fit
  when: ansible_distribution == 'Fedora'

- name: install fitting via pip3
  become: yes
julian.gethmann's avatar
julian.gethmann committed
15
  pip:
julian.gethmann's avatar
julian.gethmann committed
16
    executable: "{{ pip3bin }}"
julian.gethmann's avatar
julian.gethmann committed
17 18
    state: present
    name: "{{ item }}"
julian.gethmann's avatar
julian.gethmann committed
19 20 21 22 23
  with_items:
  - iminuit
  # - kafe
  - lmfit
  tags: fit