Commit 0d27c567 authored by julian.gethmann's avatar julian.gethmann

ansible-lint

parent 1bcbd2da
......@@ -5,7 +5,7 @@
- hosts: cn
become: yes
tasks:
- name: set CN hostname
- name: rename CN computer
hostname: name=las-bernhard.anka.kit.edu
tags:
- cn
......
......@@ -30,3 +30,7 @@
- name: update-ca-trust
become: yes
command: update-ca-trust extract
- name: lock root user
become: yes
command: passwd -l root
......@@ -2,3 +2,5 @@
- name: Updating the system
become: yes
package: name=* state=latest
tags:
- skip_ansible_lint
---
- name: install Jupyter notebook for Python 3
dnf: state=latest name={{ item }}
dnf: state=installed name={{ item }}
become: yes
with_items:
- python3-jupyter-core
......
---
- name: install fitting for Python 3
dnf: state=latest name={{ item }}
dnf: state=installed name={{ item }}
become: yes
with_items:
- python3-scipy
......@@ -9,7 +9,7 @@
when: ansible_distribution == 'Fedora'
- name: install fitting via pip3
pip: executable=pip3 state=latest name={{ item }}
pip: executable=pip3 state=installed name={{ item }}
become: yes
with_items:
- iminuit
......
......@@ -15,9 +15,9 @@
when: ansible_distribution == 'Fedora'
- name: "Install Python stack for scientific purposes (Distribution)"
package: name={{ item }} state=latest
package: name={{ item }} state=installed
become: yes
with_items:
with_items:
- "{{ python2pkg }}"
- "{{ python3pkg }}"
......@@ -30,17 +30,21 @@
- name: upgrade pip2 #install --upgrade pip
pip: state=latest name=pip
become: yes
tags:
- skip_ansible_lint
- name: install pip packages Python 2
pip: name={{ item }} state=latest
pip: name={{ item }} state=installed
become: yes
with_items: "{{python2pip}}"
- name: upgrade pip3
pip: executable=pip3 state=latest name=pip
become: yes
tags:
- skip_ansible_lint
- name: install pip packages Python 2
pip: executable=pip3 name={{ item }} state=latest
pip: executable=pip3 name={{ item }} state=installed
become: yes
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