eoli3n / dotfiles

Sway acid dark
500 stars 67 forks source link

Error in main.yml #4

Closed Vinetos closed 6 years ago

Vinetos commented 6 years ago

Hi ! I have cloned the repo and launch the script but I've got this error :

[vinetos@vinetos-ant dotfiles]$ ./install.sh desktop
### LIST TASKS #################################################################
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here

exception type: <class 'ansible.errors.AnsibleParserError'>
exception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here
Do you want to dryrun ? (y/N)
y
### DRYRUN ###################################################################
SUDO password: 
ERROR! no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here

exception type: <class 'ansible.errors.AnsibleParserError'>
exception: no action detected in task. This often indicates a misspelled module name, or incorrect module path.

The error appears to have been in '/home/vinetos/Documents/dotfiles/roles/cursor/tasks/main.yml': line 2, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

---
- name: Install Cursors
  ^ here

How can i fix this ?

Vinetos commented 6 years ago

We have to update submodules. So, Fixed with this two commands : git submodule update --init --recursive Then git submodule update --recursive --remote

Maybe update the README.md :+1:

eoli3n commented 6 years ago

Did you clone the repo with --recursive ? As https://github.com/eoli3n/dotfiles/blob/master/README.md#installation

Vinetos commented 6 years ago

Yeah but I had to force pull the submodules