summaryrefslogtreecommitdiff
path: root/ansible_stuff.org
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_stuff.org')
-rw-r--r--ansible_stuff.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/ansible_stuff.org b/ansible_stuff.org
index 3b7cf61..ea0f832 100644
--- a/ansible_stuff.org
+++ b/ansible_stuff.org
@@ -1043,6 +1043,23 @@ will bite me in the ass someday.
- i've seen references online that say this does not work well.
will need to test this
+* <2023-12-20 Wed> ---------------------------------------------------------
+
+- learned a bit about ansible.builtin.fetch
+ - copied files from a managed host(s) to the controller
+- started working on playbooks to invoke an sbopkg rsync on a host
+ - had to perform a bunch of bash trix to get what i want
+ - cut command
+ https://stackoverflow.com/questions/19482123/extract-part-of-a-string-using-bash-cut-split
+ https://stackoverflow.com/questions/6594085/remove-first-character-of-a-string-in-bash
+ https://www.geeksforgeeks.org/remove-last-character-from-string-in-linux/
+ - tr command
+ https://unix.stackexchange.com/questions/9647/how-can-i-find-and-replace-with-a-new-line
+ https://stackoverflow.com/questions/19345872/how-to-remove-a-newline-from-a-string-in-bash
+ https://www.delftstack.com/howto/linux/use-tr-command-in-linux-bash/
+ - sed command
+ https://unix.stackexchange.com/questions/144298/delete-the-last-character-of-a-string-using-string-manipulation-in-shell-script
+
* references
2023-12-16 -- the following is a lists of ansible related URLs compiled so far.