Skip to content

Instantly share code, notes, and snippets.

@polster
Created May 11, 2015 21:12
Show Gist options
  • Save polster/547394a7abe0cb05718a to your computer and use it in GitHub Desktop.
Save polster/547394a7abe0cb05718a to your computer and use it in GitHub Desktop.
How to install yum pacakge list
- name: Make sure package dependencies are installed
yum:
name: "{{ item.package }}"
state: present
with_items: my_role_os_package_list
when: my_role_os_package_list|length > 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment