Version used : 6.4.2
I am executing a confd command through ansible playbook.
The command in turn asks for confirmation(yes|no).
The way I am sending commands to confd in asnsible is as follows.This was working fine with confd version 4.7 but not on 6.4.2.
The command here is “system reboot” and “yes” is given for the confirmation question which confd asks.
It works when executed manually but not through the script.
` tasks:
- name: Reboot
raw: "system reboot\nyes\n"
register: status
`