Some Common Modules

Ansible is good at configuring servers. There are a whole bunch of modules to help us do that.

Examples:

- name: install git 
  yum: pkg=git state=installed

- name: start nginx
  service: name=nginx state=started

- name: put selinux to enforcing mode
  selinux: policy=targeted state=enforcing

- name: create the user
  user: name=aditya