common

sets up the host generic stuff

Table of contents


Requirements

  • Minimum Ansible version: 2.16.0

Default Variables

common_packages

This is an internal variable only. Do not define it!

Default value

common_packages: _unset_

common_packages_el10

List of RPMs for RHEL10 or OL10

Default value

common_packages_el10:
  - bc
  - binutils
  - elfutils-libelf
  - fontconfig
  - glibc
  - glibc-devel
  - ksh
  - libaio
  - libgcc
  - libibverbs
  - libstdc++
  - libvirt-libs
  - libxcb
  - libX11
  - libXau
  - libXi
  - libXrender
  - libXtst
  - libxcrypt-compat
  - make
  - policycoreutils
  - policycoreutils-python-utils
  - smartmontools
  - sysstat
  - xz-devel
  - acl
  - autofs
  - bind-utils
  - ethtool
  - expect
  - git
  - grubby
  - initscripts
  - libaio-devel
  - libnsl
  - libstdc++-devel
  - lsof
  - lvm2
  - module-init-tools
  - nc
  - net-tools
  - nfs-utils
  - openssh-clients
  - pam
  - parted
  - procps
  - psmisc
  - python3
  - python3-pip
  - python3-packaging
  - rlwrap
  - tar
  - unzip
  - util-linux-ng
  - xfsprogs

common_packages_el6

List of RPMs for RHEL6 or OL6

Default value

common_packages_el6:
  - screen
  - facter
  - procps
  - module-init-tools
  - ethtool
  - lsof
  - bc
  - nc
  - bind-utils
  - nfs-utils
  - make
  - sysstat
  - unzip
  - openssh-clients
  - compat-libcap1
  - collectl
  - rlwrap
  - tigervnc-server
  - ntp
  - expect
  - git
  - lvm2
  - xfsprogs
  - btrfs-progs
  - tmux
  - python-devel
  - python-pip
  - libselinux-python
  - twm
  - autofs
  - parted
  - ksh

common_packages_el7

List of RPMs for RHEL7 or OL7

Default value

common_packages_el7:
  - screen
  - facter
  - procps
  - module-init-tools
  - ethtool
  - lsof
  - bc
  - nc
  - bind-utils
  - nfs-utils
  - make
  - sysstat
  - unzip
  - openssh-clients
  - compat-libcap1
  - collectl
  - rlwrap
  - tigervnc-server
  - ntp
  - expect
  - git
  - lvm2
  - xfsprogs
  - btrfs-progs
  - python-devel
  - python-pip
  - libselinux-python
  - autofs
  - parted
  - mlocate
  - ksh
  - psmisc
  - grubby

common_packages_el8

List of RPMs for RHEL8 or OL8

Default value

common_packages_el8:
  - facter
  - procps
  - module-init-tools
  - ethtool
  - lsof
  - bc
  - binutils
  - elfutils-libelf
  - elfutils-libelf-devel
  - fontconfig-devel
  - glibc
  - glibc-devel
  - ksh
  - libaio
  - libaio-devel
  - libXrender
  - libX11
  - libXau
  - libXi
  - libXtst
  - libgcc
  - libnsl
  - librdmacm
  - libstdc++
  - libstdc++-devel
  - libxcb
  - libibverbs
  - make
  - smartmontools
  - sysstat
  - nc
  - bind-utils
  - nfs-utils
  - unzip
  - openssh-clients
  - rlwrap
  - tigervnc-server
  - expect
  - git
  - lvm2
  - xfsprogs
  - autofs
  - parted
  - mlocate
  - psmisc
  - python3
  - python3-pip
  - grubby

common_packages_el9

List of RPMs for RHEL9 or OL9

Default value

common_packages_el9:
  - autofs
  - bind-utils
  - binutils
  - ethtool
  - expect
  - facter
  - fontconfig
  - git
  - glibc
  - glibc-devel
  - grubby
  - initscripts
  - ksh
  - libaio
  - libaio-devel
  - libgcc
  - libnsl
  - libstdc++
  - libstdc++-devel
  - lsof
  - lvm2
  - make
  - mlocate
  - module-init-tools
  - nc
  - net-tools
  - nfs-utils
  - openssh-clients
  - pam
  - parted
  - policycoreutils
  - policycoreutils-python-utils
  - procps
  - psmisc
  - python3
  - python3-pip
  - python3-packaging
  - rlwrap
  - smartmontools
  - sysstat
  - tar
  - unzip
  - util-linux-ng
  - xfsprogs
  - xorg-x11-utils
  - xorg-x11-xauth

common_packages_sles

List of RPMs for SuSE Linux Enterprise Server

Default value

common_packages_sles:
  - screen
  - procps
  - module-init-tools
  - ethtool
  - bc
  - bind-utils
  - make
  - sysstat
  - unzip
  - chrony
  - expect
  - lvm2
  - autofs

configure_epel_repo

Default value

configure_epel_repo: true

configure_motd

Configure Message of the day

Default value

configure_motd: true

configure_ntp

Configure ntpd or chrony on target system. The chrony or ntp is automatically chosen by ntp_type.

Default value

configure_ntp: true

configure_public_yum_repo

Default value

configure_public_yum_repo: true

epel10_rpm

URL for epel-release-latest-10.noarch.rpm

Default value

epel10_rpm: oracle-epel-release-el10

epel6_rpm

Url for epel-release-latest-6.noarch.rpm

Default value

epel6_rpm: https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm

epel7_rpm

Url for epel-release-latest-7.noarch.rpm

Default value

epel7_rpm: https://archives.fedoraproject.org/pub/archive/epel/7/x86_64/Packages/e/epel-release-7-14.noarch.rpm

epel8_rpm

Url for epel-release-latest-8.noarch.rpm

Default value

epel8_rpm: https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

epel9_rpm

Url for epel-release-latest-9.noarch.rpm

Default value

epel9_rpm: oracle-epel-release-el9

http_proxy

Define the http proxy for downloads

Default value

http_proxy: ''

https_proxy

Define the https proxy for downloads

Default value

https_proxy: ''

install_os_packages

Default value

install_os_packages: true

motd_template

Used templatename for Message of the day

Default value

motd_template: motd.j2

no_proxy

Define no_proxy list für downlads.

Default value

no_proxy: ''

ntp_type

This is an internal variable only. Do not define it!

Default value

ntp_type: _unset_

ol6_repo_file

The variable is used to cleanup the yum repolist for old installations.

Default value

ol6_repo_file: public-yum-ol6.repo

ol7_repo_file

The variable is used to cleanup the yum repolist for old installations.

Default value

ol7_repo_file: public-yum-ol7.repo

proxy_env

This is an internal variable for downloading patches. Usually no need to change it.

Default value

proxy_env:
  http_proxy: '{{ http_proxy }}'
  https_proxy: '{{ https_proxy }}'
  no_proxy: '{{ no_proxy }}'

use_proxy

Enable Proxy for Download

Default value

use_proxy: false

Discovered Tags

common_assert

commonpackages

epelrepo

motd

olrepo

Dependencies

  • global_handlers

License

license (MIT)

Author

[Mikael Sandström]