Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
owncloud
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD 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
ansible
owncloud
Commits
4c332394
Commit
4c332394
authored
9 years ago
by
nimrod
Browse files
Options
Downloads
Patches
Plain Diff
Depend on Apache role, remove unnecessary tasks and config.
parent
991ea647
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
meta/main.yml
+2
-1
2 additions, 1 deletion
meta/main.yml
tasks/main.yml
+1
-24
1 addition, 24 deletions
tasks/main.yml
templates/owncloud.conf.j2
+0
-10
0 additions, 10 deletions
templates/owncloud.conf.j2
with
3 additions
and
35 deletions
meta/main.yml
+
2
−
1
View file @
4c332394
...
@@ -7,4 +7,5 @@ galaxy_info:
...
@@ -7,4 +7,5 @@ galaxy_info:
min_ansible_version
:
1.2
min_ansible_version
:
1.2
#platforms:
#platforms:
#categories:
#categories:
dependencies
:
[]
dependencies
:
-
apache
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
1
−
24
View file @
4c332394
...
@@ -73,23 +73,6 @@
...
@@ -73,23 +73,6 @@
state
:
present
state
:
present
minute
:
'
*/15'
minute
:
'
*/15'
-
name
:
Enable mod-ssl in Apache
with_items
:
-
ssl
-
headers
apache2_module
:
name
:
'
{{
item
}}'
state
:
present
notify
:
-
Restart Apache
-
name
:
Disable default Apache site
file
:
path
:
/etc/apache2/sites-enabled/000-default.conf
state
:
absent
notify
:
-
Restart Apache
-
name
:
Add ownCloud Apache site
-
name
:
Add ownCloud Apache site
template
:
template
:
src
:
owncloud.conf.j2
src
:
owncloud.conf.j2
...
@@ -98,13 +81,7 @@
...
@@ -98,13 +81,7 @@
group
:
root
group
:
root
mode
:
'
0644'
mode
:
'
0644'
notify
:
notify
:
-
Restart Apache
-
Reload Apache
-
name
:
Open https port in firewall
ufw
:
rule
:
allow
port
:
443
proto
:
tcp
-
name
:
Add daily backup job
-
name
:
Add daily backup job
template
:
template
:
...
...
This diff is collapsed.
Click to expand it.
templates/owncloud.conf.j2
+
0
−
10
View file @
4c332394
<VirtualHost _default_:443>
<VirtualHost _default_:443>
DocumentRoot /var/www/owncloud/
DocumentRoot /var/www/owncloud/
SSLEngine on
SSLCertificateFile {{ tls_cert_path }}
SSLCertificateKeyFile {{ tls_key_path }}
SSLProtocol all -SSLv2 -SSLv3
SSLCipherSuite !kRSA:!3DES:!RC4:!DES:!MD5:!aNULL:!NULL:AESGCM+ECDH:AES256+ECDH:AES128:+SHA1;
SSLHonorCipherOrder on
SSLCompression off
Header always set Strict-Transport-Security "max-age=15768000;includeSubDomains; preload"
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</virtualHost>
</virtualHost>
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