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

Remove deprecation warnings from Ansible 2.0.1.0

parent 1a3288d2
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
- name: "Proxy | Install SSL certificates" - name: "Proxy | Install SSL certificates"
copy: src={{inventory_dir}}/files/ssl/{{item}} copy: src={{inventory_dir}}/files/ssl/{{item}}
dest=/etc/haproxy/certs dest=/etc/haproxy/certs
with_items: proxy_certificates with_items: '{{ proxy_certificates }}'
notify: 'Proxy | Restart HAProxy' notify: 'Proxy | Restart HAProxy'
- name: "Proxy | Create host lists" - name: "Proxy | Create host lists"
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
group=root group=root
mode=644 mode=644
when: scope == 'all' when: scope == 'all'
with_items: groups['all'] with_items: '{{ groups.all }}'
notify: 'Proxy | Restart HAProxy' notify: 'Proxy | Restart HAProxy'
- name: "Proxy | Create host ssl lists" - name: "Proxy | Create host ssl lists"
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
group=root group=root
mode=644 mode=644
when: scope == 'all' when: scope == 'all'
with_items: groups['all'] with_items: '{{ groups.all }}'
notify: 'Proxy | Restart HAProxy' notify: 'Proxy | Restart HAProxy'
- name: "Proxy | Create empty crm lists files" - name: "Proxy | Create empty crm lists files"
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
mode=644 mode=644
state=touch state=touch
when: scope == 'all' when: scope == 'all'
with_items: groups['all'] with_items: '{{ groups.all }}'
notify: 'Proxy | Restart HAProxy' notify: 'Proxy | Restart HAProxy'
- name: "Proxy | Create config file" - name: "Proxy | Create config 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