Skip to content

Blue-Bag/ansible-role-first5user

Repository files navigation

BB First 5 User setup

Build Status

Ansible role to create basic initial user and env setup Part of the Blue-Bag First 5 set of roles.

Role Variables

  • first5user_ansible_username: The user to manage the server

  • first5user_default_shell Default shell used for new accounts

  • first5user_root_password A new password for the root

  • first5user_ansible_password Password for the first5user_ansible_username

  • first5user_public_ssh_keys Public keys for connecting to the server

  • first5deploy_user_keys A private and public key for the deploy user (typically the ansible user)

  • first5user_admin_group Default group for user (should be overridden)

  • first5user_ansible_groups A list of groups to create or remove

  • first5user_ansible_add_groups An additional set of groups (optional)

  • first5user_ansible_user_groups Groups for the ansible user to belong to

first5 Usage

  - hosts: servers
  gather_facts: true
  become: true

  roles:
    - { role: ansible-role-first5user, tags: ["provision", "user"], become: true}

License

BSD

Author Information

George Boobyer (Blue-Bag Ltd)

About

Part of the First5 provisioning set of roles

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published