devopszcom / ansible-init-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ansible playbook: Init

An Ansible playbook that installs all common tool on Linux.

Roles:

  • user: Create new user
  • zsh: install and config plugin for zsh
  • docker: install docker, docker-compose, ctop

Role Variables

user

  • username: (string) username of user
  • password: (string) encrypted password of user

Note: Generate encrypted password by mkpasswd:

sudo apt-get install -y whois
mkpasswd --method=sha-512

zsh:

  • zsh_user: (string) install zsh for this user

docker:

  • docker_users: (list) add this list user to docker group.

About


Languages

Language:Shell 100.0%