Add noqa and disable .ansible-lint global exclusions (#6410)

This commit is contained in:
Maxime Guyot
2020-07-27 15:24:17 +02:00
committed by GitHub
parent b680cdd0e4
commit e70f27dd79
74 changed files with 163 additions and 170 deletions

View File

@@ -34,7 +34,7 @@
when:
- item.value.converted|bool
- name: Resize images
- name: Resize images # noqa 301
command: qemu-img resize {{ images_dir }}/{{ item.key }}.qcow2 +8G
with_dict:
- "{{ images }}"
@@ -45,15 +45,15 @@
src: Dockerfile
dest: "{{ images_dir }}/Dockerfile"
- name: Create docker images for each OS
- name: Create docker images for each OS # noqa 301
command: docker build -t {{ registry }}/vm-{{ item.key }} --build-arg cloud_image="{{ item.key }}.qcow2" {{ images_dir }}
with_dict:
- "{{ images }}"
- name: docker login
- name: docker login # noqa 301
command: docker login -u="{{ docker_user }}" -p="{{ docker_password }}" "{{ docker_host }}"
- name: docker push image
- name: docker push image # noqa 301
command: docker push {{ registry }}/vm-{{ item.key }}:latest
with_dict:
- "{{ images }}"