Trying to deploy keys for each of my team (trying one first) to the wpshere user on a remote server.
code below suggest i hit the remote server but cant quite get in to the wphere .ssh part.
first Ansible task i’ve had - and I’ve had a good look around, guidance, examples to try and complete this.
inventory.txt
#ansible_user=myuserid
#ansible_ssh_private_key_file=/home/myuserid/.ssh/id_rsa.pub
ansible_become_user=ansible
remoteserver
upload_ssh_keys.yml