commit | author | age | ||
26d781 | 1 | --- |
SU | 2 | - name: simple fetch |
3 | hosts: server | |
4 | become: true | |
5 | tasks: | |
6 | - name: fetch /etc/motd | |
7 | fetch: | |
8 | src: /etc/motd | |
9 | #dest: '/tmp/motd-{{ ansible_facts["fqdn"] }}' | |
10 | dest: /tmp/motds | |
11 | flat: false |