Ignore errors for git clones because dir might exist. Install xfce4 and set xsession. Need to fix ngrok install

This commit is contained in:
2018-03-12 10:09:36 -04:00
parent f0197a62a0
commit 11813c19df
2 changed files with 9 additions and 2 deletions

4
hosts
View File

@@ -8,7 +8,7 @@
#elk.wimer.local #elk.wimer.local
#guacamole.wimer.local #guacamole.wimer.local
#fileserver.wimer.local #fileserver.wimer.local
test2 ansible_host=10.0.0.152 #test2 ansible_host=10.0.0.152
[developer-machines] [developer-machines]
#codydev ansible_host=10.0.0.207 codydev ansible_host=10.0.0.207

View File

@@ -56,6 +56,7 @@
with_items: with_items:
- xrdp - xrdp
- tmate - tmate
- xubuntu-desktop
- name: Create vim autoload directory - name: Create vim autoload directory
file: path=/home/{{ standard_user }}/.vim/autoload state=directory file: path=/home/{{ standard_user }}/.vim/autoload state=directory
@@ -73,6 +74,7 @@
git: git:
repo: https://github.com/tpope/vim-pathogen.git repo: https://github.com/tpope/vim-pathogen.git
dest: /home/{{ standard_user }}/.vim/autoload/pathogen.vim dest: /home/{{ standard_user }}/.vim/autoload/pathogen.vim
ignore_errors: yes
- name: Install nerdtree - name: Install nerdtree
git: git:
@@ -80,6 +82,7 @@
dest: /home/{{ standard_user }}/.vim/bundle/nerdtree dest: /home/{{ standard_user }}/.vim/bundle/nerdtree
become: yes become: yes
become_user: "{{ standard_user }}" become_user: "{{ standard_user }}"
ignore_errors: yes
- name: Replace .vimrc - name: Replace .vimrc
template: src=../roles/developer-machine/templates/vimrc.j2 dest=/home/{{ standard_user }}/.vimrc template: src=../roles/developer-machine/templates/vimrc.j2 dest=/home/{{ standard_user }}/.vimrc
@@ -114,3 +117,7 @@
global: true global: true
environment: environment:
PATH: "/home/{{ standard_user }}/.nvm/versions/node/v{{ node_version }}/bin:{{ ansible_env.PATH }}" PATH: "/home/{{ standard_user }}/.nvm/versions/node/v{{ node_version }}/bin:{{ ansible_env.PATH }}"
ignore_errors: yes
- name: Set xrdp session
command: echo "xfce4-session" > /home/{{ standard_user }}/.xsession