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
dc53d4c4
Commit
dc53d4c4
authored
4 years ago
by
me5na7qbjqbrp
Browse files
Options
Downloads
Patches
Plain Diff
Clone plugins and add logo
parent
239b8ec4
No related branches found
Branches containing commit
No related tags found
1 merge request
!87
Roundcube
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
group_vars/roundcube.yml
+6
-1
6 additions, 1 deletion
group_vars/roundcube.yml
roles/roundcube/tasks/main.yml
+9
-6
9 additions, 6 deletions
roles/roundcube/tasks/main.yml
roles/roundcube/templates/roundcube/config.inc.php.j2
+9
-0
9 additions, 0 deletions
roles/roundcube/templates/roundcube/config.inc.php.j2
with
24 additions
and
7 deletions
group_vars/roundcube.yml
+
6
−
1
View file @
dc53d4c4
...
@@ -18,4 +18,9 @@ roundcube_glob:
...
@@ -18,4 +18,9 @@ roundcube_glob:
-
repo
:
'
https://gitlab.crans.org/nounous/roundcube-plugin-identity_smtp.git'
-
repo
:
'
https://gitlab.crans.org/nounous/roundcube-plugin-identity_smtp.git'
name
:
identity_smtp
name
:
identity_smtp
version
:
HEAD
version
:
HEAD
-
name
:
zipdownload
-
name
:
attachment_reminder
-
name
:
newmail_notifier
-
name
:
listcommands
-
name
:
thunderbird_labels
-
name
:
contextmenu
This diff is collapsed.
Click to expand it.
roles/roundcube/tasks/main.yml
+
9
−
6
View file @
dc53d4c4
...
@@ -34,20 +34,23 @@
...
@@ -34,20 +34,23 @@
dest
:
"
/etc/roundcube/plugins/{{
item.name
}}"
dest
:
"
/etc/roundcube/plugins/{{
item.name
}}"
version
:
"
{{
item.version
}}"
version
:
"
{{
item.version
}}"
loop
:
"
{{
roundcube.plugins
}}"
loop
:
"
{{
roundcube.plugins
}}"
when
:
item.repo is defined
-
name
:
Symlink custom plugins (1)
-
name
:
Symlink custom plugins (1)
file
:
file
:
src
:
"
/usr/share/roundcube/plugins/{{
item
}}"
src
:
"
/usr/share/roundcube/plugins/{{
item
.name
}}"
dest
:
"
/var/lib/roundcube/plugins/{{
item
}}"
dest
:
"
/var/lib/roundcube/plugins/{{
item
.name
}}"
state
:
link
state
:
link
loop
:
"
{{
roundcube.plugins
|
map(attribute='name')
|
list
}}"
loop
:
"
{{
roundcube.plugins
}}"
when
:
item.repo is defined
-
name
:
Symlink custom plugins (2)
-
name
:
Symlink custom plugins (2)
file
:
file
:
src
:
"
/etc/roundcube/plugins/{{
item
}}"
src
:
"
/etc/roundcube/plugins/{{
item
.name
}}"
dest
:
"
/usr/share/roundcube/plugins/{{
item
}}"
dest
:
"
/usr/share/roundcube/plugins/{{
item
.name
}}"
state
:
link
state
:
link
loop
:
"
{{
roundcube.plugins
|
map(attribute='name')
|
list
}}"
loop
:
"
{{
roundcube.plugins
}}"
when
:
item.repo is defined
-
name
:
Copy NGINX site
-
name
:
Copy NGINX site
template
:
template
:
...
...
This diff is collapsed.
Click to expand it.
roles/roundcube/templates/roundcube/config.inc.php.j2
+
9
−
0
View file @
dc53d4c4
...
@@ -88,5 +88,14 @@ $config['skin'] = 'elastic';
...
@@ -88,5 +88,14 @@ $config['skin'] = 'elastic';
// see defaults.inc.php for additional informations
// see defaults.inc.php for additional informations
$config
[
'enable_spellcheck'
]
=
false
;
$config
[
'enable_spellcheck'
]
=
false
;
// Custom logo
$config
[
'skin_logo'
]
=
array
(
"elastic:login[small]"
=>
"https://www.crans.org/images/crans_black.svg"
,
"elastic:login"
=>
"https://www.crans.org/images/crans_black.svg"
,
"elastic:*"
=>
"https://www.crans.org/images/crans.svg"
,
"larry:*"
=>
"https://www.crans.org/images/crans_banner.png"
,
"classic:*"
=>
"https://www.crans.org/images/crans_banner.png"
);
// This domain will be used to form e-mail addresses of new users
// This domain will be used to form e-mail addresses of new users
$config
[
'mail_domain'
]
=
'{{ roundcube.mail_domain }}'
;
$config
[
'mail_domain'
]
=
'{{ roundcube.mail_domain }}'
;
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