Change-Id: I62b242c9a2e90cc6c0c6c5ca181356690e18b59b
Signed-off-by: Yujun Zhang <zhang.yujunz@zte.com.cn>
##############################################################################
- name: install inxi - Command line system information script for console and IRC
+ become: yes
package:
name: inxi
state: present
##############################################################################
- name: install openssl - Cryptography and SSL/TLS Toolkit
+ become: yes
package:
name: openssl
state: present
---
- name: installing software properties common
+ become: true
apt:
name: "{{ item }}"
state: present
- software-properties-common
- name: adding ubuntu backport main repo
+ become: true
apt_repository:
repo: "{{ item }}"
state: present
- deb http://archive.ubuntu.com/ubuntu/ {{ansible_distribution_release}} main restricted universe multiverse
- name: installing dependencies
+ become: true
apt:
name: "{{ item }}"
state: present
- libtool-bin
- autoconf
- automake
+ - rsync
+ - git
+
---
- name: installing epel release
+ become: true
yum:
name: epel-release
state: present
- name: installing dependencies
+ become: true
yum:
name: "{{ item }}"
state: present
- gcc-c++
- libselinux-python
- libpcap-devel
+ - rsync
+ - git
---
- include: "install-deps-{{ ansible_os_family|lower }}.yml"
-
-- name: installing dependencies
- package:
- name: "{{ item }}"
- state: present
- with_items:
- - rsync
- - git