Skip to content

Instantly share code, notes, and snippets.

View den-is's full-sized avatar
💭
🧙✨☁️

Denis Iskandarov den-is

💭
🧙✨☁️
View GitHub Profile
@den-is
den-is / seed2cli.sh
Last active June 3, 2021 13:56
Retrieve payment and stake keys out of Daedalus wallet
#!/bin/bash
# original work https://gist.github.com/ilap/3fd57e39520c90f084d25b0ef2b96894
CADDR=${CADDR:=$( which cardano-address )}
[[ -z "$CADDR" ]] && { echo "cardano-address cannot be found, exiting..." >&2 ; exit 127; }
CCLI=${CCLI:=$( which cardano-cli )}
[[ -z "$CCLI" ]] && { echo "cardano-cli cannot be found, exiting..." >&2 ; exit 127; }
@den-is
den-is / ansible_setup_facts_debian10_output.json
Last active October 8, 2021 13:27
ansible facts output from setup module
{
"ansible_facts": {
"ansible_all_ipv4_addresses": [
"10.1.1.81"
],
"ansible_all_ipv6_addresses": [
"fe80::a00:27ff:fe75:a4bb"
],
"ansible_apparmor": {
"status": "enabled"

Everything should be in one directory root.

Except services: they should be in consul.d directory located in same root.

ACL should be uploaded via UI or appropriate API call.

With that setup you can have consul binary on your host machine, in $PATH and execute commands normally (dc1, a1 - is connection server)

docker-compose up