piframe/ansible/setup-ansible-host.sh

5 lines
144 B
Bash
Raw Normal View History

2020-08-04 18:58:38 +00:00
#!/bin/bash
ssh $2@$1 'echo Just ensuring the ssh key is accepted ahead of configuration'
2020-08-04 20:56:28 +00:00
ansible-playbook ./setup-ansible.yml -i $1, -u $2 -k