Power

 View Only

Ansible aix_bootstrap issue

  • 1.  Ansible aix_bootstrap issue

    Posted Mon February 19, 2024 03:19 PM

    I am trying to set up all my aix with Ansible and keep getting an error message.

    Any help would be greatly appreciated

    ERROR! couldn't resolve module/action 'filesystem'. This often indicates a misspelling, missing collection, or incorrect module path.
     
    The error appears to be in '/var/lib/awx/projects/collections/ansible_collections/ibm/power_aix/roles/power_aix_bootstrap/tasks/dnf_install.yml': line 53, column 7, but may
    be elsewhere in the file depending on the exact syntax problem.
     
    The offending line appears to be:
     
     
        - name: Create target filesystem "{{ target_dir }}" for image transfer if it does not exist.
          ^ here
    We could be wrong, but this one looks like it might be an issue with
    missing quotes. Always quote template expression brackets when they
    start a value. For instance:
     
        with_items:
          - {{ foo }}
     
    Should be written as:
     
        with_items:
          - "{{ foo }}"



    ------------------------------
    Steven Hansell
    ------------------------------