Advertisement
Guest User

Untitled

a guest
Mar 19th, 2019
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.11 KB | None | 0 0
  1. "provisioners": [
  2. {
  3. "type": "ansible",
  4. "playbook_file": "playbooks/image/image.yml",
  5. "groups": [
  6. "{{user `ansible_group`}}"
  7. ],
  8. "user": "vagrant",
  9. "extra_arguments": [
  10. "--vault-password-file", "scripts/get-vault-password.sh",
  11. "-e", "global_configuration_user={{user `configuration_user`}}",
  12. "-e", "global_deployment_user={{user `deployment_user`}}",
  13. "-e", "ansible_ssh_pass=vagrant",
  14. "-vvvvv"
  15. ]
  16. },
  17. {
  18. "type": "ansible",
  19. "playbook_file": "playbooks/image/removeVagrant.yml",
  20. "groups": [
  21. "{{user `ansible_group`}}"
  22. ],
  23. "user": "{{user `configuration_user`}}",
  24. "extra_arguments": [
  25. "--vault-password-file", "scripts/get-vault-password.sh",
  26. "-e", "global_configuration_user={{user `configuration_user`}}",
  27. "-e", "global_deployment_user={{user `deployment_user`}}",
  28. "-e", "ansible_ssh_private_key_file=~/.ssh/id_{{user `configuration_user`}}_rsa",
  29. "-vvvvv"
  30. ]
  31. }
  32. ],
  33.  
  34. ssh -vvv -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o Port=37947 -o 'IdentityFile="/home/redacted/.ssh/id_rsa"' -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=redacted -o ConnectTimeout=10 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o ControlPath=/home/redacted/.ansible/cp/ansible-ssh-%h-%p-%r 127.0.0.1 '/bin/sh -c '"'"'( umask 77 && mkdir -p "` echo ~/.ansible/tmp/ansible-tmp-1491233126.24-276699777493633 `" && echo ansible-tmp-1491233126.24-276699777493633="` echo ~/.ansible/tmp/ansible-tmp-1491233126.24-276699777493633 `" ) && sleep 0'"'"''
  35.  
  36. debug1: SSH2_MSG_NEWKEYS received
  37. debug2: key: /home/redacted/.ssh/id_rsa, explicit, agent
  38. debug2: key: redacted
  39. debug2: key: redacted
  40. debug2: key: redacted
  41. debug2: key: redacted
  42. debug2: key: redacted
  43. debug2: key: redacted
  44. debug2: key: redacted
  45. debug3: send packet: type 5
  46. debug3: receive packet: type 6
  47. debug2: service_accept: ssh-userauth
  48. debug1: SSH2_MSG_SERVICE_ACCEPT received
  49. debug3: send packet: type 50
  50. debug3: receive packet: type 51
  51. debug1: Authentications that can continue: publickey
  52. debug3: start over, passed a different list publickey
  53. debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey
  54. debug3: authmethod_lookup publickey
  55. debug3: remaining preferred: ,gssapi-keyex,hostbased,publickey
  56. debug3: authmethod_is_enabled publickey
  57. debug1: Next authentication method: publickey
  58. debug1: Offering RSA public key: /home/redacted/.ssh/id_rsa
  59. debug3: send_pubkey_test
  60. debug3: send packet: type 50
  61. debug2: we sent a publickey packet, wait for reply
  62. debug3: receive packet: type 51
  63. debug1: Authentications that can continue: publickey
  64. debug1: Offering RSA public key: key2
  65. debug3: send_pubkey_test
  66. debug3: send packet: type 50
  67. debug2: we sent a publickey packet, wait for reply
  68. debug3: receive packet: type 51
  69.  
  70. "ssh_username": "ubuntu",
  71. "ssh_private_key_file": "../provision",
  72. "ssh_agent_auth": true,
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement