Could not find or access '/etc/ansible/bin/cfssljson /etc/ansible/bin/cfssl

giserinchina發表於2019-01-02
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [192.168.65.128] (item=cfssl) => {"changed": false, "item": "cfssl", "msg": "Could not find or access '/etc/ansible/bin/cfssl' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [192.168.65.128] (item=cfssl-certinfo) => {"changed": false, "item": "cfssl-certinfo", "msg": "Could not find or access '/etc/ansible/bin/cfssl-certinfo' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: If you are using a module and expect the file to exist on the remote, see the remote_src option
failed: [192.168.65.128] (item=cfssljson) => {"changed": false, "item": "cfssljson", "msg": "Could not find or access '/etc/ansible/bin/cfssljson' on the Ansible Controller.\nIf you are using a module and expect the file to exist on the remote, see the remote_src option"}
curl -L https://pkg.cfssl.org/R1.2/cfssl_linux-amd64 -o /etc/ansible/bin/cfssl
chmod +x /etc/ansible/bin/cfssl
curl -L https://pkg.cfssl.org/R1.2/cfssljson_linux-amd64 -o /etc/ansible/bin/cfssljson
chmod +x /etc/ansible/bin/cfssljson
curl -L https://pkg.cfssl.org/R1.2/cfssl-certinfo_linux-amd64 -o /etc/ansible/bin/cfssl-certinfo
chmod +x /etc/ansible/bin/cfssl-certinfo

相關文章