https://nornir.readthedocs.io/en/stable/index.html
r = InitNornir(config_file='config.yaml')
nr = InitNornir(config_file='config.yaml', core={'num_workers': 1}) # Useful for testing as it works in serial, doesn't paralellise connections.
https://nornir.readthedocs.io/en/stable/index.html
r = InitNornir(config_file='config.yaml')
nr = InitNornir(config_file='config.yaml', core={'num_workers': 1}) # Useful for testing as it works in serial, doesn't paralellise connections.
My notes on how I setup OpenVPN server on Edgerouter Lite.
Based mostly on this guide from openVPN wiki.
This guide assumes easyrsa3
is being used, otherwise substitute whatever the easyrsa2 versions are for the commands below.
A Public Key Infrastructure (PKI) will be created on each machine:
The following describes how to set up bhyve with Vagrant using the vagrant-bhyve plugin.
[defaults] | |
sudo_flags = SSH_AUTH_SOCK="$SSH_AUTH_SOCK" -H -S -n | |
[ssh_connection] | |
ssh_args=-o ForwardAgent=yes |
Jon Warbrick, July 2014, V3.2 (for Ansible 1.7)
First one found from of
To remove a submodule you need to:
root@deployServer:~# salt \* state.highstate --output=summary_highstate | |
web-server01.example.com ------------------ Success: 20 Changed: 0 Errors: 0 | |
web-server02.example.com ------------------ Success: 71 Changed: 1 Errors: 0 | |
db-server03.example.com ------------------- Success: 73 Changed: 1 Errors: 0 | |
mongo-server04.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
mongo-server05.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
memcache-server06.example.com ------------- Success: 74 Changed: 1 Errors: 0 | |
mysql-server07.example.com ---------------- Success: 74 Changed: 1 Errors: 0 | |
logs-server08.example.com ----------------- Success: 20 Changed: 0 Errors: 0 | |
redis-server09.example.com ---------------- Success: 27 Changed: 0 Errors: 0 |
(defn average[numbers](/ (apply + numbers) (count numbers))) |