Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
las-it-organisation
32-0-IT instructions and rules
ansible
Commits
0d27c567
Commit
0d27c567
authored
Mar 12, 2017
by
julian.gethmann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ansible-lint
parent
1bcbd2da
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
18 additions
and
8 deletions
+18
-8
common.yml
common.yml
+1
-1
roles/common/handlers/main.yml
roles/common/handlers/main.yml
+4
-0
roles/common/tasks/sysupdate.yml
roles/common/tasks/sysupdate.yml
+2
-0
roles/ipynb/tasks/notebooks.yml
roles/ipynb/tasks/notebooks.yml
+1
-1
roles/python_stack/tasks/fitting.yml
roles/python_stack/tasks/fitting.yml
+2
-2
roles/python_stack/tasks/python.yml
roles/python_stack/tasks/python.yml
+8
-4
No files found.
common.yml
View file @
0d27c567
...
...
@@ -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
...
...
roles/common/handlers/main.yml
View file @
0d27c567
...
...
@@ -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
roles/common/tasks/sysupdate.yml
View file @
0d27c567
...
...
@@ -2,3 +2,5 @@
-
name
:
Updating the system
become
:
yes
package
:
name=* state=latest
tags
:
-
skip_ansible_lint
roles/ipynb/tasks/notebooks.yml
View file @
0d27c567
---
-
name
:
install Jupyter notebook for Python
3
dnf
:
state=
latest
name={{ item }}
dnf
:
state=
installed
name={{ item }}
become
:
yes
with_items
:
-
python3-jupyter-core
...
...
roles/python_stack/tasks/fitting.yml
View file @
0d27c567
---
-
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
...
...
roles/python_stack/tasks/python.yml
View file @
0d27c567
...
...
@@ -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}}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment