mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-22 00:00:22 -07:00
Fix spelling mistakes (comments only) (#25564)
Original Author : klemens <ka7@github.com> Taking over previous PR as per https://github.com/ansible/ansible/pull/23644#issuecomment-307334525 Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
This commit is contained in:
parent
460d932aa8
commit
b89cb95609
158 changed files with 202 additions and 201 deletions
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_backup_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_backup_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_bgp_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_bgp_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_command_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_command_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_conditional_command_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_conditional_command_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_conditional_template_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_conditional_template_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_ethernet_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_ethernet_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_facts_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_facts_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_image_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_image_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_portchannel_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_portchannel_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_rollback_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_rollback_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_save_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_save_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_facts_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_showrun_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_template_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_template_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_vlag_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_vlag_sample]
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_vlan_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_vlan_sample]
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
that:
|
||||
- delete_service_result.changed
|
||||
|
||||
- name: removal of an non-existant service causes no change
|
||||
- name: removal of an non-existent service causes no change
|
||||
consul:
|
||||
service_id: 'service1'
|
||||
state: absent
|
||||
|
@ -163,7 +163,7 @@
|
|||
that:
|
||||
- delete_check_result.changed
|
||||
|
||||
- name: removal of an non-existant check causes no change
|
||||
- name: removal of an non-existent check causes no change
|
||||
consul:
|
||||
check_id: 'node_level'
|
||||
state: absent
|
||||
|
|
|
@ -59,9 +59,9 @@
|
|||
- 'result.failed'
|
||||
- 'result.msg == "Regex error for pattern &23424--[: unexpected end of regular expression"'
|
||||
|
||||
## Non-existant instance tests ##
|
||||
## Non-existent instance tests ##
|
||||
# # ============================================================
|
||||
- name: "test tag non-existant instance (state==present)"
|
||||
- name: "test tag non-existent instance (state==present)"
|
||||
gce_tag:
|
||||
service_account_email: "{{ service_account_email }}"
|
||||
pem_file: "{{ pem_file }}"
|
||||
|
@ -79,7 +79,7 @@
|
|||
- 'result.failed'
|
||||
|
||||
# # ============================================================
|
||||
- name: "test tag non-existant instance (state==absent)"
|
||||
- name: "test tag non-existent instance (state==absent)"
|
||||
gce_tag:
|
||||
service_account_email: "{{ service_account_email }}"
|
||||
pem_file: "{{ pem_file }}"
|
||||
|
|
|
@ -94,7 +94,7 @@
|
|||
- result|changed
|
||||
- result.enabled
|
||||
|
||||
- name: test disable an exising job without config
|
||||
- name: test disable an existing job without config
|
||||
local_action:
|
||||
module: jenkins_job
|
||||
name: test.job
|
||||
|
@ -103,14 +103,14 @@
|
|||
password: "{{ jenkins_password }}"
|
||||
enabled: false
|
||||
register: result
|
||||
- name: verify test disable an exising job without config
|
||||
- name: verify test disable an existing job without config
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
- result|changed
|
||||
- not result.enabled
|
||||
|
||||
- name: test disable an exising job without config idempotence
|
||||
- name: test disable an existing job without config idempotence
|
||||
local_action:
|
||||
module: jenkins_job
|
||||
name: test.job
|
||||
|
@ -119,7 +119,7 @@
|
|||
password: "{{ jenkins_password }}"
|
||||
enabled: false
|
||||
register: result
|
||||
- name: verify test disable an exising job without config idempotence
|
||||
- name: verify test disable an existing job without config idempotence
|
||||
assert:
|
||||
that:
|
||||
- result|success
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# - A hostname/ip can be a member of multiple groups
|
||||
#
|
||||
# In the /etc/ansible/hosts file u have to enter [cnos_vlan_sample] tag
|
||||
# Following you should specify IP Adresses details
|
||||
# Following you should specify IP Addresses details
|
||||
# Please change <username> and <password> with appropriate value for your switch.
|
||||
|
||||
[cnos_vlan_sample]
|
||||
|
|
|
@ -141,7 +141,7 @@
|
|||
- asyncresult.finished == 1
|
||||
- asyncresult.changed == false
|
||||
- asyncresult | failed == true
|
||||
# TODO: reenable after catastrophic failure behavior is cleaned up
|
||||
# TODO: re-enable after catastrophic failure behavior is cleaned up
|
||||
# - asyncresult.msg is search('failing via exception')
|
||||
|
||||
|
||||
|
|
|
@ -139,7 +139,7 @@
|
|||
register: actual
|
||||
failed_when: actual.msg != 'Argument path ' + win_output_dir + '\\win_find\\single\\large.ps1 is a file not a directory'
|
||||
|
||||
- name: expect failure whe path is set to a non existant folder
|
||||
- name: expect failure whe path is set to a non existent folder
|
||||
win_find:
|
||||
paths: "{{win_output_dir}}\\win_find\\thisisafakefolder"
|
||||
register: actual
|
||||
|
|
|
@ -113,12 +113,12 @@
|
|||
that:
|
||||
- "actual == expected"
|
||||
|
||||
- name: get non-existant reg key
|
||||
- name: get non-existent reg key
|
||||
win_reg_stat:
|
||||
path: HKCU:\Test\Thispathwillneverexist
|
||||
register: actual
|
||||
|
||||
- name: set expected value for non-existant reg key
|
||||
- name: set expected value for non-existent reg key
|
||||
set_fact:
|
||||
expected:
|
||||
changed: false
|
||||
|
@ -298,13 +298,13 @@
|
|||
that:
|
||||
- "actual == expected"
|
||||
|
||||
- name: get non-existance property
|
||||
- name: get non-existence property
|
||||
win_reg_stat:
|
||||
path: HKCU:\Test\single
|
||||
name: doesnotexist
|
||||
register: actual
|
||||
|
||||
- name: set expected non-existance property
|
||||
- name: set expected non-existence property
|
||||
set_fact:
|
||||
expected:
|
||||
changed: false
|
||||
|
|
|
@ -497,7 +497,7 @@
|
|||
desktop_interact: True
|
||||
register: win_service_local_system_desktop
|
||||
|
||||
- name: check that the service has been set to Local Sytem with desktop interaction
|
||||
- name: check that the service has been set to Local System with desktop interaction
|
||||
assert:
|
||||
that:
|
||||
- "win_service_local_system_desktop|changed"
|
||||
|
@ -791,7 +791,7 @@
|
|||
name: TestServiceDependency
|
||||
state: started
|
||||
|
||||
- name: wait 5 seconds for service to propogate service startup
|
||||
- name: wait 5 seconds for service to propagate service startup
|
||||
pause:
|
||||
seconds: 5
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue