iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
add prometheus and friends
[distro-setup]
/
brc
diff --git
a/brc
b/brc
index 84386907d92e1f4f53683068ac70ec77d73d48c5..5ecfd817aa6d0a8072562a5e4b31f191d26a8e57 100644
(file)
--- a/
brc
+++ b/
brc
@@
-331,14
+331,19
@@
anki() {
ap() {
# pushd in case current directory has an ansible.cfg file
ap() {
# pushd in case current directory has an ansible.cfg file
- pushd /a/xans
+ pushd /a/xans
>/dev/null
ansible-playbook -v -l ${1:- $(hostname -f)} site.yml
ansible-playbook -v -l ${1:- $(hostname -f)} site.yml
- popd
+ popd
>/dev/null
}
aw() {
}
aw() {
- pushd /a/work/ansible-configs
+ pushd /a/work/ansible-configs
>/dev/null
time ansible-playbook -v -i inventory adhoc.yml "$@"
time ansible-playbook -v -i inventory adhoc.yml "$@"
- popd
+ popd >/dev/null
+}
+ad() {
+ pushd /a/bin/distro-setup/a >/dev/null
+ ansible-playbook site.yml
+ popd >/dev/null
}
astudio() {
}
astudio() {
@@
-378,12
+383,21
@@
bigclock() {
}
bpull() {
}
bpull() {
+ [[ $1 ]] || return 1
+ c /
+ # run latest
+ install-my-scripts
+ switch-mail-host $1 $HOSTNAME
+}
+bpush() {
+ [[ $1 ]] || return 1
c /
# run latest
install-my-scripts
c /
# run latest
install-my-scripts
- switch-mail-host $
1 $HOSTNAMEs
+ switch-mail-host $
HOSTNAME $1
}
}
+
btc() {
local f=/etc/bitcoin/bitcoin.conf
# importprivkey will timeout if using the default of 15 mins.
btc() {
local f=/etc/bitcoin/bitcoin.conf
# importprivkey will timeout if using the default of 15 mins.