You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have installed the collection then used a playbook to run this
ansible version is 2.10.6
Playbook is
hosts: all
collections:
nginxinc.nginx_core
roles:
role: nginx
Using debian buster get a message debian supported
"msg": "Your OS, Debian is supported by NGINX Open Source"
then an error and then stops not sure why it is checking for apline when it has alredy checked that it is debian?
TASK [nginxinc.nginx_core.nginx : Install dependencies] ********************************************************************************************************
fatal: [abc]: FAILED! => {"reason": "couldn't resolve module/action 'apk'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/home/abc/ansibleplaybooks/ansible_collections/nginxinc/nginx_core/roles/nginx/tasks/prerequisites/install-dependencies.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: (Alpine Linux) Install dependencies\n ^ here\n"}.
The text was updated successfully, but these errors were encountered:
How did you install Ansible? Looks like you only installed Ansible core. You'll also need to install the community.general and ansible.posix collections. You can find more info here https://github.com/nginxinc/ansible-role-nginx#ansible.
I have installed the collection then used a playbook to run this
ansible version is 2.10.6
Playbook is
collections:
roles:
Using debian buster get a message debian supported
"msg": "Your OS, Debian is supported by NGINX Open Source"
then an error and then stops not sure why it is checking for apline when it has alredy checked that it is debian?
TASK [nginxinc.nginx_core.nginx : Install dependencies] ********************************************************************************************************
fatal: [abc]: FAILED! => {"reason": "couldn't resolve module/action 'apk'. This often indicates a misspelling, missing collection, or incorrect module path.\n\nThe error appears to be in '/home/abc/ansibleplaybooks/ansible_collections/nginxinc/nginx_core/roles/nginx/tasks/prerequisites/install-dependencies.yml': line 2, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n---\n- name: (Alpine Linux) Install dependencies\n ^ here\n"}.
The text was updated successfully, but these errors were encountered: