assert f.user == 'root'
     assert f.group == 'root'
     assert host.run('cmctl').rc == 0
-
-
-def test_bash_completion(host):
-    assert host.package("bash-completion").is_installed
-
-
-def test_bash_completion_cmctl(host):
-    f = host.file('/etc/bash_completion.d/cmctl')
-    assert f.exists
 
       - 'cmctl'
     remote_src: true
     mode: 0755
-
-- name: Install completion for the bash shell
-  package:
-    name: "{{ completion_package }}"
-    state: present
-
-- name: Generate shell autocompletion code for cmctl
-  command: cmctl completion bash
-  register: cmctl_completion
-  changed_when: false
-
-- name: Ensure bash completion dir exists
-  file:
-    path: "{{ completion_dir }}"
-    state: directory
-    mode: 0755
-
-- name: Install bash autocompletion code for cmctl
-  copy:
-    content: "{{ cmctl_completion.stdout }}"
-    dest: "{{ completion_dir }}/cmctl"
-    mode: 0644