Skip to content

Commit

Permalink
[no ci] doc: regenerated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmocanu-ionos committed Aug 27, 2024
1 parent 0ebe3c3 commit 0f33c5f
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
12 changes: 12 additions & 0 deletions docs/api/user-management/user.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ ionoscloudsdk.ionoscloud.user:
user_password: '{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_letters,digits') }}'
force_sec_auth: false
state: present
check_mode: true
diff: true
register: user_response


name: Add user to first group
Expand All @@ -30,6 +33,9 @@ name: Delete user
ionoscloudsdk.ionoscloud.user:
user: ''
state: absent
check_mode: true
diff: true
register: user_response

```
Expand Down Expand Up @@ -83,6 +89,9 @@ ionoscloudsdk.ionoscloud.user:
user_password: '{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_letters,digits') }}'
force_sec_auth: false
state: present
check_mode: true
diff: true
register: user_response

```
### Available parameters for state **present**:
Expand Down Expand Up @@ -195,6 +204,9 @@ name: Delete user
ionoscloudsdk.ionoscloud.user:
user: ''
state: absent
check_mode: true
diff: true
register: user_response

```
### Available parameters for state **absent**:
Expand Down
2 changes: 2 additions & 0 deletions docs/templates/summary.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,11 @@
* [Ansible Playbooks](usage/ansibleplaybooks.md)
* [Wait for Services](usage/waitforservices.md)
* [Incrementing servers](usage/incrementingservers.md)
* [Check Mode and Diff](usage/check_mode_and_diff.md)
* [SSH Key Authentication](usage/sshkeyauthentication.md)
* [Return values](usage/returnvalues.md)
* [Testing](usage/testing.md)
* [Declarative Changes](usage/declarative_changes.md)

## Tutorials
* [Tutorials introduction](tutorials/README.md)
Expand Down
12 changes: 12 additions & 0 deletions plugins/modules/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,9 @@
user_password: '{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_letters,digits') }}'
force_sec_auth: false
state: present
check_mode: true
diff: true
register: user_response
''',
'update': '''
name: Add user to first group
Expand All @@ -237,6 +240,9 @@
ionoscloudsdk.ionoscloud.user:
user: ''
state: absent
check_mode: true
diff: true
register: user_response
''',
}

Expand All @@ -250,6 +256,9 @@
user_password: '{{ lookup('ansible.builtin.password', '/dev/null chars=ascii_letters,digits') }}'
force_sec_auth: false
state: present
check_mode: true
diff: true
register: user_response
name: Add user to first group
Expand All @@ -264,6 +273,9 @@
ionoscloudsdk.ionoscloud.user:
user: ''
state: absent
check_mode: true
diff: true
register: user_response
"""


Expand Down

0 comments on commit 0f33c5f

Please sign in to comment.