Skip to content

Instantly share code, notes, and snippets.

@stelcheck
Created October 8, 2013 08:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stelcheck/6881400 to your computer and use it in GitHub Desktop.
Save stelcheck/6881400 to your computer and use it in GitHub Desktop.
yum and copy
- name: Copy required core collectd RPM packages
copy: >
src={{ item }}-{{ version }}.rpm
dest=/tmp/{{ item }}-{{ version }}.rpm
with_items: packages
tags:
- collectd
- pkgs
- libs
- name: Install required packages
yum: >
name=/tmp/{{ item }}-{{ version }}.rpm
enablerepo=epel
state=present
state=latest
with_items: packages
tags:
- install
- collectd
- pkgs
- libs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment