The control node needs the following python packages installed via pip3:
passlib
paramiko
ansible-lint
~/.ssh/config
and accessible with that config. You should definitely ssh-copy-id
to it, even though it is accessible by password at this point.
[presecurity]
new_server_alias
ansible-playbook -l presecurity --skip-tags future main.yml
If successful, the server should not longer be accessible via ssh on port 22; update ~/.ssh/config
and move the server to another group in the inventory.
playbooks/dotfiles.yml
: needs to be run as the primary user (yourself) to install dotfiles for you rather than for ansible
userfuture
. Then at execution, skip unfinished tasks with
ansible-playbook --skip-tags "future" main.yml