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.
* Adjust tests.
(cherry picked from commit fa6c009ff0
)
This commit is contained in:
parent
45990b464e
commit
7933fe7ea3
188 changed files with 229 additions and 166 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -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
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
bar.txt
|
bar.txt
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
[http]
|
[http]
|
||||||
proxy = foo
|
proxy = foo
|
||||||
|
|
|
@ -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
|
||||||
...
|
...
|
||||||
|
|
|
@ -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
|
||||||
...
|
...
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
blacklist aaaa
|
blacklist aaaa
|
||||||
blacklist bbbb
|
blacklist bbbb
|
||||||
blacklist cccc
|
blacklist cccc
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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']
|
||||||
|
|
|
@ -37,4 +37,4 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"format": 1
|
"format": 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,4 +27,4 @@
|
||||||
"format": 1
|
"format": 1
|
||||||
},
|
},
|
||||||
"format": 1
|
"format": 1
|
||||||
}
|
}
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -7,4 +7,4 @@
|
||||||
tasks:
|
tasks:
|
||||||
- name: Install Petname Python package
|
- name: Install Petname Python package
|
||||||
pip:
|
pip:
|
||||||
name: petname
|
name: petname
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -6,4 +6,4 @@ skip/osx
|
||||||
skip/macos
|
skip/macos
|
||||||
skip/freebsd
|
skip/freebsd
|
||||||
skip/rhel
|
skip/rhel
|
||||||
disabled
|
disabled
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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!"
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
opennebula_test:
|
opennebula_test:
|
||||||
hosts:
|
hosts:
|
||||||
- hv1
|
- hv1
|
||||||
- hv2
|
- hv2
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
**/.terraform/*
|
**/.terraform/*
|
||||||
*.tfstate
|
*.tfstate
|
||||||
*.tfstate.*
|
*.tfstate.*
|
||||||
.terraform.lock.hcl
|
.terraform.lock.hcl
|
||||||
|
|
|
@ -8,4 +8,4 @@ skip/aix
|
||||||
skip/osx
|
skip/osx
|
||||||
skip/macos
|
skip/macos
|
||||||
skip/freebsd
|
skip/freebsd
|
||||||
skip/python2
|
skip/python2
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -5,4 +5,4 @@ terraform {
|
||||||
version = "{{ tf_provider['version'] }}"
|
version = "{{ tf_provider['version'] }}"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
- name: Create file
|
- name: Create file
|
||||||
file:
|
file:
|
||||||
path: "{{ test_file }}"
|
path: "{{ test_file }}"
|
||||||
state: touch
|
state: touch
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -10,4 +10,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -8,4 +8,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address></address>
|
<address></address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
<rating>пять</rating></business>
|
<rating>пять</rating></business>
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -11,4 +11,4 @@
|
||||||
<mobilefriendly/>
|
<mobilefriendly/>
|
||||||
<address>http://tastybeverageco.com</address>
|
<address>http://tastybeverageco.com</address>
|
||||||
</website>
|
</website>
|
||||||
</business>
|
</business>
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -6,4 +6,4 @@
|
||||||
"iconv-lite": "^0.4.21",
|
"iconv-lite": "^0.4.21",
|
||||||
"@types/node": "^12.0.0"
|
"@types/node": "^12.0.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
"pre-up": [],
|
"pre-up": [],
|
||||||
"up": []
|
"up": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,4 +5,4 @@ options:
|
||||||
"option": "up",
|
"option": "up",
|
||||||
"state": "present",
|
"state": "present",
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
"pre-up": [],
|
"pre-up": [],
|
||||||
"up": []
|
"up": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,4 +14,4 @@ options:
|
||||||
"option": "up",
|
"option": "up",
|
||||||
"state": "present",
|
"state": "present",
|
||||||
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
"value": "route add -net 224.0.0.0 netmask 240.0.0.0 dev aggi"
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
"pre-up": [],
|
"pre-up": [],
|
||||||
"up": []
|
"up": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,4 +14,4 @@ options:
|
||||||
"option": "up",
|
"option": "up",
|
||||||
"state": "absent",
|
"state": "absent",
|
||||||
"value": null
|
"value": null
|
||||||
}
|
}
|
||||||
|
|
|
@ -18,4 +18,4 @@
|
||||||
"pre-up": [],
|
"pre-up": [],
|
||||||
"up": []
|
"up": []
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue