This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
сервис_ansible [2022/03/11 10:24] val [Пример 3] |
сервис_ansible [2022/03/18 18:29] val [Использование ролей] |
||
---|---|---|---|
Line 229: | Line 229: | ||
# - aaa authentication login default local | # - aaa authentication login default local | ||
# - aaa authorization exec default local | # - aaa authorization exec default local | ||
+ | # - username root privilege 15 secret cisco | ||
+ | |||
# - radius-server host server auth-port 1812 acct-port 1813 | # - radius-server host server auth-port 1812 acct-port 1813 | ||
# - radius-server key testing123 | # - radius-server key testing123 | ||
# - aaa authentication login default group radius enable | # - aaa authentication login default group radius enable | ||
# - aaa authorization exec default group radius none | # - aaa authorization exec default group radius none | ||
+ | |||
# - tacacs-server host server | # - tacacs-server host server | ||
# - tacacs-server key tackey123 | # - tacacs-server key tackey123 | ||
Line 238: | Line 241: | ||
# - aaa authorization exec default group tacacs+ none | # - aaa authorization exec default group tacacs+ none | ||
# - aaa accounting commands 15 default start-stop group tacacs+ | # - aaa accounting commands 15 default start-stop group tacacs+ | ||
+ | |||
# - aaa authentication dot1x default group radius | # - aaa authentication dot1x default group radius | ||
## - aaa accounting dot1x default start-stop group radius | ## - aaa accounting dot1x default start-stop group radius | ||
Line 420: | Line 424: | ||
</code><code> | </code><code> | ||
# ansible-playbook -f 5 nodes.yml | # ansible-playbook -f 5 nodes.yml | ||
+ | |||
+ | ИЛИ | ||
+ | |||
+ | # ansible-playbook -f 5 conf/ansible/roles/nodes.yml | ||
</code> | </code> |