Skip to content

Commit

Permalink
Release fortios galaxy document:2.3.1
Browse files Browse the repository at this point in the history
Signed-off-by: FTNT-HQCM <hq-devops-admin@fortinet.com>
  • Loading branch information
FTNT-HQCM committed Aug 4, 2023
1 parent f8ac56d commit 116f522
Show file tree
Hide file tree
Showing 515 changed files with 52,715 additions and 1,372 deletions.
14 changes: 6 additions & 8 deletions conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,10 @@

html_static_path = ['_static']

html_context = {
'css_files': [
'_static/theme_overrides.css', # override wide tables in RTD theme
'_static/collapse.css',
],
}
html_css_files = [
'theme_overrides.css',
'collapse.css',
]

html_js_files = [
'util.js',
Expand Down Expand Up @@ -66,5 +64,5 @@
# Add any paths that contain custom static files (such as style sheets) here,
# relative to this directory. They are copied after the builtin static files,
# so a file named "default.css" will overwrite the builtin "default.css".
html_static_path = ['_static']
html4_writer=True
# html_static_path = ['_static']
# html4_writer=True
8 changes: 4 additions & 4 deletions docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
docutils<0.18
Sphinx<2
Jinja2<3
MarkupSafe<2
docutils==0.19
Sphinx==5.3.0
Jinja2==3.1.2
MarkupSafe==2.1.1
39 changes: 39 additions & 0 deletions faq.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ Frequently Asked Questions (FAQ)
- `How To Work With Raw FotiOS CLI?`_
- `How to use the set_fact module in a task?`_
- `How to use the member operation to add an element in an object?`_
- `Set up FortiToken multi-factor authentication`_

|
Expand Down Expand Up @@ -447,6 +448,44 @@ Member operation is used to add an element to an existing object. The example be
hostname: abc.com
ip: 7.7.7.8

Set up FortiToken multi-factor authentication
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

It uses one of the two free mobile FortiTokens that is already installed on the FortiGate.

::

tasks:
- name: To configure MFA.
fortios_user_local:
enable_log: true
vdom: "{{ vdom }}"
state: "present"
user_local:
auth_concurrent_override: "enable"
auth_concurrent_value: "0"
authtimeout: "0"
email_to: "abc@gmail.com"
fortitoken: "FTKMOB324C29689B"
id: "8"
name: "test_user"
status: "enable"
two_factor: "fortitoken"
two_factor_authentication: "fortitoken"
two_factor_notification: "email"
type: "password"
username_case_sensitivity: "disable"
username_sensitivity: "disable"

- name: Activate the mobile token
fortios_monitor:
vdom: "root"
selector: "send-activation.user.fortitoken"
params:
token: FTKMOB324C29689B
method: email
email: abc@gmail.com


.. _Run Your Playbook: playbook.html
.. _How To Generate Access Token Dynamically: faq.html#what-s-access-token
Expand Down

0 comments on commit 116f522

Please sign in to comment.