Scaleup Playbook Fails On node_system_container.yml With 'ERROR! no action defined in task.'

Solution Unverified - Updated -

Issue

Attempting to add nodes using the scaleup playbook fails.  The following output is seen:

$ ansible-playbook openshift-ansible/playbooks/byo/config.yml -i hosts 
[DEPRECATION WARNING]: 'include' for playbook includes. You should use 'import_playbook' instead. This feature will be removed in version 2.8. Deprecation warnings can 
be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions. This 
feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
[DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this 
rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.
The error appears to have been in '/usr/share/ansible/openshift-ansible/roles/etcd/tasks/system_container.yml': line 22, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Install or Update Etcd system container package
  ^ here

Environment

  • OpenShift Container Platform (OCP) 3.5 & 3.6
  • Ansible 2.4.1 (ansible-2.4.1.0-1.el7.noarch)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content