ons 2017-12-27 klockan 22:30 -0800 skrev Heather Luna:
> I have a configuration (.conf) file that I'm attempting to manipulate
> by adding the {{ fdqn_hostname }} ONLY for the serverName piece, the
> rest of the information like the SSL password is something that's
> going to change across my hosts. How do I edit just the one line and
> keep the rest of the configuration file in tact?

Sounds like you are looking for the lineinfile module?

https://docs.ansible.com/ansible/latest/lineinfile_module.html

// Andreas

-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1514443944.7015.1.camel%40arrakis.se.
For more options, visit https://groups.google.com/d/optout.

Reply via email to