File tree Expand file tree Collapse file tree 1 file changed +20
-0
lines changed
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks Expand file tree Collapse file tree 1 file changed +20
-0
lines changed Original file line number Diff line number Diff line change 718
718
name : " nullmailer"
719
719
state : " stopped"
720
720
when : not ansible_is_chroot
721
+
722
+ #
723
+ # Add the correct path to /etc/security/pam_env.conf and remove any invalid
724
+ # paths from /etc/environment to ensure that non-existent paths are not
725
+ # included in the global PATH.
726
+ #
727
+ - lineinfile :
728
+ path : /etc/security/pam_env.conf
729
+ state : present
730
+ regexp : ' ^\s*PATH\s+DEFAULT='
731
+ line : ' PATH DEFAULT=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin'
732
+
733
+ #
734
+ # MIN_UPGRADE_VERSION(28.0.0.0)
735
+ # This can be removed once the minimum upgrade version is 28.0.0.0.
736
+ #
737
+ - lineinfile :
738
+ path : /etc/environment
739
+ state : absent
740
+ regexp : ' ^\s*PATH\s*='
You can’t perform that action at this time.
0 commit comments