Skip to content
This repository has been archived by the owner on Mar 30, 2021. It is now read-only.

Commit

Permalink
Address nit yamllint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
msheiny committed Nov 22, 2017
1 parent 7d238fa commit 70ae2e6
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 27 deletions.
10 changes: 5 additions & 5 deletions tasks/fetch_linux_kernel_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@

- name: Fetch Linux kernel tarball.
get_url:
url: "{{ linux_tarball_xz_url }}"
dest: "{{ grsecurity_build_download_directory }}/{{ linux_tarball_xz_filename }}"
sha256sum: "{{ linux_tarball_checksum.stdout }}"
url: "{{ linux_tarball_xz_url }}"
dest: "{{ grsecurity_build_download_directory }}/{{ linux_tarball_xz_filename }}"
sha256sum: "{{ linux_tarball_checksum.stdout }}"

- name: Fetch Linux kernel tarball signature file.
get_url:
url: "{{ linux_tarball_signature_url }}"
dest: "{{ grsecurity_build_download_directory }}/"
url: "{{ linux_tarball_signature_url }}"
dest: "{{ grsecurity_build_download_directory }}/"
4 changes: 2 additions & 2 deletions tasks/main-unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
repo: deb http://http.debian.net/debian/ stretch-backports main
state: present

# Install packages before fetching dynamic URLs, since python-requests
# is required by the URL-fetching Ansible module.
# Install packages before fetching dynamic URLs, since python-requests
# is required by the URL-fetching Ansible module.
- include: packages.yml
tags: apt

Expand Down
4 changes: 2 additions & 2 deletions tasks/prepare_source_directory-unofficial.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@
args:
chdir: "{{ grsecurity_build_linux_source_directory }}"

# Bail out for interactive compilation. Override interactive mode
# by setting `grsecurity_build_strategy`
# Bail out for interactive compilation. Override interactive mode
# by setting `grsecurity_build_strategy`
- name: Advise on next steps for manually compiling kernel.
debug:
msg: >
Expand Down
20 changes: 10 additions & 10 deletions tasks/prepare_source_directory.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,21 +17,21 @@
basedir: "{{ grsecurity_build_linux_source_directory }}"
strip: 1

# Using `make-kpkg` wrapper script rather than core `make`
# for convenience. The `clean` target runs both:
# make clean
# make distclean
# but does NOT run `make mrproper`, which would destroy the .config
# file. See here for details:
# http://askubuntu.com/questions/596120/cant-build-ubuntu-kernel-why-does-make-mrproper-get-rid-of-debian-directory
# https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
# Using `make-kpkg` wrapper script rather than core `make`
# for convenience. The `clean` target runs both:
# make clean
# make distclean
# but does NOT run `make mrproper`, which would destroy the .config
# file. See here for details:
# http://askubuntu.com/questions/596120/cant-build-ubuntu-kernel-why-does-make-mrproper-get-rid-of-debian-directory
# https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel
- name: Clean kernel source tree.
command: make-kpkg clean
args:
chdir: "{{ grsecurity_build_linux_source_directory }}"

# Bail out for interactive compilation. Override interactive mode
# by setting `grsecurity_build_strategy`
# Bail out for interactive compilation. Override interactive mode
# by setting `grsecurity_build_strategy`
- name: Advise on next steps for manually compiling kernel.
debug:
msg: >
Expand Down
16 changes: 8 additions & 8 deletions tasks/verify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
args:
creates: "{{ grsecurity_build_download_directory }}/{{ linux_tarball_filename }}"

# From the gpg manpage for the --verify option:
#
# With more than 1 argument, the first should be a detached signature
# and the remaining files ake [sic] up the the signed data.
#
# Therefore we must provide two arguments to the gpg command to ensure verification,
# the first being the detached signature file and the second being the file whose
# integrity we wish to verify.
# From the gpg manpage for the --verify option:
#
# With more than 1 argument, the first should be a detached signature
# and the remaining files ake [sic] up the the signed data.
#
# Therefore we must provide two arguments to the gpg command to ensure verification,
# the first being the detached signature file and the second being the file whose
# integrity we wish to verify.
- name: Verify Linux tarball GPG signature.
command: >
gpg --verify
Expand Down

0 comments on commit 70ae2e6

Please sign in to comment.