Ansible role to setup user avatars on Linux workstations.
Requires the ansible community.general collection
linux_avatar_users: []
A list of dictionaries specifying usernames and their respective avatar URLs (see example playbook). User accounts must exist, this role won't create them.
linux_avatar_icon_dir: /var/lib/AccountsService/icons
The directory holding user avatars
linux_avatar_user_dir: /var/lib/AccountsService/users
The directory holding the AccountsService user profile configuration
None
- hosts: workstations
roles:
- role: egdoc.linux_avatar
linux_avatar_users:
- url: https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png
username: octocat
GPLv2
Created by Egidio Docile