aboutsummaryrefslogtreecommitdiffstats
path: root/resources/roles/qtip-deps/tasks/redhat.yml
diff options
context:
space:
mode:
Diffstat (limited to 'resources/roles/qtip-deps/tasks/redhat.yml')
-rw-r--r--resources/roles/qtip-deps/tasks/redhat.yml24
1 files changed, 24 insertions, 0 deletions
diff --git a/resources/roles/qtip-deps/tasks/redhat.yml b/resources/roles/qtip-deps/tasks/redhat.yml
new file mode 100644
index 00000000..6a53aacf
--- /dev/null
+++ b/resources/roles/qtip-deps/tasks/redhat.yml
@@ -0,0 +1,24 @@
+##############################################################################
+# Copyright (c) 2017 ZTE Corporation and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
+
+---
+- name: Installing epel release
+ yum:
+ name: epel-release
+ state: present
+
+- name: Installing required packages
+ yum:
+ name: "{{ item }}"
+ state: present
+ with_items:
+ - "@Development tools"
+ - gcc-c++
+ - libselinux-python
+ - libpcap-devel