QuestionQ26Verified/NETCONF/XML APICopy linkReport a problemAsk AstroTutorSave questionSelect the Exhibit button. With reference to the exhibit, what is the purpose of the register key?Ato set an input value for the juniper_junos_rpc moduleBto configure a global setting for the playbookCto define a variable containing the return value from the moduleDto print a result to standard outShow AnswerAnswerExplanationIn Ansible, the register task keyword stores a task’s status and module return data in a named variable. Here, register: out defines out to contain the result returned by juniper_junos_config.Learn moreUsing variables — Ansible Community DocumentationPlaybook Keywords — Ansible Community DocumentationShow comments2Show commentsCommunity DiscussionNo comments yet. Be the first to start the discussion!
Community Discussion