ansible_fixes Replaced 'with_items' with 'loop'

This commit is contained in:
Bastian de Byl
2020-10-02 22:31:52 -04:00
parent 354a862420
commit c89079b810
4 changed files with 12 additions and 12 deletions

View File

@@ -5,7 +5,7 @@
src: "templates/nginx/sites/{{ item }}.j2"
dest: "/etc/nginx/sites-available/{{ item }}"
mode: 0644
with_items:
loop:
- "{{ ci_server_name }}.https.conf"
notify: restart_nginx
tags: https
@@ -16,7 +16,7 @@
src: "/etc/nginx/sites-available/{{ item }}"
dest: "/etc/nginx/sites-enabled/{{ item }}"
state: link
with_items:
loop:
- "{{ ci_server_name }}.https.conf"
notify: restart_nginx
tags: https