marcomc.macos_new_user
macOS 新ユーザー Ansible ロール
この Ansible ロールは、ターゲットの macOS システムに新しいユーザーを作成します。
macos 用の意見を持ったプロビジョニングツール Splinter で使用されています。
例のプレイブック
- vars:
new_user_username: "testuser"
new_user_fullname: "テスト ユーザー"
new_user_password_cleartext: "平文パスワード" # Ansible は現時点では平文パスワードを使用してのみ macOS でユーザーを作成できます
- hosts: localhost
roles:
- marcomc.macos_new_user
変数
verbose: no
new_user_username: ""
new_user_fullname: ""
new_user_shell: "/bin/zsh"
new_user_password_cleartext: ""
new_user_generate_ssh_key: no
new_user_reset_password_on_login: yes
new_user_is_admin: yes
new_user_update_path_for_all_shell_types: no
new_user_profile_picture_path: ""
new_user_random_profile_picture: no
new_user_random_profile_pictures_path: "{{ playbook_dir }}/files/profile_pictures"
new_user_profile_pictures_filter_formats: 'jpg\|jpeg\|png' # grep フィルタ形式
ライセンス
著者 : Marco Massari Calderone (c) 2020 - marco@marcomc.com