🚨 roles: setup_http_site_proxy: Fix fqcn linter warnings
fqcn[action-core]: Use FQCN for builtin module actions (service). roles/setup_http_site_proxy/handlers/main.yml:2 Use `ansible.builtin.service` or `ansible.legacy.service` instead. fqcn[action-core]: Use FQCN for builtin module actions (template). roles/setup_http_site_proxy/tasks/main.yml:2 Use `ansible.builtin.template` or `ansible.legacy.template` instead. fqcn[action-core]: Use FQCN for builtin module actions (command). roles/setup_http_site_proxy/tasks/main.yml:9 Use `ansible.builtin.command` or `ansible.legacy.command` instead.
This commit is contained in:
parent
2b0e31870d
commit
cb50012dd3
2 changed files with 3 additions and 3 deletions
|
@ -1,5 +1,5 @@
|
|||
---
|
||||
- name: Restart apache2
|
||||
service:
|
||||
ansible.builtin.service:
|
||||
name: apache2
|
||||
state: restarted
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
---
|
||||
- name: Add or update Apache2 site
|
||||
template:
|
||||
ansible.builtin.template:
|
||||
src: templates/apache-docker-proxy-site.j2
|
||||
dest: /etc/apache2/sites-available/{{ site_name }}.conf
|
||||
mode: "0644"
|
||||
notify: Restart apache2
|
||||
|
||||
- name: Activate Apache2 site
|
||||
command: a2ensite {{ site_name }}
|
||||
ansible.builtin.command: a2ensite {{ site_name }}
|
||||
args:
|
||||
creates: /etc/apache2/sites-enabled/{{ site_name }}.conf
|
||||
notify: Restart apache2
|
||||
|
|
Loading…
Add table
Reference in a new issue