Ansible playbook to run https://github.com/sharipov-ru/cmd-tasks-tg-bot
Add:
export CMD_TASKS_TG_BOT_TOKEN=value
export CMD_TASKS_REDIS_URL=value
to .bashrc
or .zshrc
cp inventory.yaml.sample inventory.yaml
Set ansible_host
and ansible_ssh_user
(See https://docs.ansible.com/ansible/latest/inventory_guide/intro_inventory.html)
ansible-playbook -i inventory.yaml playbook.yaml