Editors updates and HTTPie not in docker anymore

... because it sucks at some point to have a tool using network in docker
This commit is contained in:
Pierre Martin
2016-06-15 07:18:07 +02:00
parent 1f4d8cd404
commit 76a12851f5
3 changed files with 28 additions and 9 deletions

1
.zshrc
View File

@@ -28,7 +28,6 @@ source $ZSH/oh-my-zsh.sh
export EDITOR='vim' export EDITOR='vim'
# Convenient aliases # Convenient aliases
alias http='docker run -it --rm --name http-${PWD##*/} -v /etc/hosts:/etc/hosts:ro --net=host clue/httpie'
alias dc=docker-compose alias dc=docker-compose
alias dcr='docker-compose run --rm' alias dcr='docker-compose run --rm'
alias copy="xclip -selection c" alias copy="xclip -selection c"

View File

@@ -1,7 +1,7 @@
--- ---
- name: Setup the machine as a root user - name: Setup the machine as a root user
hosts: localhost hosts: localhost
become: yes become: yes
roles: roles:
- { - {
role: flyinggecko.i3, role: flyinggecko.i3,
@@ -29,7 +29,7 @@
- { - {
role: kosssi.phpstorm, role: kosssi.phpstorm,
tags: phpstorm, tags: phpstorm,
phpstorm_version: "2016.1" phpstorm_version: "2016.1.2"
} }
- { - {
role: ansiblebit.oracle-java, role: ansiblebit.oracle-java,
@@ -54,7 +54,7 @@
- { - {
role: franklinkim.docker-compose, role: franklinkim.docker-compose,
tags: docker, tags: docker,
docker_compose_version: 1.4.1 docker_compose_version: 1.7.0
} }
- { - {
role: glennr.oh-my-zsh, role: glennr.oh-my-zsh,
@@ -68,9 +68,20 @@
} }
- { - {
role: jdauphant.sublimetext, role: jdauphant.sublimetext,
sublimetext_build: 3103, sublimetext_build: 3114,
tags: sublimetext tags: sublimetext
} }
- {
role: mglaman.atom,
atom_ver : '1.8.0',
atom_packages_packages: [
'docker',
'editorconfig',
'git-time-machine',
'minimap',
],
tags: atom
}
tasks: tasks:
- name: Window manager related packages are installed - name: Window manager related packages are installed
apt: name={{ item }} state=present apt: name={{ item }} state=present
@@ -95,7 +106,7 @@
- curl - curl
- filezilla - filezilla
- freemind - freemind
- kazam - kazam
- gimp - gimp
- htop - htop
- libreoffice - libreoffice
@@ -108,11 +119,17 @@
- exfat-utils - exfat-utils
- exfat-fuse - exfat-fuse
- ncdu - ncdu
- python-pip
- tree - tree
- unison - unison
- whois - whois
- xclip - xclip
- zeal - zeal
- name: Other convenient Python tools are installed
pip: name={{ item }}
tags: tools
with_items:
- http-prompt
- name: Thinkpad related packages are installed - name: Thinkpad related packages are installed
apt: name={{ item }} state=present apt: name={{ item }} state=present
tags: thinkpad tags: thinkpad
@@ -192,8 +209,10 @@
# http://askubuntu.com/questions/292696/ubuntu-crashes-when-on-battery-power # http://askubuntu.com/questions/292696/ubuntu-crashes-when-on-battery-power
# ou http://askubuntu.com/questions/598224/cpu-frequency-control ou truc du genre # ou http://askubuntu.com/questions/598224/cpu-frequency-control ou truc du genre
# #
# Chrome : # Chrome :
# - { role: devbox.chrome, tags: browser } # - { role: devbox.chrome, tags: browser }
# #
# https://github.com/donnemartin/gitsome/blob/master/README.md
#
# Refactoring: # Refactoring:
# Nginx-proxy: move the config file by copying it where it belongs # Nginx-proxy: move the config file by copying it where it belongs

View File

@@ -9,4 +9,5 @@ franklinkim.docker-compose
glennr.oh-my-zsh glennr.oh-my-zsh
devbox.chrome devbox.chrome
flyinggecko.i3 flyinggecko.i3
nickjj.dnsmasq nickjj.dnsmasq
mglaman.atom