You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
840 B
32 lines
840 B
---
|
|
|
|
- name: Install common utilities
|
|
yum:
|
|
name: "{{ system_utils }} + {{ system_utils_el }}"
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
- name: Install common utilities
|
|
apt:
|
|
name: "{{ system_utils }} + {{ system_utils_deb }}"
|
|
update_cache: True
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
- name: Install extra softwares
|
|
yum:
|
|
name: "{{ system_extra_pkgs }}"
|
|
when: ansible_os_family == 'RedHat'
|
|
|
|
- name: Install extra softwares
|
|
apt:
|
|
name: "{{ system_extra_pkgs }}"
|
|
when: ansible_os_family == 'Debian'
|
|
|
|
# Screendump is not used, and prevent using tab to use screen quickly, so remove it
|
|
- name: Check if screendump is present
|
|
stat: path=/usr/bin/screendump
|
|
register: system_screendump
|
|
|
|
- name: Rename screendump
|
|
command: mv -f /usr/bin/screendump /usr/bin/_screendump
|
|
when: system_screendump.stat.exists
|
|
...
|
|
|