dmsimard / ansible_collection_diademiemi.bad_apple

Bad Apple, in Ansible!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible Collection - diademiemi.bad_apple

YouTube Video

This is an Ansible Collection which features:

  • A module render_frame which converts a frame of the Bad Apple video into an ASCII art representation.
  • A playbook bad-apple.yml which:
    • Installs necessary Pip packages.
    • Downloads the Bad Apple video.
    • Splits the video into PNG frames.
    • Renders each frame into an ASCII art representation.
    • Displays the ASCII art representation of each frame in the terminal.

To run the playbook, install the collection and run the playbook:

ansible-galaxy collection install diademiemi.bad_apple

OR locally

ansible-galaxy collection install .

Then run the playbook:

ansible-playbook playbooks/bad-apple.yml -K

OR to skip installing Pip packages (yt-dlp and Pillow)

ansible-playbook playbooks/bad-apple.yml --skip-tags prereq

Wait 20 minutes and enjoy Bad Apple in Ansible!

About

Bad Apple, in Ansible!

License:MIT License


Languages

Language:Python 84.3%Language:Shell 15.7%