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

View File

@@ -56,6 +56,7 @@
with_items:
- xrdp
- tmate
- xubuntu-desktop
- name: Create vim autoload directory
file: path=/home/{{ standard_user }}/.vim/autoload state=directory
@@ -73,6 +74,7 @@
git:
repo: https://github.com/tpope/vim-pathogen.git
dest: /home/{{ standard_user }}/.vim/autoload/pathogen.vim
ignore_errors: yes
- name: Install nerdtree
git:
@@ -80,6 +82,7 @@
dest: /home/{{ standard_user }}/.vim/bundle/nerdtree
become: yes
become_user: "{{ standard_user }}"
ignore_errors: yes
- name: Replace .vimrc
template: src=../roles/developer-machine/templates/vimrc.j2 dest=/home/{{ standard_user }}/.vimrc
@@ -114,3 +117,7 @@
global: true
environment:
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