From eadb4b85c331bf6c35df8e4a3ace8ac424d7ec2c Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Mon, 10 Feb 2020 13:53:15 +0500 Subject: [PATCH] Add role "rvm.ruby" --- .../production/host_vars/misc.crypto-libertarian.com.yml | 8 ++++++++ playbooks/deploy/misc.yml | 1 + requirements.yml | 2 ++ 3 files changed, 11 insertions(+) diff --git a/inventories/production/host_vars/misc.crypto-libertarian.com.yml b/inventories/production/host_vars/misc.crypto-libertarian.com.yml index aa83750..24ac419 100644 --- a/inventories/production/host_vars/misc.crypto-libertarian.com.yml +++ b/inventories/production/host_vars/misc.crypto-libertarian.com.yml @@ -12,3 +12,11 @@ common__certbot__cert_name: 'misc.crypto-libertarian.com' common__certbot__cert_domains: - 'misc.crypto-libertarian.com' - 'report-ip.crypto-libertarian.com' + +rvm1_rvm_version: stable +rvm1_rvm_check_for_updates: true +rvm1_install_path: '/usr/local/rvm' +rvm1_install_flags: '--auto-dotfiles' +rvm1_user: root +rvm1_rubies: ['ruby-2.7.0'] +rvm1_bundler_install: false diff --git a/playbooks/deploy/misc.yml b/playbooks/deploy/misc.yml index 4c272a8..65451dd 100644 --- a/playbooks/deploy/misc.yml +++ b/playbooks/deploy/misc.yml @@ -7,3 +7,4 @@ cache_valid_time: 86400 roles: - kotovalexarian.common + - rvm.ruby diff --git a/requirements.yml b/requirements.yml index 2006c7f..593be9a 100644 --- a/requirements.yml +++ b/requirements.yml @@ -1,3 +1,5 @@ --- - src: kotovalexarian.common version: v0.0.25 +- src: rvm.ruby + version: v2.1.2