Hello!
I am a noob in Ansible so please forgive me. I am trying to upgrade an OS9 switch using the dellos9_command module (there is a method to upgrade OS10 via Roles but not OS9).
playbook:
Hello!
I am a noob in Ansible so please forgive me. I am trying to upgrade an OS9 switch using the dellos9_command module (there is a method to upgrade OS10 via Roles but not OS9).
playbook:
Maybe do something like find in: reboot without failing ansible ? Would that work?
I had no luck with asynchronous actions or the wait_for_connection. However, I did find if I set the persistent connect_timeout and command_timeout in ansible.cfg to a value high enough for the command to complete that it works! However, I would prefer if the ansible.cfg file didn’t have these set permanently. I know there is a way to set them in the playbook… but I haven’t figured it out yet. I’m sure its basic but like I said I am new to ansible. Any advice?
Thanks for the help!
I discovered that the persistence command_timeout variable was added in Ansible 2.7 (which I am not using). So I will just set them as global variables for now. Thanks again.