This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- hosts: all | |
gather_facts: no | |
remote_user: root | |
pre_tasks: | |
- name: verify python installed | |
raw: dpkg -s python-simplejson > /dev/null 2>&1 | |
register: python_installed | |
ignore_errors: True |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## REQUIREMENTS: | |
# RHEL: | |
# $ sudo yum install python-devel ruby-devel ncurses-devel | |
## SOURCE: | |
# Get from https://github.com/vim/vim/releases | |
# $ wget https://github.com/vim/vim/archive/v7.4.972.tar.gz | |
## INSTALL: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Exit on error | |
set -e | |
TMUX_URL=https://github.com/tmux/tmux/releases/download/2.1/tmux-2.1.tar.gz | |
PREFIX=$HOME/local | |
TMP_DL_DIR="$(mktemp -d --suffix .tmux_install)" | |
cd $TMP_DL_DIR | |
## REQUIREMENTS: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Help | |
usage() { | |
echo -e "Usage: $0 <user to switch to>" | |
} | |
# Check if we have enough args | |
if [ $# -ne 1 ] | |
then |
NewerOlder