diff --git a/ansible_portable_howto.txt b/ansible_portable_howto.txt new file mode 100644 index 0000000..cac7f49 --- /dev/null +++ b/ansible_portable_howto.txt @@ -0,0 +1,26 @@ +ansible sur le poste à configurer +s'inspirer de l'exemple screen ! + +=== + +yum install -y wget bzip2 + +wget https://github.com/ownport/portable-ansible/releases/download/v0.4.2/portable-ansible-v0.4.2-py2.tar.bz2 +tar xvfj portable-ansible-v0.4.2-py2.tar.bz2 + +ln -s ansible ansible-playbook + +creer un fichier hosts.oracle avec le contenu suivant + +[local] +localhost ansible_connection=local + +scp mes playbooks dans /root + +merlin@Dell-E7440:~/scripts/configure_oracle $ scp -r * root@192.168.1.241:/root + +ou rsync : +merlin@Dell-E7440:~/scripts/configure_oracle $ rsync -av * root@192.168.1.241:/root + +python ansible-playbook book-config-oel-6-7.yml -i hosts.oracle + diff --git a/configure-host-oel7/files/z_oracle.sh b/configure-host-oel7/files/z_oracle.sh index 658c011..13f934c 100755 --- a/configure-host-oel7/files/z_oracle.sh +++ b/configure-host-oel7/files/z_oracle.sh @@ -1,20 +1,46 @@ +#!/bin/bash +######################################################################### +######################################################################### ## Fichier de configuration d'environnement Oracle ## Pour infrastructure cluster ou standalone. ## Versions testees: 12.1, 11.2 GI et SA, flex/normal ## -## 20140813 YOM Correction de l'emplacement des journaux cluster vers ADR en 12c -## 20140813 YOM Correction concernant la détection Restart en 12c (olsnodes réponds...) -## 20140820 YOM Correction des alias crsstat et crsstati pour implémenter les variables ORA_CRS car elles ne doivent pas être laissées dans l'environnement -## 20141202 YOM Correction du prompt par défaut -## 20141203 YOM Suppression des alias crsstat et crsstati pour les transformer en scripts -## 20141204 YOM Ajout de l'alias OH pour un « cd $ORACLE_HOME » -## 20150121 YOM Test si le terminal est interractif pour éviter les erreurs TPUT en v7 +## 2014-08-13 YOM Correction de l'emplacement des journaux cluster vers ADR en 12c +## 2014-08-13 YOM Correction concernant la détection Restart en 12c (olsnodes réponds...) +## 2014-08-20 YOM Correction des alias crsstat et crsstati pour implémenter les variables ORA_CRS car elles ne doivent pas être laissées dans l'environnement +## 2014-12-02 YOM Correction du prompt par défaut +## 2014-12-03 YOM Suppression des alias crsstat et crsstati pour les transformer en scripts +## 2014-12-04 YOM Ajout de l'alias OH pour un « cd $ORACLE_HOME » +## 2015-01-21 YOM Test si le terminal est interractif pour éviter les erreurs TPUT en v7 +## 2016-02-15 YOM Ajout de l'alias « cdt » sur demande de PIL +## 2016-02-16 YOM Paramétrage de la mise à niveau de l'invite de commande +## 2016-02-25 YOM Modifications comportementales pour faciliter l'execution +## 2016-03-29 YOM 12.2 : changement de la conf ulimit pour être OK préco (fonction ajustement_limites) +## 2016-03-04 YOM . Modification du test de démarrage du cluster à cause de la 12c qui change le comportement olsnodes +## . Ajout d'un critère supplémentaire lié à l'alias cdt si le cluster est arrêté +## 2016-04-07 YOM . Ajout de l'alias SID pour la gestion facile de l'environnement +## . Ajustement de la zone d'exploitation +## 2016-06-28 YOM Rectification d'un problème si le cluster est arrêtée qui provoquait unn affichage d'erreur bash non voulu +## 2016-09-05 YOM Changement de l'alias « alert » pour limiter la largeur de ligne d'affichage +## 2016-09-16 YOM Utilisation des fichiers du vocabulaire RLWrap si ils sont présents (demande de THT) +## 2017-05-16 YOM Modification de la présentation de fonction (retrait des ()) pour une meilleure compatibilité +## 2017-08-23 YOM Création d'un fichier qui stocke la configuration repérée afin de ne pas systématiquement recalculer l'ensemble du paramétrage +## 2019-01-08 THT Arret de l'utilisation de local dans la fonction charge pour la variable lNODE_INFO, car l'utilisation de local donnait toujours un code retour à 0 +## 2019-01-23 THT Ajout de opatch dans le PATH de grid et oracle +######################################################################### + ## Activation des echo pour DEBUG si mis à 1 DEBUG=0 +## Invite de commande sympa à activer (1 pour activé, 0 pour dormant) : +ORAC_INV_C=1 +GRID_INV_C=1 +ROOT_INV_C=1 + ## Contexte APP_CTX=z_oracle.sh HOSTNAME_SIMPLE=`hostname -s` + ## Shell interactif ou non ? fd=0 if [[ $- = *i* ]] @@ -25,29 +51,104 @@ else fi ## Ajustement des limites (préconisations Oracle) -function ajustement_limites () { +function ajustement_limites { decho fonction ajustement limites if [ $SHELL = "/bin/ksh" ] ; then ulimit -p 16384 ulimit -n 65536 ulimit -s 32768 else - ulimit -u 16384 -n 65536 -s 32768 + ulimit -u 16384 -n 65536 fi + ulimit -Hs 32768 + ulimit -Ss 10240 } ## Affichage des messages de sortie de debug -function decho () { +function decho { if [ $DEBUG -eq 1 ] ; then echo $APP_CTX: $* fi } +######## Préparation fichier d'historique des informations de contexte +FICH_INFOS=/tmp/.z_oracle +# Obsolescence parr défaut: 24h +FICH_OBS=24 +## Gestion de l'obsolescence du fichier d'historique de configuration +# Si il n'existe pas, aucun problème. Sinon, il faut traiter +#ls -lrta $FICH_INFOS +#ls -lrts /tmp/.z_oracle +if [ -r $FICH_INFOS ] ; then + # Si obsolete + decho "Fichier $FICH_INFOS trouvé" + NB_SEC_DEPUIS_EPOCH=`PATH=\`getconf PATH\` awk 'BEGIN{srand();print srand()}'` + NB_SEC_DEPUIS_EPOCH_FICHIER=`stat -c %Y $FICH_INFOS` + NB_SEC_ECOULEES_MOD=`expr $NB_SEC_DEPUIS_EPOCH - $NB_SEC_DEPUIS_EPOCH_FICHIER` + HEURES_MOD=`expr $NB_SEC_ECOULEES_MOD / 3600` + if [ $HEURES_MOD -ge $FICH_OBS ] ; then + decho "Suppression $FICH_INFOS : obsolète (+${FICH_OBS}h)" + rm -f $FICH_INFOS 1>/dev/null 2>&1 + touch $FICH_INFOS + chmod 666 $FICH_INFOS + fi +else + decho "fichier $FICH_INFOS non trouvé" + touch $FICH_INFOS + chmod 666 $FICH_INFOS +fi + +# Fonction qui charge une information, soit depuis le contexte, soit depuis le fichier d'infos +function charge { + # Premier paramètre: le nom de l'élément recherché, identique au nom de la variable d'env du script + if [ $# -ne 1 ] ; then + decho charge: manque de paramétrage + exit 0 + fi + # Afin d'éviter la globalisation des variables de recherche et ne pas alourdir "l'unset" final, utilisation de variables locales pour la recherche + local __varRecherche=$1 + # Déjà connu via le fichier d'infos pour chargement rapide et pas reclacul + if [ `egrep "^${1}=" $FICH_INFOS | wc -l` -eq 1 ] ; then + # OUI + local lRep=`egrep "^$1" $FICH_INFOS | cut -d= -f2` + eval $__varRecherche="'$lRep'" + else + # NON : on calcule et on pérénise + case $1 in + NODE_INFO) + lNODE_INFO=`$ORA_CRS_HOME/bin/olsnodes -l -n -a` + if [ $? -ne 0 ] ; then + # En cluster 11, on n'a pas de -a (mode cluster flex/normal) + lNODE_INFO=`$ORA_CRS_HOME/bin/olsnodes -l -n` + fi + echo "NODE_INFO=$lNODE_INFO" >> $FICH_INFOS + eval $__varRecherche="'$lNODE_INFO'" + ;; + ORA_CRS_CLUSTER_NAME) + local lORA_CRS_CLUSTER_NAME=`$ORA_CRS_HOME/bin/olsnodes -c` + echo "ORA_CRS_CLUSTER_NAME=$lORA_CRS_CLUSTER_NAME" >> $FICH_INFOS + eval $__varRecherche="'$lORA_CRS_CLUSTER_NAME'" + ;; + ORA_CRS_ACTIVEVERSION) + local lORA_CRS_ACTIVEVERSION=`$ORA_CRS_HOME/bin/crsctl query crs activeversion | cut -d[ -f2 | cut -d. -f1` + echo "ORA_CRS_ACTIVEVERSION=$lORA_CRS_ACTIVEVERSION" >> $FICH_INFOS + eval $__varRecherche="'$lORA_CRS_ACTIVEVERSION'" + ;; + ORA_CRS_CLUSTERMODE) + local lORA_CRS_CLUSTERMODE=`$ORA_CRS_HOME/bin/crsctl get cluster mode config |cut -d\" -f2` + echo "ORA_CRS_CLUSTERMODE=$lORA_CRS_CLUSTERMODE" >> $FICH_INFOS + eval $__varRecherche="'$lORA_CRS_CLUSTERMODE'" + ;; + esac + fi +} +######## + decho "Terminal en mode interactif: $INTERACTIF" ## On entre seulement pour certains utilisateurs. ## root een fait partie pour la composante cluster, crsctl, ... -if [ $USER = "oracle" ] || [ $USER = "grid" ] || [ $USER = "root" ] ; then +if [ $USER = "SED_ORACLE_TARGET__" ] || [ $USER = "SED_GRID_TARGET__" ] || [ $USER = "root" ] ; then decho $USER login profile @@ -82,11 +183,29 @@ if [ $USER = "oracle" ] || [ $USER = "grid" ] || [ $USER = "root" ] ; then ORA_INVENTORY_XMLFILE=$ORA_INVENTORY/ContentsXML/inventory.xml # Recuperation de l'emplacement du répertoire prive de l'utilisateur premier oracle - ORA_USER_HOME=`egrep '^SED_PREMIER_COMPTE_ORACLE__:.*' /etc/passwd | cut -d: -f 6` - ORA_EXPL_DIR=$ORA_USER_HOME/expl + ORA_EXPL_DIR=SED_EXPL_REP__ ORA_EXPL_BIN=$ORA_EXPL_DIR/bin ORA_EXPL_SQL=$ORA_EXPL_DIR/sql ORA_EXPL_TMP=$ORA_EXPL_DIR/tmp + ORA_EXPL_RLWVOC=$ORA_EXPL_DIR/rlwrap_vocabulaire + # Préparation des informations de complément pour RLWrap par rapport aux fichiers de vocabulaire, si présents + if [ -r "$ORA_EXPL_RLWVOC/adrci" ] ; then + RLW_COMP_ADRCI=" -i -f $ORA_EXPL_RLWVOC/adrci " + fi + if [ -r "$ORA_EXPL_RLWVOC/asmcmd" ] ; then + RLW_COMP_ASMCMD=" -i -f $ORA_EXPL_RLWVOC/asmcmd " + fi + if [ -r "$ORA_EXPL_RLWVOC/dgmgrl" ] ; then + RLW_COMP_DGMGRL=" -i -f $ORA_EXPL_RLWVOC/dgmgrl " + fi + if [ -r "$ORA_EXPL_RLWVOC/rman" ] ; then + RLW_COMP_RMAN=" -i -f $ORA_EXPL_RLWVOC/rman " + fi + if [ -r "$ORA_EXPL_RLWVOC/sqlplus" -a -d "$ORA_EXPL_RLWVOC/sqlplus" ] ; then + LISTE_COMPLEMENTS=`ls $ORA_EXPL_RLWVOC/sqlplus | sed -e "s|^| -f $ORA_EXPL_RLWVOC/sqlplus/|g" | tr '\n' ' '` + RLW_COMP_SQLPLUS=" -i $LISTE_COMPLEMENTS " + unset LISTE_COMPLEMENTS + fi # Test pour savoir si GI installée if [ -f $OLR_LOC ] ; then @@ -97,28 +216,31 @@ if [ $USER = "oracle" ] || [ $USER = "grid" ] || [ $USER = "root" ] ; then # On utilise olsnodes qui "sors" rapidement pour aussi valider que la couche est UP # sinon on perds un temps phénoménal pour rien avec les timeout crsctl - NODE_INFO=`$ORA_CRS_HOME/bin/olsnodes -l -n -a` - if [ $? -ne 0 ] ; then - # En cluster 11, on n'a pas de -a (mode cluster flex/normal) - NODE_INFO=`$ORA_CRS_HOME/bin/olsnodes -l -n` - fi - - + # La remarque n'est plus valable avec la 12C. Donc, ajout d'un test via la ressource ora.crsd + $ORA_CRS_HOME/bin/crsctl stat res ora.crsd -init | grep STATE | grep ONLINE 1>/dev/null 2>&1 if [ $? -eq 0 ] ; then - # C'est UP, on peut traiter. + # C'est démarré, on peut traiter. + charge NODE_INFO export ORA_CRS_NODE_NUM=`echo $NODE_INFO | awk '{print $2}'` export ORA_CRS_NODE_TYPE=`echo $NODE_INFO | awk '{print $3}'` decho ORA_CRS_NODE_NUM = $ORA_CRS_NODE_NUM decho ORA_CRS_NODE_TYPE = $ORA_CRS_NODE_TYPE - export ORA_CRS_CLUSTER_NAME=`$ORA_CRS_HOME/bin/olsnodes -c` + + charge ORA_CRS_CLUSTER_NAME decho ORA_CRS_CLUSTER_NAME=$ORA_CRS_CLUSTER_NAME # Si le cluster n'a pas de nom, c'est que nous sommes en Oracle Restart. Donc pas de query activeversion! if [ "$ORA_CRS_CLUSTER_NAME" != "" ] ; then - export ORA_CRS_ACTIVEVERSION=`$ORA_CRS_HOME/bin/crsctl query crs activeversion | cut -d[ -f2 | cut -d. -f1` + # Alias qui permet à partir du nom de la base de fixer dynamiquement le SID (depuis ORACLE_SID via oraenv) + if [ "$USER" != "root" ] ; then + # Ajout d'un alias pour adapter le nom de base vers le sid + # le nom de la base est localisé dans le fichier oratab et le nom de l'instance dépend de la configuration + alias sid='egrep "^$ORACLE_SID:" /etc/oratab 1>/dev/null 2>&1 && export ORACLE_SID=`LANG=C srvctl status instance -d $ORACLE_SID -n \`hostname -s\`| cut -d" " -f2`' + fi + charge ORA_CRS_ACTIVEVERSION if [ "$ORA_CRS_ACTIVEVERSION" -eq "12" ] ; then # On peut attendre un cluster flex ou non - export ORA_CRS_CLUSTERMODE=`$ORA_CRS_HOME/bin/crsctl get cluster mode config |cut -d\" -f2` + charge ORA_CRS_CLUSTERMODE # On raccourcis "standard" en "std" si besoin if [ "$ORA_CRS_CLUSTERMODE" = "standard" ] ; then export ORA_CRS_CLUSTERMODE=std @@ -149,13 +271,13 @@ if [ $USER = "oracle" ] || [ $USER = "grid" ] || [ $USER = "root" ] ; then elif [ $USER = "root" ] ; then decho Ajustement path user root # On ajoute le chemin du cluster dans le PATH - export PATH=$ORA_CRS_HOME/bin:$ORA_USER_HOME/expl/bin:$PATH + export PATH=$ORA_CRS_HOME/bin:$ORA_EXPL_BIN:$PATH elif [ $USER = "SED_GRID_TARGET__" ] ; then decho environnement GI export ORACLE_HOME=$ORA_CRS_HOME export ORACLE_BASE=`$ORACLE_HOME/bin/orabase` export SQLPATH=$ORA_EXPL_SQL - export PATH=$ORA_CRS_HOME/bin:$ORA_USER_HOME/expl/bin:$PATH + export PATH=$ORA_CRS_HOME/bin:$ORA_CRS_HOME/OPatch:$ORA_EXPL_BIN:$PATH if [ `ps -ef | grep -E 'pmon.*\+A' | grep -v grep | cut -d_ -f3- | wc -l` -gt 0 ] ; then export ORACLE_SID=`ps -ef | grep -E 'pmon.*\+A' | grep -v grep | cut -d_ -f3- | sort | tail -1` fi @@ -198,15 +320,35 @@ if [ $USER = "oracle" ] || [ $USER = "grid" ] || [ $USER = "root" ] ; then DRT_LI6=`expr $DRT_LI \* 6` NORMAL=$(tput sgr0) ROUGE=$(tput setaf 1) - alias alert="while :; do clear ; echo -e \"${ROUGE}ALERT********${NORMAL}\" ; tail -$DRT_LI $ALERT_LOG ; echo -e \"${ROUGE}CRSD*********${NORMAL}\" ; tail -$DRT_LI2 $CRSD_LOG ; echo -e \"${ROUGE}OCSSD********${NORMAL}\" ; tail -$DRT_LI6 $CSSD_LOG ; echo -e \"${ROUGE}OHASD********${NORMAL}\" ; tail -$DRT_LI $OHASD_LOG ; sleep 1; done" + alias alert="while :; do clear ; R=\`tput cols\` ; echo -e \"${ROUGE}ALERT********${NORMAL}\" ; tail -$DRT_LI $ALERT_LOG | cut -c -\$R ; echo -e \"${ROUGE}CRSD*********${NORMAL}\" ; tail -$DRT_LI2 $CRSD_LOG | cut -c -\$R ; echo -e \"${ROUGE}OCSSD********${NORMAL}\" ; tail -$DRT_LI6 $CSSD_LOG | cut -c -\$R ; echo -e \"${ROUGE}OHASD********${NORMAL}\" ; tail -$DRT_LI $OHASD_LOG | cut -c -\$R ; sleep 1; done" fi else decho GI non installee ORA_CRS_CLUSTERMODE=sa fi + # Alias CDT valable pour tous environnements + # Attention, cluster ou non. + if [ "$ORA_CRS_CLUSTERMODE" = "rst" -o "$ORA_CRS_CLUSTERMODE" = "sa" ] ; then + # Sans GI ou en Restart + if [ $USER = "SED_ORACLE_TARGET__" ] ; then + alias cdt='cd $ORACLE_BASE/diag/rdbms/`echo $ORACLE_SID | tr [:upper:] [:lower:]`/$ORACLE_SID/trace' + elif [ $USER = "SED_GRID_TARGET__" ] ; then + alias cdt='cd $ORACLE_BASE/diag/asm/`echo $ORACLE_SID | tr [:upper:] [:lower:]`/$ORACLE_SID/trace' + fi + elif [ ! -z "$ORA_CRS_CLUSTERMODE" ] ; then + # En cluster, donc + if [ $USER = "SED_ORACLE_TARGET__" ] ; then + alias cdt='cd $ORACLE_BASE/diag/rdbms/`echo ${ORACLE_SID%?} | tr [:upper:] [:lower:]`/$ORACLE_SID/trace' + elif [ $USER = "SED_GRID_TARGET__" ] ; then + alias cdt='cd $ORACLE_BASE/diag/asm/`echo ${ORACLE_SID%?} | tr [:upper:] [:lower:]`/$ORACLE_SID/trace' + fi + else + decho "Type cluster non calculé" + fi + # Env oracle avec ou hors GI - if [ $USER = "oracle" ] ; then + if [ $USER = "SED_ORACLE_TARGET__" ] ; then export SQLPATH=$ORA_EXPL_SQL # Si 1 seul OH dans l'inventaire, on set. Non déterminable si GI non cluster (manque le CRS=true pour identifier) if [ `grep ' on change + ## Sinon si on est root et couleur ==> on change + ## Sinon on est alors forcément oracle. si couleur ==> on change + if [ $USER = "SED_GRID_TARGET__" -a $GRID_INV_C -eq 1 ] || [ $USER = "root" -a $ROOT_INV_C -eq 1 ] || [ $ORAC_INV_C -eq 1 -a $USER != "SED_GRID_TARGET__" -a $USER != "root" ] ; then + decho Invite en couleur + if [ "$ORA_CRS_CLUSTERMODE" = "flex" ] ; then + export PS1='[\[$bleu\]\u\[$reset\]@\[$vert\]\h\[$reset\] ($ORA_CRS_CLUSTERMODE $ORA_CRS_CLUSTER_NAME $ORA_CRS_NODE_TYPE:$ORA_CRS_NODE_NUM) \[$rouge\]${TWO_TASK:-$ORACLE_SID}\[$reset\] \W]\$ ' + elif [ "$ORA_CRS_CLUSTERMODE" = "std" ] ; then + export PS1='[\[$bleu\]\u\[$reset\]@\[$vert\]\h\[$reset\] ($ORA_CRS_CLUSTERMODE $ORA_CRS_CLUSTER_NAME:$ORA_CRS_NODE_NUM) \[$rouge\]${TWO_TASK:-$ORACLE_SID}\[$reset\] \W]\$ ' + elif [ "$ORA_CRS_CLUSTERMODE" = "sa" -o "$ORA_CRS_CLUSTERMODE" = "rst" ] ; then + export PS1='[\[$bleu\]\u\[$reset\]@\[$vert\]\h\[$reset\] ($ORA_CRS_CLUSTERMODE) \[$rouge\]${TWO_TASK:-$ORACLE_SID}\[$reset\] \W]\$ ' + else + export PS1='[\[$bleu\]\u\[$reset\]@\[$vert\]\h\[$reset\] \[$rouge\]${TWO_TASK:-$ORACLE_SID}\[$reset\] \W]\$ ' + fi fi - # Mode eMacs d'édition de ligne par défaut. Possible de passer en mode vi si nécessaire. set -o emacs fi -unset ajustement_limites decho APP_CTX HOSTNAME_SIMPLE DEBUG OLR_LOC ORA_INVENTORY ORA_INVENTORY_XMLFILE ORA_INVENTORY_CFFILE ORA_USER_HOME ORA_EXPL_DIR ORA_EXPL_BIN ORA_EXPL_SQL ORA_EXPL_TMP DRT_LI DRT_LI2 DRT_LI6 NODE_INFO DB_TARGET DEC_INST ORA_CRS_HOME INTERACTIF - - -# alias pour le shell Bash -alias grep='grep --color=auto' -alias vi=vim - +unset charge ajustement_limites decho APP_CTX HOSTNAME_SIMPLE DEBUG OLR_LOC ORA_INVENTORY ORA_INVENTORY_XMLFILE ORA_INVENTORY_CFFILE ORA_USER_HOME ORA_EXPL_DIR ORA_EXPL_BIN ORA_EXPL_SQL ORA_EXPL_TMP DRT_LI DRT_LI2 DRT_LI6 NODE_INFO DB_TARGET DEC_INST ORA_CRS_HOME INTERACTIF diff --git a/configure-host-oel7/tasks/main.yml b/configure-host-oel7/tasks/main.yml index 4631a75..e696030 100755 --- a/configure-host-oel7/tasks/main.yml +++ b/configure-host-oel7/tasks/main.yml @@ -45,43 +45,55 @@ # --------------------------------------------------- # configuration des packages necessaires pour Oracle # --------------------------------------------------- - - name: Installation des packages pour Oracle + - name: Installation des packages pour Oracleeee yum: name={{ packages }} state=installed skip_broken=true # with_items: vars: packages: + - bc - binutils - - compat-libcap1 - - compat-libstdc++*i686 - - compat-libstdc++-33 - - elfutils-libelf-devel - - gcc - - gcc-c++ - - glibc - - glibc*i686 - - glibc-devel + - compat-libcap1 + - compat-libstdc++-33 + - compat-libstdc++-33*i686 + - elfutils-libelf-devel + - gcc + - gcc-c++ + - glibc + - glibc*i686 + - glibc-devel - glibc-devel*i686 - - kernel-headers - - ksh + - kernel-headers + - ksh - libaio - libaio*i686 - - libaio-devel + - libaio-devel - libaio-devel*i686 - - libgcc*i686 - - libgcc*x86_64 + - libgcc +# - libgcc*i686 - libstdc++ - - libstdc++*i686 - - libstdc++-devel + - libstdc++*i686 + - libstdc++-devel - libstdc++-devel*i686 + - libX11 + - libX11*686 + - libXau + - libXau-*i686 + - libxcb + - libxcb-*i686 - libXi - - libXi*i686 + - libXi-*i686 + - libXrender*i686 + - libXrender-devel + - libXrender-devel*i686 - libXtst - - libXtst*i686 + - libXtst-*i686 - make - mksh - - smartmontools + - net-tools + - nfs-utils + - smartmontools - sysstat - - unixODBC + - unixODBC tags: os_packages # when: install_os_packages and internet_connection diff --git a/configure-host-oel7/vars/main.yml b/configure-host-oel7/vars/main.yml index 7d1156a..46561de 100755 --- a/configure-host-oel7/vars/main.yml +++ b/configure-host-oel7/vars/main.yml @@ -94,6 +94,7 @@ - libstdc++-devel*i686 - libaio-devel*i686 - libstdc++*i686 + - libgcc - libgcc*i686 - libaio*i686 - glibc-devel*i686