File tree Expand file tree Collapse file tree 2 files changed +16
-0
lines changed
cookbooks/boxcutter_builder Expand file tree Collapse file tree 2 files changed +16
-0
lines changed Original file line number Diff line number Diff line change 1212depends 'boxcutter_github'
1313depends 'boxcutter_ubuntu_desktop'
1414depends 'boxcutter_nvidia'
15+ depends 'boxcutter_tailscale'
Original file line number Diff line number Diff line change 229229 ]
230230
231231 if aws_amd64_github_self_host_runner_list . include? ( node [ 'hostname' ] )
232+ # op item get 'tailscale oauth automation-sandbox-write-blue' --vault Automation-Sandbox
233+ # op item get v5zvz2gomyzhgow46esj7txneu --format json
234+ tailscale_oauth_client_id_write_blue = Polymath ::OnePassword . op_read ( 'op://Automation-Sandbox/tailscale oauth write blue/username' )
235+ tailscale_oauth_client_secret_write_blue = Polymath ::OnePassword . op_read ( 'op://Automation-Sandbox/tailscale oauth write blue/credential' )
236+ node . run_state [ 'boxcutter_tailscale' ] ||= { }
237+ node . run_state [ 'boxcutter_tailscale' ] [ 'oauth_client_id' ] = tailscale_oauth_client_id_write_blue
238+ node . run_state [ 'boxcutter_tailscale' ] [ 'oauth_client_secret' ] = tailscale_oauth_client_secret_write_blue
239+ node . default [ 'boxcutter_tailscale' ] [ 'enable' ] = true
240+ node . default [ 'boxcutter_tailscale' ] [ 'ephemeral' ] = false
241+ node . default [ 'boxcutter_tailscale' ] [ 'use_tailscale_dns' ] = false
242+ node . default [ 'boxcutter_tailscale' ] [ 'shields_up' ] = false
243+ node . default [ 'boxcutter_tailscale' ] [ 'hostname' ] = 'aws-boxcutter-amd64-github-runner'
244+ node . default [ 'boxcutter_tailscale' ] [ 'tags' ] = [ 'chef' ]
245+ include_recipe 'boxcutter_tailscale::default'
246+
232247 include_recipe 'boxcutter_users::default'
233248 include_recipe 'boxcutter_docker::default'
234249
You can’t perform that action at this time.
0 commit comments