I’m new to Ansible, so I’m working my way though learning it. I have a small very basic playbook with two tasks. The first task uses the junos module to back the config of a switch. The second tasks changes the host name of the switch. Ansible reports that only first task was successful. After the playbook completeds its run I see the config was downloaded and the host name of the switch was actually changed. Any one know what is going on here I’m a bit confused. So far Ansible seems a bit buggy, but I have to believe I’m just not understanding something. Any one have any idea whats going on?
[root@automation 3400s]# cat get_conf.yml