Skip to content

Conversation

@isakrubin
Copy link

SUMMARY

introduced consul_systemd_service_name variable to allow specifying name of service (and related directories), solving the issue of running multiple instances on the same machine

ISSUE TYPE
  • Feature Pull Request

ansible.builtin.template:
src: consul_systemd_service.override.j2
dest: /etc/systemd/system/consul.service.d/override.conf
dest: "/etc/systemd/system/{{ consul_systemd_service_name }}.service.d/override.conf"
Copy link
Contributor

@nre-ableton nre-ableton Feb 22, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This causes an ansible-lint violation, since templating Ansible task names only works if the template is at the very end of the string. You'll need to reword the task (and drop the quotes) to make this work.

@rndmh3ro
Copy link
Collaborator

Can you add the new variable to the readme, please? Otherwise this looks good to me (when ansible-lint is happy).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants