#This play will log into the admin context and change to the system context to update users. Does it automatically save? There is a save: option i can use under asa_config: but does it save the admin context, system context, both, or none? Im updating user accounts on all contexts including system.
The Parameter “context” Comments “Specifies which context to target if you are running in the ASA in multiple context mode. Defaults to the current context you login to.”
- hosts: asa-system-contexts
connection: local
gather_facts: no
tasks:
-
name: Importing Secret Variables
include_vars: secrets.yml -
name: Updating Local Users on System Contexts
asa_config:
provider: “{{ provider }}”
authorize: yes
context: system
src: “./configs/asa_local_users.cfg”
Thanks in advance.
Rob