mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-03-07 03:31:20 -03:30
ansible-lint: Don't use the local_action module [E504] (#4666)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
e029a09345
commit
e814da1eec
@@ -7,11 +7,11 @@
|
||||
action: ec2_facts
|
||||
|
||||
- name: Terminate EC2 instances
|
||||
local_action:
|
||||
module: ec2
|
||||
ec2:
|
||||
aws_access_key: "{{ aws_access_key }}"
|
||||
aws_secret_key: "{{ aws_secret_key }}"
|
||||
state: absent
|
||||
instance_ids: "{{ ansible_ec2_instance_id }}"
|
||||
region: "{{ ansible_ec2_placement_region }}"
|
||||
wait: True
|
||||
delegate_to: localhost
|
||||
|
||||
Reference in New Issue
Block a user