added create ruby user

This commit is contained in:
Andreas Stephanides
2017-11-10 20:03:08 +01:00
parent 1234af8d77
commit 1d40cf532c
2 changed files with 10 additions and 1 deletions

View File

@@ -23,7 +23,7 @@ rvm1_install_flags: '--auto-dotfiles --user-install'
rvm1_ruby_install_flags: rvm1_ruby_install_flags:
# Set the owner for the rvm directory # Set the owner for the rvm directory
rvm1_user: 'ubuntu' rvm1_user: 'ruby'
# URL for the latest installer script # URL for the latest installer script
rvm1_rvm_latest_installer: 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer' rvm1_rvm_latest_installer: 'https://raw.githubusercontent.com/rvm/rvm/master/binscripts/rvm-installer'

View File

@@ -1,4 +1,13 @@
--- ---
- name: create user
user:
name: "{{ rvm1_user }}"
comment: "{{ rvm1_user }} fuer rvm"
generate_ssh_key: yes
ssh_key_bits: 4096
ssh_key_file: .ssh/id_rsa
- name: Install RVM - name: Install RVM
include: 'rvm.yml' include: 'rvm.yml'