A few linting issue less.

This commit is contained in:
Robert de Bock 2020-08-28 13:44:16 +02:00
parent a366a21cb9
commit 64e9471eae
2 changed files with 7 additions and 3 deletions

View File

@ -116,7 +116,7 @@
- verify.stat.exists | bool - verify.stat.exists | bool
- name: load galaxy_id - name: load galaxy_id
shell: "ansible-galaxy info robertdebock.{{ role_name }} | grep ' id: ' | awk '{print $NF}'" shell: "set -o pipefail ; ansible-galaxy info robertdebock.{{ role_name }} | grep ' id: ' | awk '{print $NF}'"
register: galaxy_id register: galaxy_id
changed_when: no changed_when: no
@ -155,16 +155,19 @@
file: file:
path: "{{ role_path }}/.github" path: "{{ role_path }}/.github"
state: directory state: directory
mode: "0755"
- name: create .github/workflows directory - name: create .github/workflows directory
file: file:
path: "{{ role_path }}/.github/workflows" path: "{{ role_path }}/.github/workflows"
state: directory state: directory
mode: "0755"
- name: copy file - name: copy file
copy: copy:
src: "{{ playbook_dir }}/files/{{ item.source }}" src: "{{ playbook_dir }}/files/{{ item.source }}"
dest: "{{ role_path }}/{{ item.dest | default(item.source) }}" dest: "{{ role_path }}/{{ item.dest | default(item.source) }}"
mode: "0644"
with_items: with_items:
- source: bug_report.md - source: bug_report.md
dest: .github/ISSUE_TEMPLATE/bug_report.md dest: .github/ISSUE_TEMPLATE/bug_report.md
@ -183,6 +186,7 @@
template: template:
src: "{{ playbook_dir }}/templates/{{ item.source }}.j2" src: "{{ playbook_dir }}/templates/{{ item.source }}.j2"
dest: "{{ role_path }}/{{ item.dest | default (item.source) }}" dest: "{{ role_path }}/{{ item.dest | default (item.source) }}"
mode: "0644"
with_items: with_items:
- source: ansible-lint - source: ansible-lint
dest: .ansible-lint dest: .ansible-lint