small changes for fetsite

This commit is contained in:
Andreas Stephanides
2017-11-17 23:03:43 +01:00
parent 1d40cf532c
commit 6af6261b53
3 changed files with 18 additions and 3 deletions

View File

@@ -3,18 +3,25 @@
user:
name: "{{ rvm1_user }}"
comment: "{{ rvm1_user }} fuer rvm"
state: present
shell: /bin/bash
createhome: yes
generate_ssh_key: yes
ssh_key_bits: 4096
ssh_key_file: .ssh/id_rsa
- name: install rvm prerequires
apt: pkg="{{ item }}" cache_valid_time=3600 update_cache=yes state=present
with_items: "{{ ruby_req_packages }}"
- name: Install RVM
include: 'rvm.yml'
become: yes
become_user: '{{ rvm1_user }}'
- name: Install Ruby and Gems
include: 'rubies.yml'
become: yes
become_user: '{{ rvm1_user }}'
become_user: "{{ rvm1_user }}"

View File

@@ -1,5 +1,4 @@
---
- name: Detect rvm binary
stat: path='{{ rvm1_rvm }}'
register: rvm_binary