I need to create a postgresql@[db_service_name].service for systemd on remote 
hosts. Based on extremely limited access rights on such hosts (due to strict 
company security policies) the challenge I am facing is that the only way to do 
this manually is via

   sudo systemctl edit --full postgresql@[db_service_name].service

This allows to edit a unitfile interactively which then is used to start the 
service. 
I do not have any direct write access to /etc/systemd/system or anything else 
outside /opt on such remotes.

so, is there any way to get specific values into that unit file via ansible 
under such circumstances?

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1823518936.133081.1662009342899%40office.mailbox.org.

Reply via email to