Skip to content
Snippets Groups Projects
Commit 7497b6b6 authored by jurgenhaas's avatar jurgenhaas
Browse files

Remove deprecation warnings from Ansible 2.0.1.0

parent 44ba859d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment