Skip to content

Instantly share code, notes, and snippets.

Gaëtan Trellu goldyfruit

Block or report user

Report or block goldyfruit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
goldyfruit / pkg.yml
Last active Nov 13, 2019
[ansible] Check via the yum module and a registered value if a package is installed or not
View pkg.yml
- name: Ansible tests playbook
hosts: all
remote_user: root
- name: Check if mariadb-libs-5.5.44-2.el7.centos.x86_64 package is installed
register: pkg
goldyfruit / hosts
Last active Feb 16, 2016
[ansible] Generate the /etc/hosts with Ansible
View hosts
#!/usr/bin/env python
import json
data = {
"openstack": {
"children": [
"vars": {
You can’t perform that action at this time.