1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Make sure all files have trailing newline (#5076)

* Make sure all files have trailing newline.

* Adjust tests.
This commit is contained in:
Felix Fontein 2022-08-05 21:08:41 +02:00 committed by GitHub
parent 79b201ae49
commit fa6c009ff0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
195 changed files with 236 additions and 173 deletions

2
.gitignore vendored
View file

@ -505,4 +505,4 @@ $RECYCLE.BIN/
# Windows shortcuts
*.lnk
# End of https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks
# End of https://www.toptal.com/developers/gitignore/api/vim,git,macos,linux,pydev,emacs,dotenv,python,windows,webstorm,pycharm+all,jupyternotebooks

View file

@ -1,2 +1,2 @@
bugfixes:
- xcc_redfish_command - for compatibility due to Redfish spec changes the virtualMedia resource location changed from Manager to System (https://github.com/ansible-collections/community.general/pull/4682).
- xcc_redfish_command - for compatibility due to Redfish spec changes the virtualMedia resource location changed from Manager to System (https://github.com/ansible-collections/community.general/pull/4682).

View file

@ -1,2 +1,2 @@
bugfixes:
- "keycloak_realm - fix default groups and roles (https://github.com/ansible-collections/community.general/issues/4241)."
- "keycloak_realm - fix default groups and roles (https://github.com/ansible-collections/community.general/issues/4241)."

View file

@ -1,2 +1,2 @@
minor_changes:
- nmcli - adds ``vpn`` type and parameter for supporting VPN with service type L2TP and PPTP (https://github.com/ansible-collections/community.general/pull/4746).
- nmcli - adds ``vpn`` type and parameter for supporting VPN with service type L2TP and PPTP (https://github.com/ansible-collections/community.general/pull/4746).

View file

@ -1,3 +1,3 @@
---
bugfixes:
- dsv lookup plugin - do not ignore the ``tld`` parameter (https://github.com/ansible-collections/community.general/pull/4911).
- dsv lookup plugin - do not ignore the ``tld`` parameter (https://github.com/ansible-collections/community.general/pull/4911).

View file

@ -1,2 +1,2 @@
bugfixes:
- slack - fix incorrect channel prefix ``#`` caused by incomplete pattern detection by adding ``G0`` and ``GF`` as channel ID patterns (https://github.com/ansible-collections/community.general/pull/5019).
- slack - fix incorrect channel prefix ``#`` caused by incomplete pattern detection by adding ``G0`` and ``GF`` as channel ID patterns (https://github.com/ansible-collections/community.general/pull/5019).

View file

@ -1,2 +1,2 @@
minor_changes:
- lastpass - use config manager for handling plugin options (https://github.com/ansible-collections/community.general/pull/5022).
- lastpass - use config manager for handling plugin options (https://github.com/ansible-collections/community.general/pull/5022).

View file

@ -1,2 +1,2 @@
minor_changes:
- keycloak_* modules - add ``http_agent`` parameter with default value ``Ansible`` (https://github.com/ansible-collections/community.general/issues/5023).
- keycloak_* modules - add ``http_agent`` parameter with default value ``Ansible`` (https://github.com/ansible-collections/community.general/issues/5023).

View file

@ -1 +1 @@
bar.txt
bar.txt

View file

@ -1,2 +1,2 @@
[http]
proxy = foo
proxy = foo

View file

@ -12,4 +12,4 @@
shell: "git --version | grep 'git version' | sed 's/git version //'"
register: git_version
ignore_errors: yes
...
...

View file

@ -7,4 +7,4 @@ git_version_supporting_includes: 1.7.10
option_name: http.proxy
option_value: 'foo'
option_scope: global
...
...

View file

@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
gitlab_branch: ansible_test_branch
gitlab_project_name: ansible_test_project
gitlab_project_name: ansible_test_project

View file

@ -2,4 +2,4 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
unsupported
unsupported

View file

@ -700,4 +700,3 @@
that:
- gitlab_group_variable_state.changed
- gitlab_group_variable_state.group_variable.removed|length == 1

View file

@ -2,4 +2,4 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
unsupported
unsupported

View file

@ -3,4 +3,4 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
cask: brooklyn
cask: brooklyn

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -1,3 +1,3 @@
blacklist aaaa
blacklist bbbb
blacklist cccc
blacklist cccc

View file

@ -44,7 +44,7 @@
- orig_stat.stat.size == stat_test_1.stat.size
- orig_stat.stat.checksum == stat_test_1.stat.checksum
- orig_stat.stat.mtime == stat_test_1.stat.mtime
- stat_test_1.stat.checksum == 'blacklist aaaa\nblacklist bbbb\nblacklist cccc'|checksum
- stat_test_1.stat.checksum == 'blacklist aaaa\nblacklist bbbb\nblacklist cccc\n' | checksum
- name: add new item to list
community.general.kernel_blacklist:

View file

@ -96,4 +96,4 @@
- name: Assert that the password no longer exists
ansible.builtin.assert:
that:
- test_del_password.passphrase is not defined
- test_del_password.passphrase is not defined

View file

@ -8,4 +8,4 @@
- include_tasks: "{{ item }}"
with_fileglob:
- 'tests/*.yml'
when: ansible_os_family in ['Ubuntu', 'Debian']
when: ansible_os_family in ['Ubuntu', 'Debian']

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -7,4 +7,4 @@
tasks:
- name: Install Petname Python package
pip:
name: petname
name: petname

View file

@ -3,4 +3,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
needs/root
unsupported
unsupported

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -6,4 +6,4 @@ skip/osx
skip/macos
skip/freebsd
skip/rhel
disabled
disabled

View file

@ -6,4 +6,4 @@
mssql_host: localhost
mssql_port: 14330
mssql_login_user: sa
mssql_login_password: "yourStrong(!)Password"
mssql_login_password: "yourStrong(!)Password"

View file

@ -221,4 +221,3 @@
- empty_result.query_results[0][1] | length == 0
- empty_result.query_results[0][2][0][0] == 'msdb'
failed_when: false # known issue

View file

@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies:
- setup_opennebula
- setup_opennebula

View file

@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
dependencies:
- setup_opennebula
- setup_opennebula

View file

@ -22,4 +22,4 @@
access_token: "{{ pd_api_access_token }}"
pd_user: "{{ fullname }}"
pd_email: "{{ email }}"
state: "absent"
state: "absent"

View file

@ -7,4 +7,4 @@ pd_api_access_token: your_api_access_token
fullname: User Name
email: user@email.com
pd_role: observer
pd_teams: team1
pd_teams: team1

View file

@ -203,4 +203,4 @@
- assert:
that:
- server_destroy_task is success
- server_destroy_task is changed
- server_destroy_task is changed

View file

@ -3,4 +3,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later
cloud/scaleway
unsupported
unsupported

View file

@ -6,4 +6,4 @@
scaleway_name: scaleway_database_backup_test
scaleway_region: fr-par
scaleway_database_name: scaleway_database_test
scaleway_instance_id:
scaleway_instance_id:

View file

@ -131,4 +131,4 @@
assert:
that:
- security_group_deletion is success
- security_group_deletion is not changed
- security_group_deletion is not changed

View file

@ -244,4 +244,4 @@
stateful: true
inbound_default_policy: accept
outbound_default_policy: accept
organization_default: false
organization_default: false

View file

@ -1,4 +1,4 @@
---
# Copyright (c) Ansible Project
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# SPDX-License-Identifier: GPL-3.0-or-later

View file

@ -3,4 +3,4 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
etcd3_pip_module: etcd3<0.12
etcd3_pip_module: etcd3<0.12

View file

@ -3,4 +3,4 @@
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
# SPDX-License-Identifier: GPL-3.0-or-later
# default should don't touch anything
# default should don't touch anything

View file

@ -19,4 +19,4 @@ cn: LDAP Test
gecos: LDAP Test
displayName: LDAP Test
mail: ldap.test@example.com
sn: Test
sn: Test

View file

@ -1,4 +1,4 @@
dn: olcDatabase={0}config,cn=config
changetype: modify
replace: olcRootPW
olcRootPW: "Test1234!"
olcRootPW: "Test1234!"

View file

@ -6,4 +6,4 @@
opennebula_test:
hosts:
- hv1
- hv2
- hv2

View file

@ -338,4 +338,4 @@
- name: Restore /boot/loader.conf
copy:
content: "{{ cached_boot_loaderconf_content }}"
dest: /boot/loader.conf
dest: /boot/loader.conf

View file

@ -1,4 +1,4 @@
**/.terraform/*
*.tfstate
*.tfstate.*
.terraform.lock.hcl
.terraform.lock.hcl

View file

@ -8,4 +8,4 @@ skip/aix
skip/osx
skip/macos
skip/freebsd
skip/python2
skip/python2

View file

@ -70,4 +70,4 @@
tf_provider: "{{ terraform_provider_versions[provider_index] }}"
loop: "{{ terraform_provider_versions }}"
loop_control:
index_var: provider_index
index_var: provider_index

View file

@ -23,4 +23,4 @@
register: terraform_init_result
- assert:
that: terraform_init_result is not failed
that: terraform_init_result is not failed

View file

@ -5,4 +5,4 @@ terraform {
version = "{{ tf_provider['version'] }}"
}
}
}
}

View file

@ -11,4 +11,4 @@
- name: Create file
file:
path: "{{ test_file }}"
state: touch
state: touch

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -10,4 +10,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -10,4 +10,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -8,4 +8,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -8,4 +8,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -8,4 +8,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address></address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
<rating>пять</rating></business>
<rating>пять</rating></business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
<rating>5</rating></business>
<rating>5</rating></business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -11,4 +11,4 @@
<mobilefriendly/>
<address>http://tastybeverageco.com</address>
</website>
</business>
</business>

View file

@ -17,6 +17,9 @@
- beer: Окское
register: add_children_elements_unicode
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-elements-unicode.xml

View file

@ -17,6 +17,9 @@
- beer: Old Rasputin
register: add_children_elements
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-elements.xml

View file

@ -16,6 +16,9 @@
add_children: '{{ bad_beers }}'
register: add_children_from_groupvars
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-from-groupvars.xml

View file

@ -19,6 +19,9 @@
type: экстра
register: add_children_with_attributes_unicode
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-with-attributes-unicode.xml

View file

@ -19,6 +19,9 @@
type: light
register: add_children_with_attributes
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-with-attributes.xml

View file

@ -20,6 +20,9 @@
- beer: Old Rasputin
register: add_namespaced_children_elements
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-namespaced-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-namespaced-children-elements.xml

View file

@ -18,6 +18,9 @@
- '<beer>Old Rasputin</beer>'
register: children_elements
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-add-children-elements.xml

View file

@ -16,6 +16,9 @@
state: absent
register: remove_attribute
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-remove-attribute.xml

View file

@ -16,6 +16,9 @@
state: absent
register: remove_element
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-remove-element.xml

View file

@ -21,6 +21,9 @@
state: absent
register: remove_namespaced_attribute
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-namespaced-beers.xml
- name: Compare to expected result
copy:
src: results/test-remove-namespaced-attribute.xml

View file

@ -21,6 +21,9 @@
state: absent
register: remove_namespaced_element
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-namespaced-beers.xml
- name: Compare to expected result
copy:
src: results/test-remove-element.xml

View file

@ -17,6 +17,9 @@
value: нет
register: set_attribute_value_unicode
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-attribute-value-unicode.xml

View file

@ -17,6 +17,9 @@
value: 'false'
register: set_attribute_value
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-attribute-value.xml

View file

@ -40,6 +40,9 @@
quantity: 20g
register: set_children_elements_level
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-children-elements-level.xml

View file

@ -18,6 +18,9 @@
- beer: Невское
register: set_children_elements_unicode
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-children-elements-unicode.xml

View file

@ -18,6 +18,9 @@
- beer: Harvest Pumpkin Ale
register: set_children_elements
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-children-elements.xml

View file

@ -16,6 +16,9 @@
value: ''
register: set_element_value_empty
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-element-value-empty.xml

View file

@ -30,6 +30,9 @@
value: пять
register: set_element_second_run
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-element-value-unicode.xml

View file

@ -30,6 +30,9 @@
value: '5'
register: set_element_second_run
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-element-value.xml

View file

@ -22,6 +22,9 @@
value: 'false'
register: set_namespaced_attribute_value
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-namespaced-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-namespaced-attribute-value.xml

View file

@ -33,6 +33,9 @@
value: '11'
register: set_element_second_run
- name: Add trailing newline
shell: echo "" >> /tmp/ansible-xml-namespaced-beers.xml
- name: Compare to expected result
copy:
src: results/test-set-namespaced-element-value.xml

View file

@ -6,4 +6,4 @@
"iconv-lite": "^0.4.21",
"@types/node": "^12.0.0"
}
}
}

Some files were not shown because too many files have changed in this diff Show more