Syntax checks fails on first install

Bug #1824100 reported by Kai Bojens
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack-Ansible
Won't Fix
Undecided
Unassigned

Bug Description

- Ubuntu 18.04
- Latest OpenStack Ansible code

After editing all the config files I run "openstack-ansible setup-infrastructure.yml --syntax-check" and get the following errors:

ERROR! 'delegate_to' is not a valid attribute for a TaskInclude

The error appears to be in '/etc/ansible/roles/ceph-ansible/roles/ceph-mon/tasks/main.yml': line 20, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: include secure_cluster.yml
  ^ here

The error is fixed by deleting or commenting out the "delegate_to".

Second error:

ERROR! 'static' is not a valid attribute for a TaskInclude

The error appears to be in '/etc/ansible/roles/ceph-ansible/roles/ceph-osd/tasks/main.yml': line 67, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: include_tasks scenarios/lvm.yml
  ^ here

This error is also fixed by putting the # in front of "static: False".

Revision history for this message
Dmitriy Rabotyagov (noonedeadpunk) wrote :

This issue is related to ceph-ansible project rather then OpenStack-Ansible.
While we indeed provide some kind of integration with ceph-ansible, we are 2 distinct projects.

However I know that ceph-ansible worked nicely for a while without issues like this. But now ceph-ansible project is deprecated and we are due to find a replacement.

Changed in openstack-ansible:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.