File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1+ minor_changes :
2+ - add configuration variables for pam_limits to orahost (oravirt#317)
Original file line number Diff line number Diff line change @@ -119,6 +119,9 @@ configure_ssh: false # (true/false). Should passwordless
119119# mountpoints are described in host_fs_layout
120120configure_host_disks : false
121121
122+ configure_limits_pam : true # entry in /etc/pam.d/limits
123+ configure_limits : true # /etc/security.d/limits.d/99-oracle-limits.conf file
124+
122125configure_etc_hosts : false
123126configure_cluster : false
124127oracle_stage : /u01/stage
Original file line number Diff line number Diff line change 463463 state : present
464464 line : " session required pam_limits.so"
465465 tags : pamconfig
466+ when : configure_limits_pam and configure_limits
466467
467468- name : Oracle-recommended security limits
468469 ansible.builtin.template :
469470 src : oracle-seclimits.conf.j2
470471 dest : /etc/security/limits.d/99-oracle-limits.conf
471472 backup : true
472473 mode : " 0644"
473- when : ansible_os_family == 'RedHat'
474+ when : configure_limits and ansible_os_family == 'RedHat'
474475 tags : seclimit
475476
476477- name : Oracle-recommended security limits on SLES
You can’t perform that action at this time.
0 commit comments