Skip to content
Silent-Remux.mkv edited this page Dec 2, 2019 · 17 revisions

You can add some handy Cloudbox or Community ansible playbook aliases to your Shell.

Cloudbox:

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/scripts/dep.sh | sudo -H sh; 
  curl -s https://cloudbox.works/scripts/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/scripts/dep.sh | sudo -H sh; 
  curl -s https://cloudbox.works/scripts/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.

Community:

Check your shell type by typing echo $SHELL.

Bash

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

# community aliases
community() {
  cd ~/community/;
  sudo ansible-playbook community.yml --tags $1;
  cd -;
}
community-list() {
  cd ~/community/;
  sudo ansible-playbook community.yml --list-tags;
  cd -;
}
community-update() {
  curl -s https://cloudbox.works/scripts/dep.sh | sudo -H sh;
  curl -s https://cloudbox.works/scripts/repo.sh | bash;
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags community;
  cd -;
}

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

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

Zsh

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

# community aliases
community() {
  cd ~/community/;
  sudo ansible-playbook community.yml --tags $1;
  cd -;
}
community-list() {
  cd ~/community/;
  sudo ansible-playbook community.yml --list-tags;
  cd -;
}
community-update() {
  curl -s https://cloudbox.works/scripts/dep.sh | sudo -H sh;
  curl -s https://cloudbox.works/scripts/repo.sh | bash;
  cd ~/cloudbox/;
  sudo ansible-playbook cloudbox.yml --tags community;
  cd -;
}

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

Now you can run community-list to see a list of all available tags or you can run community radarrx to install or update RadarrX.

Install Guides

Repository

Apps

Misc Guides

General Stuff

Linux Stuff

Plex

Organizr

Downloading

STRM

Clone this wiki locally