mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-24 13:50:22 -07:00
typofixes - https://github.com/vlajos/misspell_fixer
This commit is contained in:
parent
ae17b993d9
commit
bf5d8ee678
24 changed files with 31 additions and 31 deletions
|
@ -220,7 +220,7 @@
|
|||
- name: clean up
|
||||
file: dest=/tmp/worldwritable state=absent
|
||||
|
||||
# test overwritting a link using "follow=yes" so that the link
|
||||
# test overwriting a link using "follow=yes" so that the link
|
||||
# is preserved and the link target is updated
|
||||
|
||||
- name: create a test file to symlink to
|
||||
|
|
|
@ -188,7 +188,7 @@
|
|||
- "file11_result.uid == 1235"
|
||||
|
||||
- name: fail to create soft link to non existent file
|
||||
file: src=/noneexistant dest={{output_dir}}/soft2.txt state=link force=no
|
||||
file: src=/noneexistent dest={{output_dir}}/soft2.txt state=link force=no
|
||||
register: file12_result
|
||||
ignore_errors: true
|
||||
|
||||
|
@ -198,7 +198,7 @@
|
|||
- "file12_result.failed == true"
|
||||
|
||||
- name: force creation soft link to non existent
|
||||
file: src=/noneexistant dest={{output_dir}}/soft2.txt state=link force=yes
|
||||
file: src=/noneexistent dest={{output_dir}}/soft2.txt state=link force=yes
|
||||
register: file13_result
|
||||
|
||||
- name: verify that link was created
|
||||
|
|
|
@ -243,7 +243,7 @@
|
|||
that:
|
||||
- "result.stat.checksum == 'f9af7008e3cb67575ce653d094c79cabebf6e523'"
|
||||
|
||||
# Test EOF with empty file to make sure no unneccessary newline is added
|
||||
# Test EOF with empty file to make sure no unnecessary newline is added
|
||||
- name: testempty deploy the testempty file for lineinfile
|
||||
copy: src=testempty.txt dest={{output_dir}}/testempty.txt
|
||||
register: result
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
- "result.changed == true"
|
||||
- "result.db =='{{ db_name }}'"
|
||||
|
||||
- name: assert database was backup succesfully
|
||||
- name: assert database was backup successfully
|
||||
command: file {{ db_file_name }}
|
||||
register: result
|
||||
|
||||
|
|
|
@ -153,22 +153,22 @@
|
|||
- include: user_password_update_test.yml
|
||||
|
||||
# ============================================================
|
||||
# Assert create user with SELECT privileges, attemp to create database and update privileges to create database
|
||||
# Assert create user with SELECT privileges, attempt to create database and update privileges to create database
|
||||
#
|
||||
- include: test_privs.yml current_privilege=SELECT current_append_privs=no
|
||||
|
||||
# ============================================================
|
||||
# Assert creating user with SELECT privileges, attemp to create database and append privileges to create database
|
||||
# Assert creating user with SELECT privileges, attempt to create database and append privileges to create database
|
||||
#
|
||||
- include: test_privs.yml current_privilege=DROP current_append_privs=yes
|
||||
|
||||
# ============================================================
|
||||
# Assert create user with SELECT privileges, attemp to create database and update privileges to create database
|
||||
# Assert create user with SELECT privileges, attempt to create database and update privileges to create database
|
||||
#
|
||||
- include: test_privs.yml current_privilege='UPDATE,ALTER' current_append_privs=no
|
||||
|
||||
# ============================================================
|
||||
# Assert creating user with SELECT privileges, attemp to create database and append privileges to create database
|
||||
# Assert creating user with SELECT privileges, attempt to create database and append privileges to create database
|
||||
#
|
||||
- include: test_privs.yml current_privilege='INSERT,DELETE' current_append_privs=yes
|
||||
|
||||
|
|
|
@ -72,7 +72,7 @@
|
|||
register: win_stat_no_args
|
||||
ignore_errors: true
|
||||
|
||||
- name: check win_stat result witn no path argument
|
||||
- name: check win_stat result with no path argument
|
||||
assert:
|
||||
that:
|
||||
- "win_stat_no_args|failed"
|
||||
|
|
|
@ -329,5 +329,5 @@ class TestModuleUtilsBasicHelpers(unittest.TestCase):
|
|||
|
||||
# The overzealous-ness here may lead to us changing the algorithm in
|
||||
# the future. We could make it consume less of the data (with the
|
||||
# possiblity of leaving partial passwords exposed) and encourage
|
||||
# possibility of leaving partial passwords exposed) and encourage
|
||||
# people to use no_log instead of relying on this obfuscation.
|
||||
|
|
|
@ -725,7 +725,7 @@ class TestUtils(unittest.TestCase):
|
|||
# jinja2 loop blocks with lots of complexity
|
||||
_test_combo(
|
||||
# in memory of neighbors cat
|
||||
# we preserve line breaks unless a line continuation character preceeds them
|
||||
# we preserve line breaks unless a line continuation character precedes them
|
||||
'a {% if x %} y {%else %} {{meow}} {% endif %} "cookie\nchip" \\\ndone\nand done',
|
||||
['a', '{% if x %}', 'y', '{%else %}', '{{meow}}', '{% endif %}', '"cookie\nchip"', 'done\n', 'and', 'done']
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue