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
goldyfruit / pki.yml
Last active Mar 2, 2016
[ansible] Running keystone-manage pki_setup on one host and send SSL certificates on other nodes
View pki.yml
---
- name: Ansible tests playbook
hosts: all
remote_user: root
tasks:
- name: Running PKI setup and creating a tarball with certificates
shell:
keystone-manage pki_setup --keystone-user keystone --keystone-group keystone && \
cd /etc/keystone/ && \
@goldyfruit
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": [
"controller"
],
"vars": {
You can’t perform that action at this time.