I have this for copying the same (new) banner file to each locations - is there a way for 'dest' to expand to include each location in a single line so I can have just one 'copy' block?
tasks: - copy: src : ~/new-banner-2017.txt <----- same file dest: /etc/motd owner: root group: root mode: 0644 - copy: src: ~/new-banner-2017.txt <----- same file dest: /etc/issue owner: root group: root mode: 0644 Is there a way to have 'dest' cover both destinations, like an array or list of some sort? ( dest: "/etc/issue , /etc/motd" ) ? -- 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/066c75de-4eb2-4d2f-b246-365167e2b520%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
