Good day, all.
I want to add the following line to a file:
_some-name TXT
"aZJACEhonRJiOCL1ZtkKMKnx7U4m5jbSswyClGb6wGk"
I would think I'd use the following:
lineinfile: dest=/somedir/somefile insertafter=EOF line="_acme-challenge
TXT
"aZJACEhonRJiOCL1ZtkKMKnx7U4m5jbSswyClGb6wGk"
However, the quoted string at the end is screwing my up. How do I make this
work? Would ansible.builtin.blockinfile be better? If so, how would I set
that up?
--
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 view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/750d3eda-cc24-4557-8078-f9ff6766feb0n%40googlegroups.com.