Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
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
ansible-lint
parent
1bcbd2da
Changes
6
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
0%
Try again
or
attach a new 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