From 06769c4e693bb60007840c75e6543adc0371bb3f Mon Sep 17 00:00:00 2001 From: Ulf Tigerstedt Date: Sun, 10 May 2020 15:45:35 +0300 Subject: [PATCH] Fixes for ipa_group and ipa_user to show that uidnumber/gidnumber needs to be strings not numbers (#300) --- plugins/modules/identity/ipa/ipa_group.py | 2 +- plugins/modules/identity/ipa/ipa_user.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/modules/identity/ipa/ipa_group.py b/plugins/modules/identity/ipa/ipa_group.py index 73f78a354b..e564ff2ff3 100644 --- a/plugins/modules/identity/ipa/ipa_group.py +++ b/plugins/modules/identity/ipa/ipa_group.py @@ -73,7 +73,7 @@ EXAMPLES = r''' - name: Ensure group is present ipa_group: name: oinstall - gidnumber: 54321 + gidnumber: '54321' state: present ipa_host: ipa.example.com ipa_user: admin diff --git a/plugins/modules/identity/ipa/ipa_user.py b/plugins/modules/identity/ipa/ipa_user.py index f78f702500..02f5a3d6d6 100644 --- a/plugins/modules/identity/ipa/ipa_user.py +++ b/plugins/modules/identity/ipa/ipa_user.py @@ -117,8 +117,8 @@ EXAMPLES = r''' sshpubkey: - ssh-rsa .... - ssh-dsa .... - uidnumber: 1001 - gidnumber: 100 + uidnumber: '1001' + gidnumber: '100' homedirectory: /home/pinky ipa_host: ipa.example.com ipa_user: admin