Skip to content
Martin Danielsen edited this page Nov 20, 2018 · 17 revisions

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 -;
}
cloudbox-update() {
  curl -s https://cloudbox.works/dep.sh | sudo -H sh; 
  curl -s https://cloudbox.works/repo.sh | bash;
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags cloudbox;
  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 -;
}
cloudbox-update() {
  curl -s https://cloudbox.works/dep.sh | sudo -H sh; 
  curl -s https://cloudbox.works/repo.sh | bash;
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags cloudbox;
  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