Ansible scripts for automating manual tasks
Add env variables:
export ANSIBLE_HOSTS=/path/to/hosts
export ANSIBLE_VAULT_PASSWORD_FILE=/path/to/vault_password
# Disable verification by .known-hosts file
export ANSIBLE_HOST_KEY_CHECKING=False
Run with command like:
ansible-playbook -s playbook_name.yml -u root