removed trailing whitespaces

This commit is contained in:
nd 2019-11-02 14:54:56 +01:00
parent 851d8a4277
commit cc12f451e7
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
2 changed files with 7 additions and 7 deletions

View file

@ -4,7 +4,7 @@
- name: include repositories (with updates) - name: include repositories (with updates)
include_tasks: include_tasks:
file: repo.yml file: repo.yml
apply: apply:
tags: tags:
- update - update
@ -13,6 +13,6 @@
- name: include repositories (without updates) - name: include repositories (without updates)
include_tasks: include_tasks:
file: repo.yml file: repo.yml
when: not item.value.update|d(true) when: not item.value.update|d(true)
with_dict: "{{ git }}" with_dict: "{{ git }}"

View file

@ -2,8 +2,8 @@
repo: "{{ (item.value)|combine(item.value, {'name': item.key}) }}" repo: "{{ (item.value)|combine(item.value, {'name': item.key}) }}"
- name: write deploy key - name: write deploy key
copy: copy:
content: "{{ repo.deploykey }}" content: "{{ repo.deploykey }}"
dest: "{{ repo.deploykeypath }}" dest: "{{ repo.deploykeypath }}"
mode: 0600 mode: 0600
owner: "{{ repo.user }}" owner: "{{ repo.user }}"
@ -17,12 +17,12 @@
- name: clone repositories - name: clone repositories
become_user: "{{ repo.user|d('root') }}" become_user: "{{ repo.user|d('root') }}"
become: true become: true
git: git:
depth: "{{ repo.depth|d(omit) }}" depth: "{{ repo.depth|d(omit) }}"
dest: "{{ repo.path }}" dest: "{{ repo.path }}"
repo: "{{ repo.url }}" repo: "{{ repo.url }}"
accept_hostkey: true accept_hostkey: true
update: true update: true
key_file: "{{ repo.deploykeypath|d(None) }}" key_file: "{{ repo.deploykeypath|d(None) }}"
version: "{{ repo.version|d('master') }}" version: "{{ repo.version|d('master') }}"
force: "{{ repo.force|d(false) }}" force: "{{ repo.force|d(false) }}"