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 ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/8cb39f61-4616-4be4-861d-60d726e74a96n%40googlegroups.com.

Reply via email to