I have the following: 

  - name: router
  - name: request_router
    children: [router]
    vars:       
      component_script: 'requestrouter.sh'
      process_identifier: 'log4j-dxad-web.xml'
  - name: memcached_router
    children: [router]
    vars:       
      component_script: 'memcached-router.sh'
      process_identifier: 'log4j-memcached-router.xml'

When the following executes component_script equals requestrouter.sh when 
it should equal memcached-router.sh.

- hosts: memcached_router
  user: root
  vars_files:
    - vars/globals.yml
  tasks:
     - include: task-to-execute.yml.

How do I get component_script to be set as memcached-router.sh when using 
hosts: memcached_router?

-- 
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].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to