added create ruby user
This commit is contained in:
@@ -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'
|
||||||
|
|||||||
@@ -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'
|
||||||
|
|||||||
Reference in New Issue
Block a user