additional course material RH294
Student User
2020-02-19 26d781da63ad0368921d6a0eb1f5efcb9bc479d1
1
2
3
4
5
6
7
8
9
10
11
---
- name: simple fetch
  hosts: server
  become: true
  tasks:
    - name: fetch /etc/motd
      fetch:
        src: /etc/motd
        #dest: '/tmp/motd-{{ ansible_facts["fqdn"] }}'
        dest: /tmp/motds
        flat: false