summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbhijeet Kasurde <akasurde@redhat.com>2024-05-10 17:49:53 +0200
committerGitHub <noreply@github.com>2024-05-10 17:49:53 +0200
commitf7d7890df93393b3364fe40c4d8a65c76610c4db (patch)
tree439270ede1d0774ca1dd3a31ec3635159731d8c8
parentRefactor yum_repository, deprecate yum only options (#83116) (diff)
downloadansible-f7d7890df93393b3364fe40c4d8a65c76610c4db.tar.xz
ansible-f7d7890df93393b3364fe40c4d8a65c76610c4db.zip
Use inclusive word: logical (#83232)
Use word 'logical' instead of non-inclusive word Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
Diffstat (limited to '')
-rw-r--r--lib/ansible/module_utils/basic.py4
-rw-r--r--lib/ansible/module_utils/csharp/Ansible.Process.cs2
-rw-r--r--lib/ansible/modules/dnf.py2
-rwxr-xr-xtest/integration/targets/ansible-doc/runme.sh2
-rw-r--r--test/integration/targets/apt/tasks/apt.yml4
5 files changed, 7 insertions, 7 deletions
diff --git a/lib/ansible/module_utils/basic.py b/lib/ansible/module_utils/basic.py
index 51638a07d5..3d3b7ed8ed 100644
--- a/lib/ansible/module_utils/basic.py
+++ b/lib/ansible/module_utils/basic.py
@@ -458,7 +458,7 @@ class AnsibleModule(object):
self._selinux_mls_enabled = None
self._selinux_initial_context = None
- # finally, make sure we're in a sane working dir
+ # finally, make sure we're in a logical working dir
self._set_cwd()
@property
@@ -2054,7 +2054,7 @@ class AnsibleModule(object):
# not as exact as above, but should be good enough for most platforms that fail the previous call
buffer_size = select.PIPE_BUF
except Exception:
- buffer_size = 9000 # use sane default JIC
+ buffer_size = 9000 # use logical default JIC
return buffer_size
diff --git a/lib/ansible/module_utils/csharp/Ansible.Process.cs b/lib/ansible/module_utils/csharp/Ansible.Process.cs
index fc156b7a20..a351dcd049 100644
--- a/lib/ansible/module_utils/csharp/Ansible.Process.cs
+++ b/lib/ansible/module_utils/csharp/Ansible.Process.cs
@@ -397,7 +397,7 @@ namespace Ansible.Process
internal static Result WaitProcess(SafeFileHandle stdoutRead, SafeFileHandle stdoutWrite, SafeFileHandle stderrRead,
SafeFileHandle stderrWrite, FileStream stdinStream, byte[] stdin, IntPtr hProcess, string outputEncoding = null)
{
- // Default to using UTF-8 as the output encoding, this should be a sane default for most scenarios.
+ // Default to using UTF-8 as the output encoding, this should be a logical default for most scenarios.
outputEncoding = String.IsNullOrEmpty(outputEncoding) ? "utf-8" : outputEncoding;
Encoding encodingInstance = Encoding.GetEncoding(outputEncoding);
diff --git a/lib/ansible/modules/dnf.py b/lib/ansible/modules/dnf.py
index 44abe0b7ee..2b8d82faf9 100644
--- a/lib/ansible/modules/dnf.py
+++ b/lib/ansible/modules/dnf.py
@@ -919,7 +919,7 @@ class DnfModule(YumDnf):
else:
return True # No stream provided, but module found
- return False # seems like a sane default
+ return False # seems like a logical default
def ensure(self):
diff --git a/test/integration/targets/ansible-doc/runme.sh b/test/integration/targets/ansible-doc/runme.sh
index 1cfe211f9d..80149d708d 100755
--- a/test/integration/targets/ansible-doc/runme.sh
+++ b/test/integration/targets/ansible-doc/runme.sh
@@ -1,6 +1,6 @@
#!/usr/bin/env bash
-# always set sane error behaviors, enable execution tracing later if sufficient verbosity requested
+# always set logical error behaviors, enable execution tracing later if sufficient verbosity requested
set -eu
verbosity=0
diff --git a/test/integration/targets/apt/tasks/apt.yml b/test/integration/targets/apt/tasks/apt.yml
index 55ab51d21d..dba6b265eb 100644
--- a/test/integration/targets/apt/tasks/apt.yml
+++ b/test/integration/targets/apt/tasks/apt.yml
@@ -319,13 +319,13 @@
dest: /etc/apt/sources.list.d/non-existing.list
content: deb http://ppa.launchpad.net/non-existing trusty main
-- name: test for sane error message
+- name: test for logical error message
apt:
update_cache: yes
register: apt_result
ignore_errors: yes
-- name: verify sane error message
+- name: verify logical error message
assert:
that:
- "'Failed to fetch' in apt_result['msg']"