When executing the install-prereq.yaml playbook, the task to install container lab fails with the below message. Its expecting the task to be run with become: true
ASK [clab : installing clab] **************************************************************************************************************************************************************************************************************************************************
fatal: [192.168.122.227]: FAILED! => {"changed": true, "cmd": "bash -c \"$(wget -qO - https://get.containerlab.dev)\"", "delta": "0:05:04.085053", "end": "2023-01-12 17:17:05.698570", "msg": "non-zero return code", "rc": 1, "start": "2023-01-12 17:12:01.613517", "stderr": "sudo: timed out reading password\nsudo: a password is required", "stderr_lines": ["sudo: timed out reading password", "sudo: a password is required"], "stdout": "Downloading https://github.com/srl-labs/containerlab/releases/download/v0.34.0/containerlab_0.34.0_linux_amd64.rpm\nPreparing to install containerlab 0.34.0 from package\nFailed to install containerlab\n\tFor support, go to https://github.com/srl-labs/containerlab/issues", "stdout_lines": ["Downloading https://github.com/srl-labs/containerlab/releases/download/v0.34.0/containerlab_0.34.0_linux_amd64.rpm", "Preparing to install containerlab 0.34.0 from package", "Failed to install containerlab", "\tFor support, go to https://github.com/srl-labs/containerlab/issues"]}
When executing the
install-prereq.yaml
playbook, the task to install container lab fails with the below message. Its expecting the task to be run withbecome: true