We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85197a7 commit d8b496fCopy full SHA for d8b496f
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml
@@ -718,3 +718,12 @@
718
name: "nullmailer"
719
state: "stopped"
720
when: not ansible_is_chroot
721
+
722
+#
723
+# Ensure /snap/bin is removed from PATH in /etc/environment
724
725
+- lineinfile:
726
+ path: /etc/environment
727
+ regexp: '^PATH='
728
+ line: "{{ lookup('file', '/etc/environment') | regex_replace(':/snap/bin', '') }}"
729
+ when: "'/snap/bin' in lookup('file', '/etc/environment')"
0 commit comments