f5os_system – Manage generic system settings¶
New in version 1.10.0.
Parameters¶
| Parameter | Choices/Defaults | Configuration | Comments | |
|---|---|---|---|---|
|
cli_timeout
integer
|
Specifies the CLI idle timeout
|
|||
|
gui_advisory
dictionary
|
Specify the GUI advisory banner
|
|||
|
color
string
|
|
Specify the color of the advisory banner
|
||
|
text
string
|
Specify the text for the advisory banner
|
|||
|
hostname
string
|
Specifies the system hostname
|
|||
|
httpd_ciphersuite
string
|
Specifies the httpd ciphersuite in OpenSSL format
|
|||
|
login_banner
string
|
Specifies the Login Banner
|
|||
|
motd
string
|
Specifies the message of the day
|
|||
|
sshd_ciphers
list
/ elements=string
|
Specifies the sshd ciphers in OpenSSH format
|
|||
|
sshd_hkey_alg
list
/ elements=string
|
Specifies the sshd host key algorithems in OpenSSH format
|
|||
|
sshd_idle_timeout
string
|
Specifies the SSHD idle timeout
|
|||
|
sshd_kex_alg
list
/ elements=string
|
Specifies the sshd key exchange algorithems in OpenSSH format
|
|||
|
sshd_mac_alg
list
/ elements=string
|
Specifies the sshd MAC algorithems in OpenSSH format
|
|||
|
state
string
|
|
State for the settings.
If
present, creates/updates the specified setting if necessary.If
absent, deletes the specified setting if it exists. |
||
|
timezone
string
|
Specifies the timezone for the system per TZ database name
|
|||
|
token_lifetime
integer
|
Specifies the token lifetime length in minutes
|
|||
Examples¶
- name: Set system settings
f5os_system:
hostname: system.example.net
motd: Todays weather is great!
login_banner: With great power comes great responsibility
timezone: UTC
cli_timeout: 3600
sshd_idle_timeout: 1800
httpd_ciphersuite: ECDHE-RSA-AES256-GCM-SHA384
sshd_ciphers:
- aes256-ctr
- aes256-gcm@openssh.com
sshd_kex_alg:
- ecdh-sha2-nistp384
- ecdh-sha2-nistp521
sshd_mac_alg:
- hmac-sha1
- hmac-sha1-96
sshd_hkey_alg:
- ssh-rsa
- name: Unset MAC / Host Key algorithms
f5os_system:
sshd_hkey_alg:
- ssh-rsa
sshd_mac_alg:
- hmac-sha1
- hmac-sha1-96
state: absent
Return Values¶
The following are the fields unique to this module:
| Key | Returned | Description |
|---|---|---|
|
cli_timeout
string
|
changed |
Specifies the CLI idle timeout
|
|
gui_advisory
string
|
changed |
Specifies GUI advisory banner
|
|
hostname
string
|
changed |
Specifies the system hostname
|
|
httpd_ciphersuite
string
|
changed |
Specifies the httpd ciphersuite in OpenSSL format
|
|
login_banner
string
|
changed |
Specifies the Login Banner
|
|
motd
string
|
changed |
Specifies the message of the day
|
|
sshd_ciphers
list
|
changed |
Specifies the sshd ciphers in OpenSSH format
|
|
sshd_hkey_alg
list
|
changed |
Specifies the sshd host key algorithems in OpenSSH format
|
|
sshd_idle_timeout
string
|
changed |
Specifies the SSHD idle timeout
|
|
sshd_kex_alg
list
|
changed |
Specifies the sshd key exchange algorithems in OpenSSH format
|
|
sshd_mac_alg
list
|
changed |
Specifies the sshd MAC algorithems in OpenSSH format
|
|
timezone
string
|
changed |
Specifies the timezone for the system per TZ database name
|