updating hosts to use ssh key

This commit is contained in:
2021-03-01 13:19:44 +00:00
parent 8d05f0bed5
commit 972d7da4cf

4
hosts
View File

@@ -1,6 +1,8 @@
---
all: all:
hosts: hosts:
116.203.200.219: 116.203.200.219:
vars: vars:
ansible_user: "root" ansible_user: "root"
ansible_ssh_pass: "4Oa;Db5c!" # ansible_ssh_pass: "4Oa;Db5c!"
ansible_ssh_private_key_file: "~/.ssh/id_rsa"