Skip to content

Instantly share code, notes, and snippets.

@Naresh0112
Naresh0112 / ansible-summary.md
Created April 29, 2018 12:31 — forked from andreicristianpetcu/ansible-summary.md
This is an ANSIBLE Cheat Sheet from Jon Warbrick

An Ansible summary

Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)

Configuration file

intro_configuration.html

First one found from of

@Naresh0112
Naresh0112 / pkg.yml
Created April 15, 2018 06:17 — forked from goldyfruit/pkg.yml
[ansible] Check via the yum module and a registered value if a package is installed or not
---
- name: Ansible tests playbook
hosts: all
remote_user: root
tasks:
- name: Check if mariadb-libs-5.5.44-2.el7.centos.x86_64 package is installed
yum:
list=mariadb-libs-5.5*x86_64
register: pkg