Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
R
rbfsmi-ansible
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
rbfsmi.imt
rbfsmi-ansible
Commits
348cbf10
There was an error fetching the commit references. Please try again later.
Commit
348cbf10
authored
May 10, 2023
by
Jan-Oliver Opdenhövel
Browse files
Options
Downloads
Patches
Plain Diff
Reordering stuff
parent
271c328e
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/klausurarchiv/tasks/main.yml
+23
-20
23 additions, 20 deletions
roles/klausurarchiv/tasks/main.yml
with
23 additions
and
20 deletions
roles/klausurarchiv/tasks/main.yml
+
23
−
20
View file @
348cbf10
...
...
@@ -5,12 +5,6 @@
name
:
-
python
-
name
:
checkout klausurarchiv
git
:
repo
:
https://git.cs.uni-paderborn.de/fsmi/klausurarchiv-remastered.git
dest
:
"
{{klausurarchiv.installation_dir}}"
version
:
"
{{klausurarchiv.repo_version}}"
-
name
:
setup group
group
:
name
:
klausurarchiv
...
...
@@ -19,10 +13,31 @@
user
:
name
:
klausurarchiv
group
:
klausurarchiv
create_home
:
fals
e
create_home
:
tru
e
password_lock
:
true
-
name
:
Create venv
-
name
:
create folders and set
file
:
path
:
"
{{item}}"
state
:
directory
owner
:
klausurarchiv
group
:
klausurarchiv
loop
:
"
{{
folders
}}"
vars
:
folders
:
-
"
/opt/klausurarchiv"
-
"
/etc/klausurarchiv"
-
"
/var/lib/klausurarchiv"
-
name
:
checkout klausurarchiv
git
:
repo
:
https://git.cs.uni-paderborn.de/fsmi/klausurarchiv-remastered.git
dest
:
"
{{klausurarchiv.installation_dir}}"
version
:
"
{{klausurarchiv.repo_version}}"
become
:
true
become_user
:
klausurarchiv
-
name
:
Create virtualenv
shell
:
cmd
:
"
python3
-m
venv
{{klausurarchiv.installation_dir}}/venv"
creates
:
"
{{klausurarchiv.installation_dir}}/venv"
...
...
@@ -35,18 +50,6 @@
become
:
true
become_user
:
klausurarchiv
-
name
:
create folders
file
:
path
:
"
{{item}}"
state
:
directory
owner
:
klausurarchiv
group
:
klausurarchiv
loop
:
"
{{
folders
}}"
vars
:
folders
:
-
"
/etc/klausurarchiv"
-
"
/var/lib/klausurarchiv"
-
name
:
install config files
template
:
dest
:
"
{{
item.value
}}"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment