ansible-role-common/README.md
Jan Beilicke 6335b7735a Makes installation of Ansible optional (default: no) and installs additional python libraries (#2)
Fixed accidental change of default update_hostname behaviour

Makes installation of Ansible optional (default: no) and installs additional python libraries

Co-authored-by: Jan Beilicke <dev@jotbe.io>
2021-03-27 13:31:24 +00:00

847 B

Common tasks

Provides common tasks like creating required users, configuring locales or even bootstrapping python.

Requirements

Role Variables

Defaults:

hostname: "{{ inventory_hostname }}"
update_hostname: yes
locales_gen:
  - en_US.UTF-8
  - de_DE.UTF-8
locales_default: de_DE.UTF-8
x11_keymap: de
users:
  - vagrant
sudoers:
  - vagrant
enable_ansible: no
# Will install a specific Ansible version on the target host
ensure_ansible_version: 2.10.3
# Allow sudo with a password (applied to group sudo)
enable_sudo: yes
# Allow passwordless sudo (applied to group wheel)
enable_passwordless_sudo: yes

Dependencies

Example Playbook

License

MIT

Author Information

This role was created in 2020 by Jan Beilicke.