Skip to content

Commit

Permalink
fix(ci): use include_tasks instead of the deprecated `ansible.built…
Browse files Browse the repository at this point in the history
  • Loading branch information
witsch committed Jul 19, 2024
1 parent 867c7b5 commit b520641
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions deployment/roles/webserver/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,17 @@
src: nginx.conf
dest: /usr/local/etc/nginx/nginx.conf

- { include: ssl.yml }
- include_tasks: ssl.yml

- name: make sure nginx is running or reloaded
service:
name: nginx
state: started
enabled: true

- { include: acme.yml, tags: acme, when: ploy_use_acme == "true" }
- include_tasks:
file: acme.yml
apply:
tags:
- acme
when: ploy_use_acme == "true"

0 comments on commit b520641

Please sign in to comment.