Skip to content

Instantly share code, notes, and snippets.

View nehrman's full-sized avatar
🏠
Working from home

Nicolas EHRMAN nehrman

🏠
Working from home
View GitHub Profile

Keybase proof

I hereby claim:

  • I am nehrman on github.
  • I am nehrman (https://keybase.io/nehrman) on keybase.
  • I have a public key ASDFAvJ7gJP8ECZmjlgd9xv_ps8Jkpvw9bmqmA7ftew2TQo

To claim this, I am signing this object:

@nehrman
nehrman / gist:3951a9f61083e462c60aeffcd942acb8
Last active November 19, 2024 07:43
How to integrate Ansible Tower with Vault ssh-ca to secure your environment
The aim of this quick documentation is to explain how to deploy and configure HashiCorp Vault and Ansible Tower to make ssh-ca
happen to secure your environment.
- First Step : Installing Vault
To do that, you can use a shell script that I build to deploy a 1 Node Vault Server.
https://github.com/nehrman/hashicorp-solutions-scripts/blob/master/vault_single_server.sh
- Second Step : Configure Vault for ssh-ca
@nehrman
nehrman / hashicorp-pet.toml
Created May 20, 2019 09:32
Hashicorp Snippets for Pet
[[snippets]]
description = "List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = """
dc1
"""
[[snippets]]
description = "List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]
[[snippets]]
description = "Consul - List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "Consul - List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]
[[snippets]]
description = "Consul - List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "Consul - List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]
[[snippets]]
description = "Consul - List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "Consul - List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]
[[snippets]]
description = "Consul - List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "Consul - List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]
[[snippets]]
description = "Consul - List all known datacenters from the catalog"
command = "consul catalog datacenters"
tag = ["consul"]
output = "dc1\n"
[[snippets]]
description = "Consul - List all known members of a Consul Cluster"
command = "consul members"
tag = ["consul"]