ansible-labs/60.Facts/solution/solution.yml

10 lines
175 B
YAML

- hosts: lab
gather_facts: true
tasks:
- name: Deploy MOTD
template:
src: template/motd.j2
dest: /etc/motd
become: true
# vim: set ft=yaml sw=2 et: