Skip to content

Commit

Permalink
Fixed a few syntax mistakes.
Browse files Browse the repository at this point in the history
  • Loading branch information
Frzk committed Dec 4, 2018
1 parent 210b4ae commit 21c8b10
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
7 changes: 4 additions & 3 deletions meta/main.yml
Expand Up @@ -2,10 +2,10 @@
galaxy_info:
author: François KUBLER
description: Install and manage nftables.
company: /kblr
company: kblr
license: Apache-2.0
issue_tracker_url: https://github.com/Frzk/ansible-role-nftables/issues
min_ansible_version : 2.4.2.0
min_ansible_version: 2.4.2.0
platforms:
- name: Archlinux
versions:
Expand All @@ -15,7 +15,8 @@ galaxy_info:
- 7
- name: Debian
versions:
- 9
- buster
- sid
- name: Ubuntu
versions:
- bionic
Expand Down
3 changes: 2 additions & 1 deletion tasks/main.yml
Expand Up @@ -30,7 +30,8 @@
state: stopped
enabled: no
register: disable_service_result
failed_when: disable_service_result is failed and ('Could not find the requested service' not in disable_service_result.msg)
failed_when: (disable_service_result is failed)
and ('Could not find the requested service' not in disable_service_result.msg)
with_items:
- iptables

Expand Down

0 comments on commit 21c8b10

Please sign in to comment.