Script which installs variety of Ansible versions and sets them up using virtualenv.
source ./ansible_version 2.7.0
Mostly based on original script by @gbolo
| #!/usr/bin/env bash | |
| # castanet.sh: Script to connect a chromecast to a WiFi network. | |
| # | |
| # Allows you to put your Chromecast on WiFi and do Chromecast initial setup | |
| # without using the Google Home app at all, just using a normal Linux computer. | |
| # | |
| # You do need your Chromecast to be on Ethernet, or (untested) to join its setup WiFi | |
| # network with your PC, and you also need to find out its IP yourself with e.g. | |
| # Wireshark. |
| # Function to "skip" Spotify Ads by reloading the client | |
| # whenever ad is detected | |
| # Have https://pypi.org/project/spotify-cli-linux/ installed | |
| reload_spotify() { | |
| # Determine what's playing | |
| spotifycli --status | grep -qi 'advertisement\| - Spotify\|^ - ' | |
| # If the return matches ads string |