I am completely new to Ansible and cannot find much documentation regarding changing the root password of a Juniper device. What is the framework to do something like this?
This is what I have so far but I am not confident it is correct.
---
- vars:
newPassword: "{{ newPassword }}"
- hosts: all
gather_facts: no
tasks:
- name: Update Root user's Password
user:
name: root
update_password: always
password: newPassword