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"