juwai.common

Ansible Role: Common

This role sets up the system's locale, repository, timezone, and installs some necessary packages on CentOS or Amazon Linux.

Requirements

It requires Ansible version 2.3 or later.

Role Variables

Here are the available variables and their default values (found in defaults/main.yml):

common_lang common_lc_all

These variables set the overall LANG and LC_ALL for the system.

The default value is en_US.UTF-8.

timezone

This variable sets the system's timezone.

The default value is Asia/Shanghai.

force_update_yum

This forces a refresh of yum repositories and packages.

The default is no.

system_packages

You can provide a custom list of packages to install here.

The default is an empty list [].

Note: This will not change any pre-defined __system_packages.

env

This variable defines the name of the environment.

The default value is vagrant.

Dependencies

None

Example Playbook

- hosts: servers
  roles:
    - common

License

MIT / BSD

Author Information

This role was created in 2015 by Juwai Limited.

Informazioni sul progetto

Common tasks needed by other Juwai roles

Installa
ansible-galaxy install juwai.common
Licenza
Unknown
Download
3.7k
Proprietario
Where Chinese find international property