Hi,

I'm trying to use redhat_subscription to register and subscribe hosts by pool 
ID, not subscription name. Is this
possible? As I have several subscriptions that overlap in some features I'd 
like to be explicit about which host gets
subscribed to which pool by using the unique pool ID. Currently the module 
failes to register and subscribe hosts.

Part of the role I'm using:

######
---
- include_vars: redhat_subscription.yml

- name: 'Red Hat subscription'
  redhat_subscription:
    state: present
    username: <username>
    password: "{{ redhat_password }}"
    pool: "{{ redhat_subscription_pool }}"
  when: ansible_distribution == "RedHat" and redhat_subscription_pool is defined
######

redhat_password is defined in redhat_subscription.yml while 
redhat_subscription_pool is defined in host_vars/*

Is using the pool ID explicitly currently not supported or am I doing something 
wrong here?


Thanks,

        Uwe

-- 
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/5708D71B.5080505%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to