Skip to content

Instantly share code, notes, and snippets.

@polster
Last active August 29, 2015 14:23
Show Gist options
  • Save polster/abb0e95707feb0ee742c to your computer and use it in GitHub Desktop.
Save polster/abb0e95707feb0ee742c to your computer and use it in GitHub Desktop.
How to process multiple files in Ansible
- name: Copy trusted repo gpg keys
copy:
src: "{{ item }}"
dest: "/etc/pki/rpm-gpg"
with_fileglob:
- RedHat/RPM-GPG-KEY-*-{{ os_version_major }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment