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

Fix update issues

* installed is no longer supported
* some fixes in handlers
parent 635e4a55
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
# https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux # https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux
- name: install dependencies - name: install dependencies
dnf: dnf:
state: installed state: present
name: "{{ item }}" name: "{{ item }}"
with_items: with_items:
- rpcbind - rpcbind
......
--- ---
- name: install fitting for Python 3 - name: install fitting for Python 3
dnf: state=installed name={{ item }}
become: yes become: yes
dnf:
state: present
name: "{{ item }}"
with_items: with_items:
- python3-scipy - python3-scipy
- python3-scikit-learn - python3-scikit-learn
...@@ -9,8 +11,11 @@ ...@@ -9,8 +11,11 @@
when: ansible_distribution == 'Fedora' when: ansible_distribution == 'Fedora'
- name: install fitting via pip3 - name: install fitting via pip3
pip: executable=pip3 state=installed name={{ item }}
become: yes become: yes
pip:
executable: pip3
state: present
name: "{{ item }}"
with_items: with_items:
- iminuit - iminuit
# - kafe # - kafe
......
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
- name: Software for dependency installation - name: Software for dependency installation
dnf: dnf:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
become: yes become: yes
with_items: with_items:
- gcc - gcc
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
- name: "Install Python stack for scientific purposes (Distribution)" - name: "Install Python stack for scientific purposes (Distribution)"
package: package:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
become: yes become: yes
with_items: with_items:
- "{{ python2pkg }}" - "{{ python2pkg }}"
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
- name: install pip packages Python 2 - name: install pip packages Python 2
pip: pip:
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
become: yes become: yes
with_items: "{{python2pip}}" with_items: "{{python2pip}}"
...@@ -60,6 +60,6 @@ ...@@ -60,6 +60,6 @@
pip: pip:
executable: pip3 executable: pip3
name: "{{ item }}" name: "{{ item }}"
state: installed state: present
become: yes become: yes
with_items: "{{python3pip}}" with_items: "{{python3pip}}"
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