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 # Windows shortcuts
*.lnk *.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: 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: 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: 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: 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: 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: 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: 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] [http]
proxy = foo proxy = foo

View file

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

View file

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

View file

@ -4,4 +4,4 @@
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
gitlab_branch: ansible_test_branch 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) # 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
unsupported unsupported

View file

@ -700,4 +700,3 @@
that: that:
- gitlab_group_variable_state.changed - gitlab_group_variable_state.changed
- gitlab_group_variable_state.group_variable.removed|length == 1 - 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) # 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
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) # 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
cask: brooklyn cask: brooklyn

View file

@ -1,4 +1,4 @@
--- ---
# Copyright (c) Ansible Project # 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) # 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 aaaa
blacklist bbbb blacklist bbbb
blacklist cccc blacklist cccc

View file

@ -44,7 +44,7 @@
- orig_stat.stat.size == stat_test_1.stat.size - orig_stat.stat.size == stat_test_1.stat.size
- orig_stat.stat.checksum == stat_test_1.stat.checksum - orig_stat.stat.checksum == stat_test_1.stat.checksum
- orig_stat.stat.mtime == stat_test_1.stat.mtime - 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 - name: add new item to list
community.general.kernel_blacklist: community.general.kernel_blacklist:

View file

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

View file

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

View file

@ -27,4 +27,4 @@
"format": 1 "format": 1
}, },
"format": 1 "format": 1
} }

View file

@ -1,4 +1,4 @@
--- ---
# Copyright (c) Ansible Project # 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) # 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: tasks:
- name: Install Petname Python package - name: Install Petname Python package
pip: pip:
name: petname name: petname

View file

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

View file

@ -1,4 +1,4 @@
--- ---
# Copyright (c) Ansible Project # 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) # 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 # 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) # 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 # 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) # 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 # 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) # 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/macos
skip/freebsd skip/freebsd
skip/rhel skip/rhel
disabled disabled

View file

@ -6,4 +6,4 @@
mssql_host: localhost mssql_host: localhost
mssql_port: 14330 mssql_port: 14330
mssql_login_user: sa 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][1] | length == 0
- empty_result.query_results[0][2][0][0] == 'msdb' - empty_result.query_results[0][2][0][0] == 'msdb'
failed_when: false # known issue failed_when: false # known issue

View file

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

View file

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

View file

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

View file

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

View file

@ -203,4 +203,4 @@
- assert: - assert:
that: that:
- server_destroy_task is success - 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 # SPDX-License-Identifier: GPL-3.0-or-later
cloud/scaleway cloud/scaleway
unsupported unsupported

View file

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

View file

@ -131,4 +131,4 @@
assert: assert:
that: that:
- security_group_deletion is success - 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 stateful: true
inbound_default_policy: accept inbound_default_policy: accept
outbound_default_policy: accept outbound_default_policy: accept
organization_default: false organization_default: false

View file

@ -1,4 +1,4 @@
--- ---
# Copyright (c) Ansible Project # 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) # 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) # 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
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) # 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
# default should don't touch anything # default should don't touch anything

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -23,4 +23,4 @@
register: terraform_init_result register: terraform_init_result
- assert: - 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'] }}" version = "{{ tf_provider['version'] }}"
} }
} }
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

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