summaryrefslogtreecommitdiff
path: root/ansible_stuff.org
diff options
context:
space:
mode:
Diffstat (limited to 'ansible_stuff.org')
-rw-r--r--ansible_stuff.org36
1 files changed, 28 insertions, 8 deletions
diff --git a/ansible_stuff.org b/ansible_stuff.org
index f427ae8..400958f 100644
--- a/ansible_stuff.org
+++ b/ansible_stuff.org
@@ -468,14 +468,14 @@ bash-5.2$ echo $PATH
#+begin_src yaml
---
- name: "Playing with Ansible localhost"
- hosts: localhost
- connection: local
- tasks:
- - name: "just execute a ls -lrt command"
- shell: "ls -lrt"
- register: "output"
-
- - debug: var=output.stdout_lines
+ hosts: localhost
+ connection: local
+ tasks:
+ - name: "just execute a ls -lrt command"
+ shell: "ls -lrt"
+ register: "output"
+
+ - debug: var=output.stdout_lines
#+end_src
- some other suggestions to run commands locally
@@ -1019,6 +1019,25 @@ just documenting this fact here cuz i have a feeling this weirdness
will bite me in the ass someday.
+* <2023-12-19 Tue>
+
+- slackpkg module
+
+ been looking at the slackpkg module
+ https://docs.ansible.com/ansible/latest/collections/community/general/slackpkg_module.html
+
+ i was initially wondering how a host receives the correct updates.
+ but then i realized that each host has their own configuration that
+ should be setup.
+
+ - this is the source code for the slackpkg module
+ https://github.com/ansible-collections/community.general/blob/main/plugins/modules/slackpkg.py
+
+- slackbuilds module
+
+ there does not seem to be a module for this since it is considered
+ 'unofficial'
+
* references
2023-12-16 -- the following is a lists of ansible related URLs compiled so far.
@@ -1031,6 +1050,7 @@ https://docs.ansible.com/ansible/2.7/user_guide/playbooks_variables.html#variabl
https://docs.ansible.com/ansible/2.9/user_guide/playbooks_reuse.html
https://docs.ansible.com/ansible/2.9/user_guide/playbooks_reuse_includes.html#including-and-importing-task-files
https://docs.ansible.com/ansible/latest/cli/ansible-config.html
+https://docs.ansible.com/ansible/latest/collections/ansible/builtin/
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/command_module.html
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/copy_module.html
https://docs.ansible.com/ansible/latest/collections/ansible/builtin/debug_module.html