From 51febdfcc0d6c7e1dee48d90fd5588ffeff79aab Mon Sep 17 00:00:00 2001 From: Maveno Date: Sun, 17 Nov 2024 18:04:51 +0100 Subject: [PATCH] #426 Update Command --- {ansible => tools/ansible}/inventory/ffx.yml | 0 tools/ansible/inventory/hawaii.yml | 8 ++++++++ tools/ansible/inventory/peppermint.yml | 8 ++++++++ {ansible => tools/ansible}/setup_node.yml | 0 tools/ffx_update.sh | 7 +++++++ 5 files changed, 23 insertions(+) rename {ansible => tools/ansible}/inventory/ffx.yml (100%) create mode 100644 tools/ansible/inventory/hawaii.yml create mode 100644 tools/ansible/inventory/peppermint.yml rename {ansible => tools/ansible}/setup_node.yml (100%) create mode 100644 tools/ffx_update.sh diff --git a/ansible/inventory/ffx.yml b/tools/ansible/inventory/ffx.yml similarity index 100% rename from ansible/inventory/ffx.yml rename to tools/ansible/inventory/ffx.yml diff --git a/tools/ansible/inventory/hawaii.yml b/tools/ansible/inventory/hawaii.yml new file mode 100644 index 0000000..78cec6c --- /dev/null +++ b/tools/ansible/inventory/hawaii.yml @@ -0,0 +1,8 @@ +all: + hosts: + hawaii: + ansible_host: refulgent.de + ansible_user: osgw + + ffxSystemUsername: osgw + ffxHomeDirectory: /var/local/osgw/lib/osgw diff --git a/tools/ansible/inventory/peppermint.yml b/tools/ansible/inventory/peppermint.yml new file mode 100644 index 0000000..0362aa4 --- /dev/null +++ b/tools/ansible/inventory/peppermint.yml @@ -0,0 +1,8 @@ +all: + hosts: + peppermint: + ansible_host: maveno.de + ansible_user: osgw + + ffxSystemUsername: osgw + ffxHomeDirectory: /var/local/osgw/lib/osgw diff --git a/ansible/setup_node.yml b/tools/ansible/setup_node.yml similarity index 100% rename from ansible/setup_node.yml rename to tools/ansible/setup_node.yml diff --git a/tools/ffx_update.sh b/tools/ffx_update.sh new file mode 100644 index 0000000..e10d666 --- /dev/null +++ b/tools/ffx_update.sh @@ -0,0 +1,7 @@ +#! /bin/bash + +. ~/.local/share/ffx.venv/bin/activate +pushd ~/.local/src/ffx/ +pip install --editable . +popd +deactivate