Fix line length for lint

Currently ansible-lint is complaining due to the line being >120 chars.

Change-Id: Ieab2cd4b303309603ef80bac932810b3a0d89115
This commit is contained in:
Alex Schultz 2019-01-07 07:18:40 -07:00
parent e4c06e6178
commit 08903c0bab
1 changed files with 4 additions and 1 deletions

View File

@ -37,7 +37,10 @@
line: "LABEL modified_append_tag={{ modified_append_tag }}"
- name: Modify image from {{ modify_dir_path }}
command: "{{ build_commands[container_build_tool] }} --tag {{ target_image | default(source_image) }}{{ modified_append_tag }} --file {{ dockerfile.path }} --network host ./"
command: |
{{ build_commands[container_build_tool] }} \
--tag {{ target_image | default(source_image) }}{{ modified_append_tag }} \
--file {{ dockerfile.path }} --network host ./
#FIXME: buildah should not required root commands to build an image
become: "{{ true if build_commands[container_build_tool] == 'buildah' else false }}"
args: