Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
apache
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
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
Ansible
Roles
apache
Commits
f80ee066
Commit
f80ee066
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
#3
Ensure prefixes and directories
parent
6211bd4b
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tasks/apache.yml
+10
-3
10 additions, 3 deletions
tasks/apache.yml
with
10 additions
and
3 deletions
tasks/apache.yml
+
10
−
3
View file @
f80ee066
...
...
@@ -73,6 +73,13 @@
notify
:
"
Apache
|
Restart
Apache"
-
name
:
"
Apache
|
Create
htdocs
directory
for
default"
file
:
dest=/var/www{{ apache_server_default_root }}
state=directory
owner=www-data
group=www-data
-
name
:
"
Apache
|
Create
htdocs
directory
for
SVN
default"
file
:
dest=/var/www/{{ apache_server_default_svn_target }}
state=directory
...
...
@@ -102,7 +109,7 @@
-
name
:
"
Apache
|
Configuration
file
for
default
ssl
site"
template
:
src=etc-apache2-sites-available-default-ssl
dest=/etc/apache2/sites-available/default-ssl{{ apache_conf_ext }}
dest=/etc/apache2/sites-available/
{{ apache_conf_default_prefix }}
default-ssl{{ apache_conf_ext }}
owner=root
group=root
mode=0644
...
...
@@ -124,11 +131,11 @@
-
"
Apache
|
Checkout
htdocs
for
our
site(s)"
-
name
:
"
Apache
|
Enable
the
default
site"
command
:
a2ensite default creates=/etc/apache2/sites-enabled/
000-
default{{ apache_conf_ext }}
command
:
a2ensite
{{ apache_conf_default_prefix }}
default creates=/etc/apache2/sites-enabled/
{{ apache_conf_default_prefix }}
default{{ apache_conf_ext }}
when
:
apache_server_default == "yes"
-
name
:
"
Apache
|
Enable
the
default
ssl
site"
command
:
a2ensite default-ssl creates=/etc/apache2/sites-enabled/default-ssl{{ apache_conf_ext }}
command
:
a2ensite
{{ apache_conf_default_prefix }}
default-ssl creates=/etc/apache2/sites-enabled/
{{ apache_conf_default_prefix }}
default-ssl{{ apache_conf_ext }}
when
:
apache_server_default_ssl == "yes"
-
name
:
"
Apache
|
Enable
our
new
site(s)"
...
...
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