mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
Fix cosmetic problems in YAML source
This change corrects problems reported by the `yamllint` linter.
Since key duplication problems were removed in 4d48711, this commit
mainly fixes trailing spaces and extra empty lines at beginning/end of
files.
This commit is contained in:
@@ -38,4 +38,3 @@
|
||||
ec2_vars: "{{ ec2.results[item.0]['instances'][0] }}"
|
||||
ec2_instance_ids: "{{ ec2.results[item.0]['instance_ids'] }}"
|
||||
with_indexed_items: slaves
|
||||
|
||||
|
||||
@@ -20,4 +20,3 @@ galaxy_info:
|
||||
- ansible
|
||||
- dependencies
|
||||
dependencies: []
|
||||
|
||||
|
||||
@@ -98,5 +98,3 @@
|
||||
sudo: true
|
||||
lineinfile: "dest=/etc/sudoers regexp='^Defaults[ , ]*requiretty' line='#Defaults requiretty'"
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
|
||||
|
||||
@@ -26,4 +26,3 @@
|
||||
dest: "{{ git_dir }}"
|
||||
- name: Invoke ansible in hacking mode
|
||||
shell: "cd {{ git_dir }} && . hacking/env-setup && ansible --version && ansible-playbook --version"
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
- name: Sync ansible repo to ec2 instance
|
||||
synchronize:
|
||||
synchronize:
|
||||
src: "{{ sync_dir }}/"
|
||||
dest: "~/ansible"
|
||||
no_log: true
|
||||
|
||||
Reference in New Issue
Block a user