See the defaults file.
- Include the role in your playbook. It must run as root.
- Configure as described above.
- Run the playbook.
- ???
- PROFIT!
To force an image update, run:
# systemctl restart xsf-autopulled-docker-service@$name.service
where $name
is the name
value of the container you want to update.
This unit will also have logs concerning the container update process. The
logs can be queried with journalctl as usual:
# journalctl -u xsf-autopulled-docker-service@$name.service
- This will not clean up old containers which have been removed from the configuration.