Hi Everyone,

I am a newbie using ansible and trying to  write a playbook. I was 
encountering an issue with using set_fact variable in my play and not sure 
where i am going wrong . could any one correct me on this error. Thanks for 
your time


*Error*:









*ERROR! 'set_fact' is not a valid attribute for a PlayThe offending line 
appears to be:---- name: Debian | Set newrelic_loaded_os_family  ^ here*
while i was trying to set a variable for Debian installation of newrelic.
---
- name: Debian | Set newrelic_loaded_os_family
  set_fact:
    newrelic_loaded_os_family: "{{ ansible_os_family }}"


I have referred to http://docs.ansible.com/ansible/set_fact_module.html 


-- 
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 [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/a30ce166-f125-43b7-a108-f313ff482051%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to