Skip to content

Commit

Permalink
don't start config service
Browse files Browse the repository at this point in the history
  • Loading branch information
ferrarimarco committed Oct 9, 2023
1 parent c04c2c0 commit 2c022b3
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@
- src: "host-configuration/{{ host_configuration_service_name }}.timer.jinja"
dest: "{{ systemd_system_services_configuration_directory }}/{{ host_configuration_service_name }}.timer"

- name: Ensure that the host configuration services are started and enabled at boot
service:
# Don't start services because timers take care of that
- name: Ensure that the host configuration services are enabled at boot
ansible.builtin.service:
name: "{{ host_configuration_service_name }}"
state: started
enabled: true
ignore_errors: "{{ ansible_check_mode }}"

- name: Ensure handlers are notified now to avoid firewall conflicts.
meta: flush_handlers
- name: Ensure handlers are notified now
ansible.builtin.meta: flush_handlers
...

0 comments on commit 2c022b3

Please sign in to comment.