Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
82955606
Commit
82955606
authored
Oct 24, 2012
by
Jan-Piet Mens
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix DOCUMENTATION for user
parent
9626111d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
library/user
+9
-6
No files found.
library/user
View file @
82955606
...
@@ -105,40 +105,43 @@ options:
...
@@ -105,40 +105,43 @@ options:
ssh_key:
ssh_key:
required: false
required: false
choices: [ generate ]
choices: [ generate ]
version_added: "0.9"
description:
description:
- Whether to generate a SSH key for the user in question.
- Whether to generate a SSH key for the user in question.
This will B(not) overwrite an existing SSH key.
This will B(not) overwrite an existing SSH key.
New in version 0.9.
ssh_key_bits:
ssh_key_bits:
required: false
required: false
default: 2048
default: 2048
version_added: "0.9"
description:
description:
- Optionally specify number of bits in SSH key to create.
- Optionally specify number of bits in SSH key to create.
New in version 0.9.
ssh_key_type:
ssh_key_type:
required: false
required: false
default: rsa
default: rsa
version_added: "0.9"
description:
description:
- Optionally specify the tyep of SSH key to generate.
- Optionally specify the tyep of SSH key to generate.
Available SSH key types will depend on implementation
Available SSH key types will depend on implementation
present on target host.
New in version 0.9.
present on target host.
ssh_key_file:
ssh_key_file:
required: false
required: false
default: $HOME/.ssh/id_rsa
default: $HOME/.ssh/id_rsa
version_added: "0.9"
description:
description:
- Optionally specify the SSH key filename.
New in version 0.9.
- Optionally specify the SSH key filename.
ssh_key_comment:
ssh_key_comment:
required: false
required: false
default: ansible-generated
default: ansible-generated
version_added: "0.9"
description:
description:
- Optionally define the comment for the SSH key.
- Optionally define the comment for the SSH key.
New in version 0.9.
ssh_key_passphrase:
ssh_key_passphrase:
required: false
required: false
version_added: "0.9"
description:
description:
- Set a passphrase for the SSH key. If no
- Set a passphrase for the SSH key. If no
passphrase is provided, the SSH key will default to
passphrase is provided, the SSH key will default to
having no passphrase.
New in version 0.9.
having no passphrase.
examples:
examples:
- code: 'user: name=johnd comment="John Doe" uid=1040'
- code: 'user: name=johnd comment="John Doe" uid=1040'
description: "Add the user 'johnd' with a specific uid and a primary group of 'admin'"
description: "Add the user 'johnd' with a specific uid and a primary group of 'admin'"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment