Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Ansible
Manage
Activity
Members
Labels
Plan
Issues
3
Issue boards
Milestones
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nounous
Ansible
Commits
88597218
Verified
Commit
88597218
authored
5 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Deploy framadate from crans gitlab
parent
77fd9223
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
roles/framadate/defaults/main.yml
+0
-8
0 additions, 8 deletions
roles/framadate/defaults/main.yml
roles/framadate/tasks/main.yml
+6
-6
6 additions, 6 deletions
roles/framadate/tasks/main.yml
services_web.yml
+9
-1
9 additions, 1 deletion
services_web.yml
with
15 additions
and
15 deletions
roles/framadate/defaults/main.yml
deleted
100644 → 0
+
0
−
8
View file @
77fd9223
---
# URL to clone
service_repo
:
https://framagit.org/framasoft/framadate.git
# name of the service user
# It means that you will have to `sudo -u THISUSER zsh` to debug
service_user
:
www-data
service_path
:
/var/www/framadate
This diff is collapsed.
Click to expand it.
roles/framadate/tasks/main.yml
+
6
−
6
View file @
88597218
...
...
@@ -15,20 +15,20 @@
-
name
:
Clone framadate project
git
:
repo
:
"
{{
servic
e_repo
}}"
dest
:
"
{{
servic
e_path
}}"
version
:
"
{{
servic
e_version
}}"
repo
:
"
{{
framadat
e_repo
}}"
dest
:
"
{{
framadat
e_path
}}"
version
:
"
{{
framadat
e_version
}}"
-
name
:
Set perms on framadate code
file
:
path
:
"
{{
servic
e_path
}}"
path
:
"
{{
framadat
e_path
}}"
state
:
directory
owner
:
"
{{
servic
e_user
}}"
owner
:
"
{{
framadat
e_user
}}"
recurse
:
true
# composer install
# become: true
# become_user: "{{
servic
e_user }}"
# become_user: "{{
framadat
e_user }}"
# cd framadate
# sudo -u www-data touch admin/stdout.log
...
...
This diff is collapsed.
Click to expand it.
services_web.yml
+
9
−
1
View file @
88597218
...
...
@@ -6,11 +6,19 @@
# Deploy FramaDate
-
hosts
:
voyager.adm.crans.org
vars
:
service_version
:
1.1.10
# mirror on Crans GitLab because adm has no network
framadate_repo
:
https://gitlab.crans.org/nounous/framadate.git
framadate_version
:
1.1.10
# User who will run framadate
# you will have to `sudo -u THISUSER zsh` to debug
framadate_user
:
www-data
framadate_path
:
/var/www/framadate
# Indicate service in motd
motd_role
:
name
:
framadate
path
:
"
{{
framadate_path
}}"
roles
:
-
framadate
-
motd-role
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