[PROD] root@dipostat01.cnc.sk: /home/phudec # sudo yum repolist
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: tux.rainside.sk
* epel: mirror.vutbr.cz
* extras: tux.rainside.sk
* updates: tux.rainside.sk
repo id repo name status
!base/7/x86_64 CentOS-7 - Base 9,591
!centos-openshift-origin CentOS OpenShift Origin 104+41
!centos-openshift-origin14-candidate CentOS OpenShift Origin14 Candidate 19+8
!centos-openshift-origin15-candidate CentOS OpenShift Origin15 Candidate 27+8
!centos-openshift-origin36-candidate CentOS OpenShift Origin36 Candidate 22+8
!centos-openshift-origin37-candidate CentOS OpenShift Origin37 Candidate 27+8
!centos-openshift-origin38-candidate CentOS OpenShift Origin38 Candidate 25+8
!centos-openshift-origin39-candidate CentOS OpenShift Origin39 Candidate 24+8
!epel/x86_64 Extra Packages for Enterprise Linux 7 - x86_ 12,461
!extras/7/x86_64 CentOS-7 - Extras 448
!updates/7/x86_64 CentOS-7 - Updates 2,416
!zabbix/x86_64 Zabbix Official Repository - x86_64 132
!zabbix-non-supported/x86_64 Zabbix Official Repository non-supported - x 4
repolist: 25,300
[PROD] root@dipostat01.cnc.sk: ~ # sudo rpm -q ansible
ansible-2.4.2.0-2.el7.noarch
[PROD] root@dipostat01.cnc.sk: ~ # repoquery -i ansible
Name : ansible
Version : 2.4.2.0
Release : 2.el7
Architecture: noarch
Size : 40059005
Packager : CentOS BuildSystem <http://bugs.centos.org>
Group : Development/Libraries
URL : http://ansible.com
Repository : extras
Summary : SSH-based configuration management, deployment, and task execution system
Source : ansible-2.4.2.0-2.el7.src.rpm
Description :
Ansible is a radically simple model-driven configuration management,
multi-node deployment, and remote task execution system. Ansible works
over SSH and does not require any software or daemons to be installed
on remote nodes. Extension modules can be written in any language and
are transferred to managed machines automatically.
[PROD] root@dipostat01.cnc.sk: ~ # sudo rpm -q openshift-ansible
package openshift-ansible is not installed
[PROD] root@dipostat01.cnc.sk: ~ # repoquery -i openshift-ansible
Name : openshift-ansible
Version : 3.9.0
Release : 0.53.0.git.1.e139fd5.el7
Architecture: noarch
Size : 57165
Packager : CBS <cbs@centos.org>
Group : Unspecified
URL : https://github.com/openshift/openshift-ansible
Repository : centos-openshift-origin39-candidate
Summary : Openshift and Atomic Enterprise Ansible
Source : openshift-ansible-3.9.0-0.53.0.git.1.e139fd5.el7.src.rpm
Description :
Openshift and Atomic Enterprise Ansible
This repo contains Ansible code and playbooks
for Openshift and Atomic Enterprise.
[PROD] root@dipostat01.cnc.sk: ~ # rpm -q origin
origin-3.9.0-0.alpha.4.el7.git.23454.881f1dd.x86_64
[PROD] root@dipostat01.cnc.sk: ~ # repoquery -i origin
[PROD] root@dipostat01.cnc.sk: ~ # cat /root/openshift-ansible/roles/lib_utils/callback_plugins/aa_version_requirement.py
#!/usr/bin/python
"""
This callback plugin verifies the required minimum version of Ansible
is installed for proper operation of the OpenShift Ansible Installer.
The plugin is named with leading `aa_` to ensure this plugin is loaded
first (alphanumerically) by Ansible.
"""
import sys
from ansible import __version__
if __version__ < '2.0':
# pylint: disable=import-error,no-name-in-module
# Disabled because pylint warns when Ansible v2 is installed
from ansible.callbacks import display as pre2_display
CallbackBase = object
def display(*args, **kwargs):
"""Set up display function for pre Ansible v2"""
pre2_display(*args, **kwargs)
else:
from ansible.plugins.callback import CallbackBase
from ansible.utils.display import Display
def display(*args, **kwargs):
"""Set up display function for Ansible v2"""
display_instance = Display()
display_instance.display(*args, **kwargs)
# Set to minimum required Ansible version
REQUIRED_VERSION = '2.4.3.0'
DESCRIPTION = "Supported versions: %s or newer" % REQUIRED_VERSION
def version_requirement(version):
"""Test for minimum required version"""
return version >= REQUIRED_VERSION
class CallbackModule(CallbackBase):
"""
Ansible callback plugin
"""
CALLBACK_VERSION = 1.0
CALLBACK_NAME = 'version_requirement'
def __init__(self):
"""
Version verification is performed in __init__ to catch the
requirement early in the execution of Ansible and fail gracefully
"""
super(CallbackModule, self).__init__()
if not version_requirement(__version__):
display(
'FATAL: Current Ansible version (%s) is not supported. %s'
% (__version__, DESCRIPTION), color='red')
sys.exit(1)
[PROD] root@dipostat01.cnc.sk: ~ # ls -alrtF /etc/origin/logging
total 172
drwx------. 6 root root 72 Apr 5 22:44 ../
-rw-r--r--. 1 root root 1050 Apr 5 22:44 ca.crt
-rw-------. 1 root root 1679 Apr 5 22:44 ca.key
-rw-r--r--. 1 root root 4263 Apr 5 22:44 signing.conf
-rw-------. 1 root root 1679 Apr 5 22:44 kibana-internal.key
-rw-r--r--. 1 root root 2246 Apr 5 22:44 kibana-internal.crt
-rw-r--r--. 1 root root 2201 Apr 5 22:45 mux.crt
-rw-------. 1 root root 1675 Apr 5 22:45 mux.key
-rw-r--r--. 1 root root 64 Apr 5 22:45 mux_shared_key
-rw-------. 1 root root 1679 Apr 5 22:45 es.key
-rw-r--r--. 1 root root 2185 Apr 5 22:45 es.crt
-rw-r--r--. 1 root root 321 Apr 5 22:45 server-tls.json
-rw-r--r--. 1 root root 0 Apr 5 22:45 ca.crt.srl
-rw-r--r--. 1 root root 1704 Apr 5 22:46 system.logging.fluentd.key
-rw-r--r--. 1 root root 960 Apr 5 22:46 system.logging.fluentd.csr
-rw-r--r--. 1 root root 1196 Apr 5 22:46 system.logging.fluentd.crt
-rw-r--r--. 1 root root 1196 Apr 5 22:46 03.pem
-rw-r--r--. 1 root root 1704 Apr 5 22:46 system.logging.kibana.key
-rw-r--r--. 1 root root 960 Apr 5 22:46 system.logging.kibana.csr
-rw-r--r--. 1 root root 1196 Apr 5 22:46 system.logging.kibana.crt
-rw-r--r--. 1 root root 1196 Apr 5 22:46 04.pem
-rw-r--r--. 1 root root 1704 Apr 5 22:46 system.logging.curator.key
-rw-r--r--. 1 root root 960 Apr 5 22:46 system.logging.curator.csr
-rw-r--r--. 1 root root 1196 Apr 5 22:46 system.logging.curator.crt
-rw-r--r--. 1 root root 1196 Apr 5 22:46 05.pem
-rw-r--r--. 1 root root 1704 Apr 5 22:46 system.admin.key
-rw-r--r--. 1 root root 948 Apr 5 22:46 system.admin.csr
-rw-r--r--. 1 root root 1184 Apr 5 22:46 system.admin.crt
-rw-r--r--. 1 root root 1184 Apr 5 22:46 06.pem
-rw-r--r--. 1 root root 1708 Apr 5 22:46 system.logging.mux.key
-rw-r--r--. 1 root root 956 Apr 5 22:46 system.logging.mux.csr
-rw-r--r--. 1 root root 3 Apr 5 22:46 ca.serial.txt.old
-rw-r--r--. 1 root root 375 Apr 5 22:46 ca.db.old
-rw-r--r--. 1 root root 20 Apr 5 22:46 ca.db.attr.old
-rw-r--r--. 1 root root 1192 Apr 5 22:46 system.logging.mux.crt
-rw-r--r--. 1 root root 1192 Apr 5 22:46 07.pem
-rw-r--r--. 1 root root 1708 Apr 5 22:46 system.logging.es.key
-rw-r--r--. 1 root root 952 Apr 5 22:46 system.logging.es.csr
-rw-r--r--. 1 root root 3 Apr 5 22:47 ca.serial.txt
-rw-r--r--. 1 root root 20 Apr 5 22:47 ca.db.attr
-rw-r--r--. 1 root root 448 Apr 5 22:47 ca.db
-rw-r--r--. 1 root root 1188 Apr 5 22:47 system.logging.es.crt
-rw-r--r--. 1 root root 1188 Apr 5 22:47 08.pem
drwxr-xr-x. 2 root root 4096 Apr 5 22:47 ./
[PROD] root@dipostat01.cnc.sk: ~/openshift-ansible # git remote -v
origin https://github.com/openshift/openshift-ansible.git (fetch)
origin https://github.com/openshift/openshift-ansible.git (push)
[PROD] root@dipostat01.cnc.sk: ~/openshift-ansible # git status
# On branch release-3.9
nothing to commit, working directory clean