- Remove check host key

- Remove sudo when install Ansible
pull/1165/head
Jirayut Nimsaeng 2016-12-08 21:18:47 +07:00
parent 9253a8438b
commit fe9d1163fe
1 changed files with 2 additions and 2 deletions

View File

@ -95,7 +95,7 @@ fi
}
function install_ansible {
sudo bash install-ansible.sh
bash install-ansible.sh
}
function ssh_setup {
@ -159,7 +159,7 @@ EOF
}
function test_and_run {
ansible all -i hosts -m ping
ANSIBLE_HOST_KEY_CHECKING=False ansible all -i hosts -m ping
ansible-playbook -i hosts site.yml
}