piframe/ansible/setup-ansible-host.sh
2020-08-04 18:58:38 +00:00

5 lines
154 B
Bash

#!/bin/bash
ssh $2@$1 'echo Just ensuring the ssh key is accepted ahead of configuration'
ansible-playbook ./playbooks/ansible-setup.yml -i $1, -u $2 -k