oracle-quickstart / oci-apex

Ansible playbook to deploy APEX on Oracle Cloud Infrastructure (OCI)
Apache License 2.0
10 stars 10 forks source link

Issue when running the sample #2

Open ppierrondi opened 4 years ago

ppierrondi commented 4 years ago

Hi there, [WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all' ERROR! couldn't resolve module/action 'oci_internet_gateway'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/home/opc/oci-apex/roles/common/tasks/main.yml': line 22, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

ppierrondi commented 4 years ago

TASK [roles/ordsserver : set execute to script files] **** [WARNING]: Consider using the file module with mode rather than running 'chmod'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. fatal: [localhost]: FAILED! => {"changed": true, "cmd": "chmod u+x .sh", "delta": "0:00:00.006083", "end": "2020-09-08 12:53:07.220389", "msg": "non-zero return code", "rc": 1, "start": "2020-09-08 12:53:07.214306", "stderr": "chmod: cannot access ‘.sh’: No such file or directory", "stderr_lines": ["chmod: cannot access ‘*.sh’: No such file or directory"], "stdout": "", "stdout_lines": []}

ken-tolwyn commented 4 years ago

Hi ppierrondi, Oracle has redesigned the OCI ansible modules, this code has not yet been changed to handle this new version.

Regards, Ken