edmondscommerce.user

Linux 用户创建与基本配置(Ansible 角色)

描述

这个角色用于创建和配置用户。目前它执行以下操作:

  • 创建指定名称的用户和组
  • 添加点文件
  • 上传公钥以允许基于密钥的 SSH 访问

角色变量

名称 默认值 描述
users_name ansibleUser 要创建和配置的用户名称
users_group ansibleUser 用户将使用的组
users_password ChangeMe!! 用户的密码
users_home "/home/{{ users_name }}" 用户的主目录
uploadPublicKey true 是否将我们的 SSH 公钥添加到用户的 authorized_keys 文件中
local_public_key `` 我们的公钥路径
关于项目

A role to create and configure Linux users the way we want

安装
ansible-galaxy install edmondscommerce.user
许可证
Unknown
下载
252
拥有者
Not just one person, in fact a few... developing ecommerce sites for fun and profit