using systemctl to unmask hostapd instead of ansible module

1 job for buster in 81 minutes and 41 seconds (queued for 2 seconds)
Status Job ID Name Coverage
  Build
failed #527061
build-pibox-image

01:21:41

 
Name Stage Failure
failed
build-pibox-image Build
sudo shutdown -P 0
[08:19:08] STDERR: Shutdown scheduled for Sun 2019-08-18 09:19:08 BST, use 'shutdown -c' to cancel.
VM is off.
[08:19:16] ERROR: unable to properly create image: ssh command failed with status 2. cmd: sudo sh -c 'cd /var/lib/ansible/local && /usr/local/bin/ansible-playbook -vvv --inventory hosts --tags master,rename,setup --extra-vars="@/var/lib/ansible/local/extra_vars.json" main.yml'
/tmp/_MEIX9QVEf/paramiko/kex_ecdh_nist.py:39: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
/tmp/_MEIX9QVEf/paramiko/kex_ecdh_nist.py:96: CryptographyDeprecationWarning: Support for unsafe construction of public numbers from encoded data will be removed in a future version. Please use EllipticCurvePublicKey.from_encoded_point
/tmp/_MEIX9QVEf/paramiko/kex_ecdh_nist.py:111: CryptographyDeprecationWarning: encode_point has been deprecated on EllipticCurvePublicNumbers and will be removed in a future version. Please use EllipticCurvePublicKey.public_bytes to obtain both compressed and uncompressed point encoding.
Authenticating with credentials from /root/.docker/config.json
ERROR: Job failed: exit code 1