yusefnapora / pixelbook-linux

261 stars 50 forks source link

Re-running on installation to update, fails #20

Closed huang-jy closed 5 years ago

huang-jy commented 5 years ago

I've run this on Disco and it's all good.

I come back to re-run it for any updates (e.g. on recovery image) and it fails:

TASK [eve-recovery-files : Unzip recovery image] ***************************************************************************
skipping: [localhost]

TASK [eve-recovery-files : Map recovery image to loopback device] **********************************************************
changed: [localhost]

TASK [eve-recovery-files : Find mapper device to use for mounting image] ***************************************************
fatal: [localhost]: FAILED! => {"msg": "Unexpected templating type error occurred on ({{ kpartx_output.stdout | regex_search(regexp, '\\\\1') | first }}): 'NoneType' object is not iterable"}
    to retry, use: --limit @/home/johnny/Downloads/pixelbook-linux/ansible/playbook.retry

PLAY RECAP *****************************************************************************************************************
localhost                  : ok=8    changed=1    unreachable=0    failed=1   
flantel commented 5 years ago

Check out pull request 4 https://github.com/yusefnapora/pixelbook-linux/pull/4 - it is a simple change and will fix that issue.

huang-jy commented 5 years ago

Thanks, will test and verify :+1:

huang-jy commented 5 years ago

That hack works :) Thanks.