Skip to content

Instantly share code, notes, and snippets.

@lanky
Created July 31, 2015 11:19
Show Gist options
  • Save lanky/5c860a4fca69528d0f93 to your computer and use it in GitHub Desktop.
Save lanky/5c860a4fca69528d0f93 to your computer and use it in GitHub Desktop.
- name: copy lots of stuff
copy:
src: {{ item.name }}
dest: {{ item.path }}
with_items:
- name: rsyslog.conf
path: /etc
- name: remote.conf
path: /etc/rsyslog.d
@chikatambun
Copy link

-   name      : install essential deb package 
    apt       : pkg={{ item }} state=latest
    when      : ansible_distribution == 'Debian' or ansible_distribution == 'Ubuntu'
    with_items:
                - shorewall
                - logrotate
                - rsyslog-relp 
                - ntp

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment