Skip to content

cloudpunks/ansible-root

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

root

Source Code General Workflow Readme Workflow Galaxy Workflow License: Apache-2.0 Ansible Role

Ansible role to configure the system root user.

Sponsor

Building and improving this Ansible role have been sponsored by my current and previous employers like Cloudpunks GmbH and Proact Deutschland GmbH.

Table of content


Requirements

  • Minimum Ansible version: 2.10

Default Variables

root_bashit

Install bash-it repo

Default value

root_bashit: false

root_bashit_version

Version of bash-it to install

Default value

root_bashit_version: latest

root_castles

List of castles to use

Default value

root_castles: []

Example usage

root_castles:
  - tboerger/homeshick-base
  - name: tboerger/homeshick-linux
    force: True

root_castles_force

Force castle updates

Default value

root_castles_force: true

root_enable_profile_load

Enable loading of profile.d within zshenv

Default value

root_enable_profile_load: true

root_homeshick_version

Version of homeshick to install

Default value

root_homeshick_version: latest

root_ohmyzsh

Install oh-my-zsh repo

Default value

root_ohmyzsh: false

root_ohmyzsh_version

Version of bash-it to install

Default value

root_ohmyzsh_version: latest

root_override_zshenv

Override zshenv provided by system

Default value

root_override_zshenv: true

root_password

Update root password to this value

Default value

root_password:

root_shell

Enforce this shell for root

Default value

root_shell: /bin/bash

root_sshkeys

List of authorized keys

Default value

root_sshkeys: []

Example usage

root_sshkeys:
  - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINaQYR0/Oj6k1H03kshz2J7rlGCaDSuaGPhhOs9FcZfn tboerger@host1
  - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIC7oOi3qaDtfQVFhPKyd0Wk0C/y+QM71vtln8Rl44NlB tboerger@host2
  - ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIFcPTmdo+7eK+8n2yE7Kx1vyQ4yJwHBngvQOt1MPhKhR tboerger@host3

Discovered Tags

root

Dependencies

License

Apache-2.0

Author

Thomas Boerger

Packages

No packages published

Languages

  • Nix 66.2%
  • Jinja 22.7%
  • Python 11.1%