Add type casting to user/group modules, remove executable bit from other modules

This commit is contained in:
Michael DeHaan
2013-03-18 00:40:57 -04:00
parent 03db6ef24a
commit bdb231213d
4 changed files with 18 additions and 18 deletions

View File

@@ -213,10 +213,10 @@ class AIX(Group):
def main():
module = AnsibleModule(
argument_spec = dict(
state=dict(default='present', choices=['present', 'absent']),
name=dict(required=True),
gid=dict(default=None),
system=dict(default='no', choices=['yes', 'no']),
state=dict(default='present', choices=['present', 'absent'], type='str'),
name=dict(required=True, type='str'),
gid=dict(default=None, type='str'),
system=dict(default='no', choices=['yes', 'no'], type='bool'),
),
supports_check_mode=True
)