Skip to content
desimaniac edited this page Aug 23, 2018 · 17 revisions

Cloudbox aliases for /bin/bash

You can add some handy cloudbox ansible playbook aliases to your Shell.

Check your shell type by typing echo $SHELL.

Bash

Edit .bashrc with nano ~/.bashrc and add the following:

# cloudbox aliases
cloudbox() {
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags $1;
  cd -;
}
cloudbox-list() {
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --list-tags;
  cd -;
}

Save and exit nano by pressing Ctrl+X, and then run source ~/.bashrc to make the aliases available.

Now you can run cloudbox-list to see a list of all available tags or you can run cloudbox radarr to install or update radarr.

Zsh

Edit .zshrc with nano ~/.zshrc and add the following:

# cloudbox aliases
cloudbox() {
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags $1;
  cd -;
}
cloudbox-list() {
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --list-tags;
  cd -;
}

Save and exit nano by pressing Ctrl+X, and then run source ~/.zshrc to make the aliases available.

Now you can run cloudbox-list to see a list of all available tags or you can run cloudbox radarr to install or update radarr.

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally