569f43f79d
- Update README to point to role's new home on Ansible Galaxy - update rhsm.conf.j2 template so all options are variables - cleanup rhsm.conf.j2 template by removing comments and compressing lines - update README with new variables availble in rhsm.conf.j2 template - increase memory in RHEL6 test machine to prevent kernel panic - use different repos for RHEL6 and RHEL7 test VMs Change-Id: Iebd4a992ea1bf9c393f12d2d73c04011f4fe0603
21 lines
379 B
YAML
21 lines
379 B
YAML
- name: Ensure this is Red Hat
|
|
assert:
|
|
that: "ansible_distribution == 'RedHat'"
|
|
tags:
|
|
- rhsm
|
|
|
|
- name: Configure Red Hat Subscription Manager
|
|
template:
|
|
src: rhsm.conf.j2
|
|
dest: /etc/rhsm/rhsm.conf
|
|
owner: root
|
|
group: root
|
|
mode: 0644
|
|
tags:
|
|
- rhsm
|
|
- rhsm_conf
|
|
|
|
- import_tasks: "{{ rhsm_method | default('portal') }}.yml"
|
|
tags:
|
|
- rhsm
|