No-frills Ansible playbook to run ad-hoc package upgrades
Run it like so:
ansible-playbook --inventory hosts.yml playbook.yml --limit <hostgroup>
Create your inventory for example at ansible/hosts.yml, an exampe file is located at ansible/hosts.yml.example.
ansible/hosts.yml
Set host group vars as needed, an example file for the all group is at ansible/group_vars/all/vars.yml.example.
all