Running on Ubuntu 16.04.3 we can see the following errors raised. These do not arise on earlier releases of Ansible. Other similar reports to the Ansible seem unclear as to the cause,
Fails with Ansible package: 2.0.0.2-2ubuntu1 Last known working, Ansible 1.8x.
Will look more at the Ansible later.
Details:
The error is:
[WARNING]: provided hosts list is empty, only localhost is available
ERROR! The handlers/main.yml file for role 'kubeadm' must contain a list of tasks
The error appears to have been in '/home/pete/OS/k8s-on-openstack/roles/kubeadm/tasks/main.yaml': line 1, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
Running on Ubuntu 16.04.3 we can see the following errors raised. These do not arise on earlier releases of Ansible. Other similar reports to the Ansible seem unclear as to the cause,
Fails with Ansible package: 2.0.0.2-2ubuntu1 Last known working, Ansible 1.8x.
Will look more at the Ansible later.
Details:
The error is:
[WARNING]: provided hosts list is empty, only localhost is available
ERROR! The handlers/main.yml file for role 'kubeadm' must contain a list of tasks
The error appears to have been in '/home/pete/OS/k8s-on-openstack/roles/kubeadm/tasks/main.yaml': line 1, column 1, but may be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be: