Here lie a few scripts that are useful for termux users.
Installation
zplugin
zplugin ice wait lucid pick"/dev/null" has"termux-info" \
atclone'./install.sh' atpull"%atclone"
zplugin light pschmitt/termux.shThe above config requires $HOME/bin to be in your $PATH. Adapt at will.
Ansible
This repo holds wrappers for ansible. It uses an alpine proot image with
ansible on board. Somehow this gets around the
sem_open issue on Android
Setup
Run install.sh --full on your termux host.
If you don't want or need the symlinks just run the ansible-install.sh script.
Install ansible from pip
To install the latest ansible version you can use the following:
ansible-install --pip latestThe same flag applies for the install script:
install.sh --full --pip latestInstall a specific version of ansible
By default, the latest pip version will be installed when using --pip latest.
To install another one use:
ansible-install.sh --pip VERSIONAs in:
ansible-install.sh --pip 2.9.1This also applies to the global installer:
install.sh --full --pip 2.9.1Add custom packages
To install custom packages inside the alpine proot you can do this as follows:
install.sh --full --pip 2.9.1 "git vim yadm"
ansible-install.sh --pip 2.9.1 "git vim yadm"NOTE: This needs to be the last argument.
Customize the symlink location
By default all the symlinks will be created in the $HOME/bin directory.
To set the destination path you need to set $DEST like so:
DEST=$PREFIX/bin ./install.sh --full --pip