admin_musket의 λͺ¨λ“  κΈ€

[Vagrant Err] The SSH command responded with a non-zero exit status.

Vagrantfileμ—μ„œ 변동사항이 μžˆμ–΄ μ½”λ“œ ν•œ 쀄을 μΆ”κ°€ν–ˆλ‹€.
λ°”λ‘œ, ansible νŒ¨ν‚€μ§€λ₯Ό μ„€μΉ˜ν•˜λŠ” 것.
cfg.vm.provision "shell", inline: "yum install ansible -y"

근데 μ—λŸ¬κ°€ 어김없이 λ°œμƒν–ˆλ‹€. γ…‘γ…‘a

The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in th-e log above. Please read the output to determine what went wrong.

yum install ansible -y λͺ…λ Ήμ–΄κ°€ μ‹€νŒ¨ν–ˆλ‹€λŠ” λ‚΄μš©μΈλ°,, ν˜Ήμ‹œ λͺ°λΌμ„œ
cfg.vm.provision "shell", inline: "yum install vim -y"
둜 λ°”κΎΈλ‹ˆ vim νŒ¨ν‚€μ§€λŠ” 잘 μ„€μΉ˜λœλ‹€.

κ·Έλ ‡λ‹€.
ansible νŒ¨ν‚€μ§€ μ„€μΉ˜ν•˜λ €λ©΄ μΆ”κ°€ νŒ¨ν‚€μ§€ μ €μž₯μ†Œκ°€ ν•„μš”ν•˜λ‹€.
μ•„λž˜μ™€ 같이 μ½”λ“œ ν•œ 쀄 더 μž…λ ₯ν•΄μ„œ μ •μƒμ μœΌλ‘œ μ„€μΉ˜ν–ˆλ‹€.

cfg.vm.provision "shell", inline: "yum install epel-release -y"
cfg.vm.provision "shell", inline: "yum install ansible -y"