aboutsummaryrefslogtreecommitdiffstats
path: root/cli/functest-complete.sh
blob: f014907136fc54e3b1c2afdb5b08b20c0f8a9948 (plain)
1
2
3
4
5
6
7
8
_functest_completion() {
    COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   _FUNCTEST_COMPLETE=complete $1 ) )
    return 0
}

complete -F _functest_completion -o default functest;
~ environment: "{{ openrc }}" - debug: var: openstack_images - set_fact: images_to_clean: "{{ openstack_images|map(attribute='name')|select('search', 'yardstick|cirros|Ubuntu-14\\.04')|list }}" - debug: var: images_to_clean - name: Cleanup images os_image: state: absent name: "{{ item }}" with_items: "{{ images_to_clean }}" environment: "{{ openrc }}"