From 04e3fb6a5a9e253e92a9fd78624e2559b60e4149 Mon Sep 17 00:00:00 2001 From: MarkusTeufelberger Date: Thu, 18 Apr 2019 10:42:10 +0200 Subject: [PATCH] Fix ansible-lint error 103 (#4511) --- .ansible-lint | 1 - tests/cloud_playbooks/create-aws.yml | 2 +- tests/cloud_playbooks/delete-aws.yml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.ansible-lint b/.ansible-lint index 91d8f45e5..7f1c3a16a 100644 --- a/.ansible-lint +++ b/.ansible-lint @@ -4,7 +4,6 @@ skip_list: # see https://docs.ansible.com/ansible-lint/rules/default_rules.html for a list of all default rules # The following rules throw errors. # These either still need to be corrected in the repository and the rules re-enabled or they are skipped on purpose. - - '103' - '104' - '201' - '204' diff --git a/tests/cloud_playbooks/create-aws.yml b/tests/cloud_playbooks/create-aws.yml index 0ff198405..d797a573b 100644 --- a/tests/cloud_playbooks/create-aws.yml +++ b/tests/cloud_playbooks/create-aws.yml @@ -1,6 +1,6 @@ --- - hosts: localhost - sudo: False + become: False gather_facts: False tasks: diff --git a/tests/cloud_playbooks/delete-aws.yml b/tests/cloud_playbooks/delete-aws.yml index 29e9a4b95..e1114b117 100644 --- a/tests/cloud_playbooks/delete-aws.yml +++ b/tests/cloud_playbooks/delete-aws.yml @@ -1,6 +1,6 @@ --- - hosts: kube-node - sudo: False + become: False tasks: - name: Gather EC2 facts