Skip to content

Commit

Permalink
Fix incorrect role_name and Ansible warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
tersmitten committed Jan 18, 2019
1 parent 1b60145 commit 49c5b33
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .ansible-lint
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
skip_list:
- '405'
- '601'
2 changes: 1 addition & 1 deletion meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# meta file for swapfile
---
galaxy_info:
role_name: ant
role_name: swapfile
author: Mischa ter Smitten
company: Oefenweb.nl B.V.
description: Manage a swap file in Debian-like systems
Expand Down
3 changes: 2 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
swapon {{ swapfile_file }}
args:
warn: false
when: _create_swapfile.changed
when: _create_swapfile is changed
tags:
- swapfile-enable-swapfile

Expand All @@ -64,6 +64,7 @@
tags:
- swapfile-fstab

# TODO: Changing this to `when: swapfile_size` seems to fail, find out why
when: swapfile_size != false
tags:
- configuration
Expand Down

0 comments on commit 49c5b33

Please sign in to comment.