Skip to content

Commit

Permalink
Create loop.yml
Browse files Browse the repository at this point in the history
Loops
  • Loading branch information
Ankam Ravi Kumar authored Oct 30, 2019
1 parent f543c5f commit eb2e031
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions loop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
- name: Install multiple packages
hosts: node2
tasks:
- name: Install packages
yum: name={{item}} state=latest
with_items:
- make
- gcc
- httpd
- wget
...

0 comments on commit eb2e031

Please sign in to comment.