ansible/setup-ansible-host.sh

5 lines
149 B
Bash
Executable File

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