bugfix: role common: /etc/bash_completion.d not found

master
Sven Ketelsen 4 years ago
parent 73d1b976f1
commit 76ae6eb25a

@ -31,7 +31,7 @@
- kube_install - kube_install
- name: "Download awx {{ awx_operator_version }} to kubernetes template for {{ inventory_hostname }}" - name: "Download awx {{ awx_operator_version }} to kubernetes template for {{ inventory_hostname }}"
get_url: ansible.builtin.get_url:
url: "{{ awx_operator_url }}" url: "{{ awx_operator_url }}"
dest: /tmp/awx-operator.yaml dest: /tmp/awx-operator.yaml
mode: '0664' mode: '0664'

@ -119,8 +119,15 @@
tags: tags:
- install - install
- name: 'Ensures </etc/bash_completion.d> directory exists'
file:
state: directory
path: '/etc/bash_completion.d'
tags:
- install
- name: "Download docker bash completion" - name: "Download docker bash completion"
get_url: ansible.builtin.get_url:
url: https://raw.githubusercontent.com/docker/cli/v20.10.6/contrib/completion/bash/docker url: https://raw.githubusercontent.com/docker/cli/v20.10.6/contrib/completion/bash/docker
dest: /etc/bash_completion.d/docker dest: /etc/bash_completion.d/docker
mode: '644' mode: '644'
@ -129,7 +136,7 @@
- install - install
- name: "Download docker-compose bash completion" - name: "Download docker-compose bash completion"
get_url: ansible.builtin.get_url:
url: "https://raw.githubusercontent.com/docker/compose/{{ docker_compose_version }}/contrib/completion/bash/docker-compose" url: "https://raw.githubusercontent.com/docker/compose/{{ docker_compose_version }}/contrib/completion/bash/docker-compose"
dest: "/etc/bash_completion.d/docker-compose" dest: "/etc/bash_completion.d/docker-compose"
mode: '644' mode: '644'

@ -55,7 +55,7 @@
- update_config - update_config
- name: Download harbor offline installer - name: Download harbor offline installer
get_url: ansible.builtin.get_url:
url: https://github.com/goharbor/harbor/releases/download/{{ harbor_version }}/harbor-offline-installer-{{ harbor_version }}.tgz url: https://github.com/goharbor/harbor/releases/download/{{ harbor_version }}/harbor-offline-installer-{{ harbor_version }}.tgz
dest: "{{ service_base_path }}/{{ inventory_hostname }}/harbor-offline-installer-{{ harbor_version }}.tgz" dest: "{{ service_base_path }}/{{ inventory_hostname }}/harbor-offline-installer-{{ harbor_version }}.tgz"

Loading…
Cancel
Save