Commit ca339b71 authored by julian.gethmann's avatar julian.gethmann

ansible-lint

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