From a21b2f4bb64bd0f633d8a6a15f27a73103df70c0 Mon Sep 17 00:00:00 2001 From: boom2 Date: Thu, 21 Dec 2023 15:15:38 -0500 Subject: - add slackware playbooks -- conditional checks on slackware release verison -- rsync sbopkg --- ansible_stuff.org | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) (limited to 'ansible_stuff.org') 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. -- cgit v1.2.3-54-g00ecf