Ignore errors for git clones because dir might exist. Install xfce4 and set xsession. Need to fix ngrok install
This commit is contained in:
4
hosts
4
hosts
@@ -8,7 +8,7 @@
|
||||
#elk.wimer.local
|
||||
#guacamole.wimer.local
|
||||
#fileserver.wimer.local
|
||||
test2 ansible_host=10.0.0.152
|
||||
#test2 ansible_host=10.0.0.152
|
||||
|
||||
[developer-machines]
|
||||
#codydev ansible_host=10.0.0.207
|
||||
codydev ansible_host=10.0.0.207
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user