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:
parent
79b201ae49
commit
fa6c009ff0
195 changed files with 236 additions and 173 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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)."
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -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).
|
||||
|
|
|
@ -1 +1 @@
|
|||
bar.txt
|
||||
bar.txt
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
[http]
|
||||
proxy = foo
|
||||
proxy = foo
|
||||
|
|
|
@ -12,4 +12,4 @@
|
|||
shell: "git --version | grep 'git version' | sed 's/git version //'"
|
||||
register: git_version
|
||||
ignore_errors: yes
|
||||
...
|
||||
...
|
||||
|
|
|
@ -7,4 +7,4 @@ git_version_supporting_includes: 1.7.10
|
|||
option_name: http.proxy
|
||||
option_value: 'foo'
|
||||
option_scope: global
|
||||
...
|
||||
...
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -700,4 +700,3 @@
|
|||
that:
|
||||
- gitlab_group_variable_state.changed
|
||||
- gitlab_group_variable_state.group_variable.removed|length == 1
|
||||
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -1,3 +1,3 @@
|
|||
blacklist aaaa
|
||||
blacklist bbbb
|
||||
blacklist cccc
|
||||
blacklist cccc
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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']
|
||||
|
|
|
@ -37,4 +37,4 @@
|
|||
}
|
||||
],
|
||||
"format": 1
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,4 +27,4 @@
|
|||
"format": 1
|
||||
},
|
||||
"format": 1
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -7,4 +7,4 @@
|
|||
tasks:
|
||||
- name: Install Petname Python package
|
||||
pip:
|
||||
name: petname
|
||||
name: petname
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
needs/root
|
||||
unsupported
|
||||
unsupported
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -6,4 +6,4 @@ skip/osx
|
|||
skip/macos
|
||||
skip/freebsd
|
||||
skip/rhel
|
||||
disabled
|
||||
disabled
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
mssql_host: localhost
|
||||
mssql_port: 14330
|
||||
mssql_login_user: sa
|
||||
mssql_login_password: "yourStrong(!)Password"
|
||||
mssql_login_password: "yourStrong(!)Password"
|
||||
|
|
|
@ -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
|
||||
|
|
@ -4,4 +4,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
dependencies:
|
||||
- setup_opennebula
|
||||
- setup_opennebula
|
||||
|
|
|
@ -4,4 +4,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
dependencies:
|
||||
- setup_opennebula
|
||||
- setup_opennebula
|
||||
|
|
|
@ -22,4 +22,4 @@
|
|||
access_token: "{{ pd_api_access_token }}"
|
||||
pd_user: "{{ fullname }}"
|
||||
pd_email: "{{ email }}"
|
||||
state: "absent"
|
||||
state: "absent"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -203,4 +203,4 @@
|
|||
- assert:
|
||||
that:
|
||||
- server_destroy_task is success
|
||||
- server_destroy_task is changed
|
||||
- server_destroy_task is changed
|
||||
|
|
|
@ -3,4 +3,4 @@
|
|||
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||
|
||||
cloud/scaleway
|
||||
unsupported
|
||||
unsupported
|
||||
|
|
|
@ -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:
|
||||
|
|
|
@ -131,4 +131,4 @@
|
|||
assert:
|
||||
that:
|
||||
- security_group_deletion is success
|
||||
- security_group_deletion is not changed
|
||||
- security_group_deletion is not changed
|
||||
|
|
|
@ -244,4 +244,4 @@
|
|||
stateful: true
|
||||
inbound_default_policy: accept
|
||||
outbound_default_policy: accept
|
||||
organization_default: false
|
||||
organization_default: false
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -19,4 +19,4 @@ cn: LDAP Test
|
|||
gecos: LDAP Test
|
||||
displayName: LDAP Test
|
||||
mail: ldap.test@example.com
|
||||
sn: Test
|
||||
sn: Test
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
dn: olcDatabase={0}config,cn=config
|
||||
changetype: modify
|
||||
replace: olcRootPW
|
||||
olcRootPW: "Test1234!"
|
||||
olcRootPW: "Test1234!"
|
||||
|
|
|
@ -6,4 +6,4 @@
|
|||
opennebula_test:
|
||||
hosts:
|
||||
- hv1
|
||||
- hv2
|
||||
- hv2
|
||||
|
|
|
@ -338,4 +338,4 @@
|
|||
- name: Restore /boot/loader.conf
|
||||
copy:
|
||||
content: "{{ cached_boot_loaderconf_content }}"
|
||||
dest: /boot/loader.conf
|
||||
dest: /boot/loader.conf
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
**/.terraform/*
|
||||
*.tfstate
|
||||
*.tfstate.*
|
||||
.terraform.lock.hcl
|
||||
.terraform.lock.hcl
|
||||
|
|
|
@ -8,4 +8,4 @@ skip/aix
|
|||
skip/osx
|
||||
skip/macos
|
||||
skip/freebsd
|
||||
skip/python2
|
||||
skip/python2
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
register: terraform_init_result
|
||||
|
||||
- assert:
|
||||
that: terraform_init_result is not failed
|
||||
that: terraform_init_result is not failed
|
||||
|
|
|
@ -5,4 +5,4 @@ terraform {
|
|||
version = "{{ tf_provider['version'] }}"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
- name: Create file
|
||||
file:
|
||||
path: "{{ test_file }}"
|
||||
state: touch
|
||||
state: touch
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -10,4 +10,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -8,4 +8,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address></address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
<rating>пять</rating></business>
|
||||
<rating>пять</rating></business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
<rating>5</rating></business>
|
||||
<rating>5</rating></business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -11,4 +11,4 @@
|
|||
<mobilefriendly/>
|
||||
<address>http://tastybeverageco.com</address>
|
||||
</website>
|
||||
</business>
|
||||
</business>
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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
Loading…
Reference in a new issue