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=/var/named/chroot/var/named/trioboiler.com.hosts 
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/0546733d-f6e2-4637-b42d-615033acc409n%40googlegroups.com.

Reply via email to