Last active
May 4, 2023 14:14
-
-
Save Enigo/e642f764bea103e2f7df7905eed866c9 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'serverspec' | |
set :disable_sudo, true | |
set :backend, :ssh | |
set :host, ENV['INSTANCE_IP'] | |
set :ssh_options, { | |
:user => 'ubuntu', | |
:auth_methods => [ 'publickey' ], | |
:keys => [ ENV['SSH_KEY_PATH'] ], | |
:keys_only => true, | |
:verify_host_key => :never | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment