# Using Ansible module asa\_config system context saving

**URL:** <https://forum.ansible.com/t/using-ansible-module-asa-config-system-context-saving/26617>\
**Category:** Ansible Project\
**Created:** [January 31, 2018, 6:42pm UTC](https://forum.ansible.com/t/using-ansible-module-asa-config-system-context-saving/26617 "2018-01-31T18:42:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Harp](https://avatars.discourse-cdn.com/v4/letter/r/e36b37/32.png) [@Rob\_Harp](https://forum.ansible.com/u/Rob_Harp)\
**Post date:** [January 31, 2018, 6:42pm UTC](https://forum.ansible.com/t/using-ansible-module-asa-config-system-context-saving/26617/1 "2018-01-31T18:42:25Z")

</div>

#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
