No results
Table of Contents
This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
extractor (Bash-Scripts to Ansible)
Location: Bash-Scripts to Ansible/extractor/
Playbook that copies OS wallpapers from the system backgrounds directory into the current user’s Pictures folder.
What it does
- Ensures the destination directory exists:
~/Pictures/wallpaper/os/. - Copies everything from
/usr/share/backgrounds/into that directory. - Lists the copied files and prints a short completion message.
Runs on localhost only; no privilege escalation (copy is from a world-readable source).
Files
| File | Purpose |
|---|---|
| osImageExtractor.yml | Single playbook that performs the copy and listing. |
Configuration
Default vars in the playbook:
- wallpaper_src –
/usr/share/backgrounds - wallpaper_dest –
~/Pictures/wallpaper/os
Change these in the playbook if your paths differ.
How to run
ansible-playbook "Bash-Scripts to Ansible/extractor/osImageExtractor.yml"
No -K needed unless you add tasks that require root.