This commit is contained in:
Yacine31
2023-04-19 14:19:23 +02:00
4 changed files with 27 additions and 2 deletions

View File

@@ -62,3 +62,11 @@ if [ $USER = "grid" ] || [ $USER = "oracle" ] || [ $USER = "root" ] ; then
fi fi
fi fi
# Preventing Installation Errors Caused by Terminal Output Commands
if [ -t 0 ]; then
stty intr ^C
fi
# append history immediatly
shopt -s histappend
PROMPT_COMMAND="history -a;$PROMPT_COMMAND"

View File

@@ -13,6 +13,14 @@
service: name=chronyd state=started enabled=yes service: name=chronyd state=started enabled=yes
ignore_errors: true ignore_errors: true
# ---------------------------------------------------
# Activation du nscd : Name Service Cache Daemon pour palier aux
# problèmes de perte de DNS
# ---------------------------------------------------
- name: activate nscd
service: name=nscd state=started enabled=yes
ignore_errors: true
# --------------------------------------------------- # ---------------------------------------------------
# configuration Linux : Selinux # configuration Linux : Selinux
# --------------------------------------------------- # ---------------------------------------------------

View File

@@ -28,8 +28,8 @@
groups={{ item.othergroups }} uid={{ item.uid }} groups={{ item.othergroups }} uid={{ item.uid }}
generate_ssh_key=yes append=yes state=present update_password=on_create password={{ item.passwd }} generate_ssh_key=yes append=yes state=present update_password=on_create password={{ item.passwd }}
with_items: with_items:
- { username: oracle, uid: 1001, primgroup: oinstall, othergroups: "dba,oper,backupdba,dgdba,kmdba,racdba", passwd: "$6$0xHoAXXF$K75HKb64Hcb/CEcr3YEj2LGERi/U2moJgsCK.ztGxLsKoaXc4UBiNZPL0hlxB5ng6GL.gyipfQOOXplzcdgvD0"} - { username: oracle, uid: 1001, primgroup: oinstall, othergroups: "dba,asmdba,backupdba,dgdba,kmdba,racdba,oper", passwd: "$6$0xHoAXXF$K75HKb64Hcb/CEcr3YEj2LGERi/U2moJgsCK.ztGxLsKoaXc4UBiNZPL0hlxB5ng6GL.gyipfQOOXplzcdgvD0"}
- { username: grid, uid: 1002, primgroup: oinstall, othergroups: "dba,asmdba,asmoper,asmadmin,racdba", passwd: "$6$0xHoAXXF$K75HKb64Hcb/CEcr3YEj2LGERi/U2moJgsCK.ztGxLsKoaXc4UBiNZPL0hlxB5ng6GL.gyipfQOOXplzcdgvD0"} - { username: grid, uid: 1002, primgroup: oinstall, othergroups: "dba,asmdba,backupdba,dgdba,kmdba,racdba,asmoper,asmadmin", passwd: "$6$0xHoAXXF$K75HKb64Hcb/CEcr3YEj2LGERi/U2moJgsCK.ztGxLsKoaXc4UBiNZPL0hlxB5ng6GL.gyipfQOOXplzcdgvD0"}
ignore_errors: true ignore_errors: true
when: full_configuration |bool when: full_configuration |bool
tags: user tags: user

View File

@@ -12,6 +12,7 @@
- bind-utils - bind-utils
- binutils - binutils
- chrony - chrony
- compat-libcap1
- elfutils-libelf - elfutils-libelf
- elfutils-libelf-devel - elfutils-libelf-devel
- fontconfig-devel - fontconfig-devel
@@ -27,9 +28,12 @@
- keyutils - keyutils
- ksh - ksh
- libaio - libaio
- libaio.i686
- libaio-devel - libaio-devel
- libaio-devel.i686
- libdmx - libdmx
- libgcc - libgcc
- libgcc.i686
- libibverbs - libibverbs
- libICE - libICE
- libmaxminddb - libmaxminddb
@@ -37,8 +41,10 @@
- libpkgconf - libpkgconf
- librdmacm - librdmacm
- libSM - libSM
- libstdc++.i686
- libstdc++ - libstdc++
- libstdc++-devel - libstdc++-devel
- libstdc++-devel.i686
- libverto-libevent - libverto-libevent
- libX11 - libX11
- libX11-common - libX11-common
@@ -49,12 +55,14 @@
- libxcrypt-devel - libxcrypt-devel
- libXext - libXext
- libXi - libXi
- libXi.i686
- libXinerama - libXinerama
- libXmu - libXmu
- libXrandr - libXrandr
- libXrender - libXrender
- libXt - libXt
- libXtst - libXtst
- libXtst.i686
- libXv - libXv
- libXxf86dga - libXxf86dga
- libXxf86misc - libXxf86misc
@@ -62,6 +70,7 @@
- lm_sensors-libs - lm_sensors-libs
- make - make
- mlocate - mlocate
- nscd
- net-snmp - net-snmp
- net-tools - net-tools
- nfs-utils - nfs-utils