unfetter icon indicating copy to clipboard operation
unfetter copied to clipboard

Syntax error in deploy.yml?

Open csharpe101 opened this issue 4 years ago • 1 comments

Hey, below is an output from my terminal command trying to deploy unfetter with the command "ansible-playbook deploy.yml". I have properly configured hosts.ini, hosts_vars, and group_vars files to my knowledge. But, I get the error that there is a syntax issue in a file I haven't touched, which prevents deployment. Can someone please help me fix this?

sensa@sensa-virtual-machine:~/unfetter-discover/unfetter/ansible$ ansible-playbook deploy.yml

ERROR! no action detected in task

The error appears to have been in '/home/sensa/unfetter-discover/unfetter/ansible/deploy.yml': line 14, column 5, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

tasks:

  • name: Start running the commands ^ here

csharpe101 avatar Jul 23 '19 13:07 csharpe101

Oh, and here is the whole deploy.yml file: ###############################################################################$

This playbook manages the target hosts and calls "discover-tasks.yml" workho$

playbook.

Specific target hosts can be built using the following:

ansible-playbook -i dev discover.yml

###############################################################################$

  • name: Deploy Playbook hosts: deployed

    tasks:

    • name: Start running the commands import_tasks: discover-tasks.yml

                             [ Read 15 lines ]
      

csharpe101 avatar Jul 23 '19 13:07 csharpe101