Created
October 22, 2017 08:39
-
-
Save maprangzth/3765ff81da7b448b2c8658b45d439166 to your computer and use it in GitHub Desktop.
Simple Playbooks for Explanation About Loop
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Install reqiured packages | |
hosts: all | |
remote_user: maprangzth | |
tasks: | |
- name: Ensure EPEL Repo is present | |
yum: | |
name: epel-release | |
state: present | |
become: True | |
- name: Ensure reqiured packages in present | |
yum : | |
name: "{{ item }}" | |
state: present | |
update_cache: yes | |
become: True | |
with_items: | |
- ntp | |
- iotop | |
- htop |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment