How run the Volttron playbook install-platform.yml with Ansible

50 Views Asked by At

First I install the Volttron recipes via

ansible-galaxy install git+https://github.com/volttron/volttron-ansible.git

Then Verify the install

ansible-galaxy list

# /Users/username/.ansible/roles
 - volttron-ansible, (unknown version)

Then I setup the host and try to run the playbook

ansible-playbook -K \
                 -i $TEST_HOST \
                 playbooks/install-platform.yml
    # TEST_HOST is the path the to host file

And I get the error:

ERROR! the role 'volttron.deployment.set_defaults' was not found in /Users/username/Development/iot/experiment-volttron/playbooks/roles:/Users/username/.ansible/roles/volttron-ansible:/Users/username/Development/iot/experiment-volttron/playbooks

The error appears to be in '/Users/username/Development/iot/experiment-volttron/playbooks/install-platform.yml': line 6, column 7, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  roles:
    - volttron.deployment.set_defaults
      ^ here

The Host connects correctly - and the roles seemed to be installed at /Users/username/.ansible/roles/volttron-ansible correctly.

Any suggestions?

0

There are 0 best solutions below