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
# 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
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
# ---------------------------------------------------

View File

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

View File

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