Really? For programming they are immensely helpful! ChatGPT 3.5 even rewrote Rust code for me that compiled with borrowing issues, replacing iter() with itermut() and other things. I also had a question about specific configuration w/ an old version of Chart.JS that I could not find an answer on Google, and ChatGPT figured it out.
I had it write an ansible job to enable a service with a specific name, and I got what I expected: something that looks correct a first glance, but with some subtle errors.
Rather than ask it to write a full ansible job, try asking it the question you would ask on Stack Overflow (i.e. you probably wouldn't ask Stack Overflow to write the full job for you).