summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Bennett <brandon@brbe.me>2024-11-07 15:45:32 +0100
committerGitHub <noreply@github.com>2024-11-07 15:45:32 +0100
commit31cde0ebd1b8475ccb25cc89f933c99d2ae36e54 (patch)
tree23bf4aa2bf5a6da23a06fc9ac1d28520d2a768b6
parentAdd --flush-cache option to ansible-pull (#84211) (diff)
downloadansible-31cde0ebd1b8475ccb25cc89f933c99d2ae36e54.tar.xz
ansible-31cde0ebd1b8475ccb25cc89f933c99d2ae36e54.zip
user: create Buildroot subclass as alias to Busybox (#83666)
Fixes: #83665
-rw-r--r--changelogs/fragments/buildroot.yml3
-rw-r--r--lib/ansible/modules/user.py5
2 files changed, 8 insertions, 0 deletions
diff --git a/changelogs/fragments/buildroot.yml b/changelogs/fragments/buildroot.yml
new file mode 100644
index 0000000000..18acd5438e
--- /dev/null
+++ b/changelogs/fragments/buildroot.yml
@@ -0,0 +1,3 @@
+---
+bugfixes:
+ - user - Create Buildroot subclass as alias to Busybox (https://github.com/ansible/ansible/issues/83665).
diff --git a/lib/ansible/modules/user.py b/lib/ansible/modules/user.py
index aa3bbcf68f..8fdc71aae8 100644
--- a/lib/ansible/modules/user.py
+++ b/lib/ansible/modules/user.py
@@ -3243,6 +3243,11 @@ class Alpine(BusyBox):
distribution = 'Alpine'
+class Buildroot(BusyBox):
+ platform = 'Linux'
+ distribution = 'Buildroot'
+
+
def main():
ssh_defaults = dict(
bits=0,