mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-08 21:34:25 +00:00
fix(ansible): follow linting suggestions
This commit is contained in:
@@ -3,5 +3,6 @@
|
||||
|
||||
offline: true
|
||||
warn_list:
|
||||
- 'role-name[path]'
|
||||
- 'name[template]' # Jinja templates should only be at the end of 'name' -- oh come on!
|
||||
- 'role-name[path]' # Avoid using paths when importing roles -- yeah, need for testing
|
||||
- package-latest
|
||||
|
||||
@@ -1,2 +1,3 @@
|
||||
ansible/playbooks/keybase.register-device.yml no-changed-when
|
||||
examples/ansible/aws_ec2.yml yaml[comments-indentation]
|
||||
ansible/playbooks/keybase.register-device.yml no-changed-when
|
||||
examples/ansible/aws_ec2.yml yaml[comments-indentation]
|
||||
examples/ansible/ec2.clone-instance.yml args[module]
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
amazon.aws.ec2_instance_info:
|
||||
filters:
|
||||
"tag:Name": "{{ original_instance_name_tag }}"
|
||||
"instance-state-name": [ "running" ]
|
||||
"instance-state-name": ["running"]
|
||||
register: original_instance_information
|
||||
- name: Check a running instance with Name tag '{{ original_instance_name_tag }}' has been found
|
||||
tags:
|
||||
|
||||
@@ -424,7 +424,7 @@
|
||||
amazon.aws.ec2_instance_info:
|
||||
filters:
|
||||
"tag:Application": K8S
|
||||
"instance-state-name": [ "running" ]
|
||||
"instance-state-name": ["running"]
|
||||
- name: Clone EC2 instances
|
||||
vars:
|
||||
source_instance_id: i-0123456789abcdef0
|
||||
|
||||
Reference in New Issue
Block a user