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
7497b6b6
Commit
7497b6b6
authored
9 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Remove deprecation warnings from Ansible 2.0.1.0
parent
44ba859d
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
handlers/main.yml
+1
-1
1 addition, 1 deletion
handlers/main.yml
tasks/apache.yml
+4
-4
4 additions, 4 deletions
tasks/apache.yml
with
5 additions
and
5 deletions
handlers/main.yml
+
1
−
1
View file @
7497b6b6
...
...
@@ -21,7 +21,7 @@
repo={{ item.svn_source }}
dest=/var/www/{{ item.svn_target }}
become
:
no
with_items
:
apache_server_defs
with_items
:
'
{{
apache_server_defs
}}'
notify
:
'
Apache
|
Change
ownership
for
web
server
files'
async
:
3000
poll
:
0
...
...
This diff is collapsed.
Click to expand it.
tasks/apache.yml
+
4
−
4
View file @
7497b6b6
...
...
@@ -48,7 +48,7 @@
src={{inventory_dir}}/files/ssl/{{item.1.file}}
dest=/etc/ssl/private
with_subelements
:
-
apache_certificates
-
'
{{
apache_certificates
}}'
-
certs
notify
:
"
Apache
|
Restart
Apache"
...
...
@@ -65,7 +65,7 @@
state=directory
owner=www-data
group=www-data
with_items
:
apache_server_defs
with_items
:
'
{{
apache_server_defs
}}'
-
name
:
"
Apache
|
Configuration
file
for
default
site"
template
:
...
...
@@ -98,7 +98,7 @@
owner=root
group=root
mode=0644
with_items
:
apache_server_defs
with_items
:
'
{{
apache_server_defs
}}'
notify
:
-
"
Apache
|
Restart
Apache"
-
"
Apache
|
Checkout
htdocs
for
our
site(s)"
...
...
@@ -113,7 +113,7 @@
-
name
:
"
Apache
|
Enable
our
new
site(s)"
command
:
a2ensite {{ item.vhost }} creates=/etc/apache2/sites-enabled/{{ item.vhost }}{{ apache_conf_ext }}
with_items
:
apache_server_defs
with_items
:
'
{{
apache_server_defs
}}'
-
name
:
"
Apache
|
Create
passwords
directory
for
AuthType
Basic"
file
:
...
...
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