Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kalos/ansible-desktop
simple and quick way to deploy every desktop/laptop configuration
https://github.com/kalos/ansible-desktop
Last synced: 5 days ago
JSON representation
simple and quick way to deploy every desktop/laptop configuration
- Host: GitHub
- URL: https://github.com/kalos/ansible-desktop
- Owner: kalos
- Archived: true
- Created: 2013-01-05T14:42:46.000Z (almost 12 years ago)
- Default Branch: master
- Last Pushed: 2013-02-01T09:03:09.000Z (almost 12 years ago)
- Last Synced: 2024-08-02T16:48:45.660Z (3 months ago)
- Language: Shell
- Homepage:
- Size: 168 KB
- Stars: 55
- Watchers: 2
- Forks: 9
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-ansible - Ansible Desktop
README
# ansible for desktop
A simple and quick way to deploy every desktop/laptop configuration.
Tested only for Debian GNU/Linux >= Wheezy
## Feautures
- debian base configuration (APT conf and sources, disable dash, ecc)
- install favourites apps
- configure sudo, NTP and localization
- easy management of dotfiles (zsh[OMZ], emacs, vim, ruby, ecc)
- Xorg with: i3wm + gnome-core
- Virtualization: virtualbox apt source
- backup home and /etc with duplicity## Installation
### manual mode
environment export:
# ansible installation paths
export ANSIBLE_HOME=$HOME/projects/devops/ansible
export ANSIBLE_PLAY_DESK=$HOME/projects/devops/playbooks/desktop
export ANSIBLE_CONFIG=$HOME/Private/ansible_private/ansible.cfg# ansible exec paths (insert this in .zshrc or .profile)
export PATH=$ANSIBLE_HOME/bin:$PATH
export PYTHONPATH=$ANSIBLE_HOME/lib:$PYTHONPATH
export ANSIBLE_LIBRARY=$ANSIBLE_HOME/library
export MANPATH=$ANSIBLE_HOME/docs/man:$MANPATHinstall required software
sudo aptitude install -y python2.6 python-paramiko python-yaml python-jinja2 python-apt
clone ansible repository
git clone git://github.com/ansible/ansible.git $ANSIBLE_HOME
clone playbooks
git clone git://github.com/kalos/ansible-desktop.git $ANSIBLE_PLAY_DESK
### pseudo-auto (TODO: improve auto-install a-la oh-my-zsh)
curl -O https://raw.github.com/kalos/ansible-desktop/master/setup.sh
vim setup.sh # edit installation paths
./setup.sh## Usage
deploy zsh with oh-my-zsh and my customization
edit vars.yml :
user: kalos
user_home: /home/$user
repo_omz_custom: [email protected]:kalos/zsh-omz-config.gitexec ansible
ansible-playbook --tags zsh setup.yml
deploy desktop with i3wm + gnome-core
ansible-playbook --tags desktop,i3 setup.yml
deploy emacs-snapshot
ansible-playbook --tags emacs setup.yml