Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
Cines Vitamui
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
2
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
Cines Vitamui
Commits
c593da6d
Unverified
Commit
c593da6d
authored
3 years ago
by
clmntsl
Committed by
GitHub
3 years ago
Browse files
Options
Downloads
Patches
Plain Diff
story #9289 Fix missing modules and logs directory for Debian reverse (#595)
parent
1886e9af
No related branches found
Branches containing commit
No related tags found
1 merge request
!57
Feat/prepare pr
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
deployment/roles/reverse/tasks/apache/apache.yml
+12
-1
12 additions, 1 deletion
deployment/roles/reverse/tasks/apache/apache.yml
with
12 additions
and
1 deletion
deployment/roles/reverse/tasks/apache/apache.yml
+
12
−
1
View file @
c593da6d
...
...
@@ -27,6 +27,13 @@
until
:
result is succeeded
delay
:
"
{{
packages_install_retries_delay
}}"
-
name
:
Configure logs directory symbolic link for Debian
file
:
src
:
"
/var/log/apache2"
dest
:
"
/etc/{{
apache_service
}}/logs"
state
:
link
when
:
ansible_os_family == "Debian"
-
name
:
Ensure mod_ssl & mod_proxy_html is installed (CentOS)
package
:
name
:
[
"
mod_ssl"
,
"
mod_proxy_html"
]
...
...
@@ -46,9 +53,10 @@
mode
:
0644
notify
:
-
reload apache
when
:
ansible_os_family == "RedHat"
# TODO: We could use apache2_module of ansible but it is currently flagged as preview
-
name
:
Enable
mod_ssl & mod_proxy
(Debian)
-
name
:
Enable
necessary mods
(Debian)
file
:
src
:
"
/etc/{{
apache_service
}}/mods-available/{{
item
}}"
dest
:
"
/etc/{{
apache_service
}}/mods-enabled/{{
item
}}"
...
...
@@ -62,6 +70,9 @@
-
proxy.load
-
proxy_http.load
-
socache_shmcb.load
-
substitute.load
-
proxy_html.load
-
headers.load
notify
:
-
reload apache
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
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