Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
serverdensity
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
serverdensity
Commits
ff20908f
Commit
ff20908f
authored
8 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
ansible-roles/apache#4 Change roles and inventory to change Apache default version to 2.4
parent
6cd46fb5
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
defaults/main.yml
+0
-3
0 additions, 3 deletions
defaults/main.yml
tasks/apache.yml
+2
-2
2 additions, 2 deletions
tasks/apache.yml
templates/etc-apache2-sites-available-sd-agent
+1
-1
1 addition, 1 deletion
templates/etc-apache2-sites-available-sd-agent
with
3 additions
and
6 deletions
defaults/main.yml
+
0
−
3
View file @
ff20908f
...
...
@@ -21,7 +21,4 @@ sd_plugins_files_dir: "{{ playbook_dir }}/files/sd-plugins"
sd_uninstallv1
:
no
apache_conf_dir
:
'
conf.d'
apache_conf_ext
:
'
'
mysql_root_password
:
'
root'
This diff is collapsed.
Click to expand it.
tasks/apache.yml
+
2
−
2
View file @
ff20908f
...
...
@@ -27,12 +27,12 @@
-
name
:
"
ServerDensity
|
Apache
|
Configuration
file
for
ServerDensity"
template
:
src=etc-apache2-sites-available-sd-agent
dest=/etc/apache2/sites-available/sd-agent{{ apache_conf_ext }}
dest=/etc/apache2/sites-available/sd-agent{{ apache_conf_ext
|default('.conf')
}}
owner=root
group=root
mode=0644
notify
:
"
ServerDensity
|
Restart
Apache"
-
name
:
"
ServerDensity
|
Apache
|
Enable
the
sd-agent
site"
command
:
a2ensite sd-agent creates=/etc/apache2/sites-enabled/sd-agent{{ apache_conf_ext }}
command
:
a2ensite sd-agent creates=/etc/apache2/sites-enabled/sd-agent{{ apache_conf_ext
|default('.conf')
}}
notify
:
"
ServerDensity
|
Restart
Apache"
This diff is collapsed.
Click to expand it.
templates/etc-apache2-sites-available-sd-agent
+
1
−
1
View file @
ff20908f
<VirtualHost *:80>
Include /etc/apache2/{{ apache_conf_dir }}/global-redirect.conf
Include /etc/apache2/{{ apache_conf_dir
|default('conf-available')
}}/global-redirect.conf
ServerName {{ inventory_hostname }}
<Location /server-status>
...
...
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