marcomc.macos_new_user
macOS New User Ansible Role
This Ansible role creates a new user on a macOS system.
It is used in Splinter, a tool for setting up macOS.
Example Playbook
- vars:
new_user_username: "testuser"
new_user_fullname: "Test User"
new_user_password_cleartext: "Clear Text Password" # Ansible can only create users on macOS using a plain text password (for now)
- hosts: localhost
roles:
- marcomc.macos_new_user
Variables
verbose: nonew_user_username: ""new_user_fullname: ""new_user_shell: "/bin/zsh"new_user_password_cleartext: ""new_user_generate_ssh_key: nonew_user_reset_password_on_login: yesnew_user_is_admin: yesnew_user_update_path_for_all_shell_types: nonew_user_profile_picture_path: ""new_user_random_profile_picture: nonew_user_random_profile_pictures_path: "{{ playbook_dir }}/files/profile_pictures"new_user_profile_pictures_filter_formats: 'jpg|jpeg|png' # filter formats for images
License
Author: Marco Massari Calderone (c) 2020 - marco@marcomc.com
Informazioni sul progetto
Ansible role to create a new user in macOS. Also used in Splinter provisioning tool.
Installa
ansible-galaxy install marcomc.macos_new_userLicenza
mit
Download
170
Proprietario
Biker, tinkerer, Dev Ops something...
