Skip to content

Commit

Permalink
Lint.
Browse files Browse the repository at this point in the history
  • Loading branch information
robertdebock committed Jan 3, 2023
1 parent 2251513 commit 82acba5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/main.yml
Expand Up @@ -95,8 +95,10 @@
- Restart dns

- name: Place systemd override
when:
- ansible_service_mgr == "systemd"
block:
- name: Create /etc/systemd/system/{{ dns_service }}.service.d
- name: Create service.d {{ dns_service }}
ansible.builtin.file:
path: /etc/systemd/system/{{ dns_service }}.service.d
state: directory
Expand All @@ -114,8 +116,6 @@
ansible.builtin.systemd:
daemon_reload: yes
changed_when: no
when:
- ansible_service_mgr == "systemd"

- name: Start and enable dns
ansible.builtin.service:
Expand Down

0 comments on commit 82acba5

Please sign in to comment.