-
Couldn't load subscription status.
- Fork 2
Open
Description
Hi there!
I'm trying to run this on Debian Stretch which is a bit newer than Centos 7 and Ubuntu 16.04. I'm getting some errors:
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/etc/ansible/roles/geerlingguy.apache/tasks/main.yml': line 16, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
# Setup/install tasks.
- include_tasks: "setup-{{ ansible_os_family }}.yml"
^ 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 }}"
The error appears to have been in '/etc/ansible/roles/geerlingguy.apache/tasks/main.yml': line 16, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
# Setup/install tasks.
- include_tasks: "setup-{{ ansible_os_family }}.yml"
^ 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 }}"`
I suspect this has to do with the ansible version. On Debian Stretch it is ansible 2.2.1.0.
Any insights would be appreciated. Thanks!
Metadata
Metadata
Assignees
Labels
No labels