summaryrefslogtreecommitdiff
path: root/ansible_stuff.org
diff options
context:
space:
mode:
authorboom2 <blizzack@blizzack.com>2023-12-21 15:15:38 -0500
committerboom2 <blizzack@blizzack.com>2023-12-21 15:15:38 -0500
commita21b2f4bb64bd0f633d8a6a15f27a73103df70c0 (patch)
treea3f093905df3a0998c9652358f6983f3f6c3b9ca /ansible_stuff.org
parent9eae5e5a38469526142fa1e26756f1cd388be66d (diff)
- add slackware playbooks
-- conditional checks on slackware release verison -- rsync sbopkg
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.