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 got this error while deploying with ansible 2.7.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/home/ansible/redhat-hana/ansible/playbooks/subscribe-rhn/tasks/main.yml': line 57, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
name: Set fix osrelease to "{{ reg_osrelease }}"
^ 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 }}"
After I set the lines as a commet the deployment process stopped here in the tasks.yml with the following error: fatal: [dc2hana01.example.com]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (rhsm_repository) module: purge Supported parameters include: name, state"}
I got this error while deploying with ansible 2.7.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/home/ansible/redhat-hana/ansible/playbooks/subscribe-rhn/tasks/main.yml': line 57, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
name: Set fix osrelease to "{{ reg_osrelease }}"
^ 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:
After I set the lines as a commet the deployment process stopped here in the tasks.yml with the following error: fatal: [dc2hana01.example.com]: FAILED! => {"changed": false, "msg": "Unsupported parameters for (rhsm_repository) module: purge Supported parameters include: name, state"}
rhsm_repository:
name: "{{ repositories }}"
purge: "{{ repo_reset }}"
state: enabled
when:
The text was updated successfully, but these errors were encountered: