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 3156b5f commit 3980f5fCopy full SHA for 3980f5f
files/common/var/lib/delphix-platform/ansible/10-delphix-platform/roles/delphix-platform/tasks/main.yml
@@ -698,3 +698,19 @@
698
when:
699
- variant == "internal-buildserver"
700
- not ansible_is_chroot
701
+
702
+- name: Add systemctl bash completion
703
+ copy:
704
+ dest: "/etc/bash_completion.d/systemctl"
705
+ content: |
706
+ if [[ -r /usr/share/bash-completion/completions/systemctl ]]; then
707
+ . /usr/share/bash-completion/completions/systemctl && complete -F _systemctl systemctl
708
+ fi
709
710
+- name: Source bash completion
711
+ blockinfile:
712
+ dest: "/export/home/delphix/.bashrc"
713
+ block: |
714
+ . /etc/bash_completion.d/systemctl
715
+ . /etc/bash_completion.d/zfs
716
+ PATH=$PATH:/opt/delphix/server/bin
0 commit comments