Appreciate the responses so far everyone. I've indented the *path *line as 
suggested but still get the following error:


ERROR! no action detected in task. This often indicates a misspelled module 
name, or incorrect module path.

The error appears to have been in 'system_info.yaml': line 7, column 7, but 
may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

  tasks:
  - name: Read the CSV & Set Values
    ^ here


Here's the latest of what my file currently looks like:


---

- name: Import CSV Containing Info For System(s) To Prep
  hosts: 127.0.0.1

  tasks:
  - name: Read the CSV & Set Values
    read_csv:
      path: systems.csv
    register: systems
    delegate_to: localhost

   - set_fact:
       IP: "{{ systems.list.1.IPAddress }}"


A couple things I've tried:

1. I've tried playing around with the indentations of the *- name *and *- 
set_fact *where I've increased it by one indent.
2. I've tried referencing the absolute path of the *systems.csv *file 
within *path:* in case it wasn't able to find this for whatever reason. The 
csv file itself is in the same directory as the playbook as well, and since 
I'm not referencing a variable at this point, I'm not sure that I'd have to 
define a *systems *variable itself containing the path to the CSV file

I'm currently running *2.5.1 *as well and admittedly am new to Ansible.


-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/fd62e720-abea-4810-b281-4fa687e2dd6c%40googlegroups.com.

Reply via email to