add force register default

This commit is contained in:
willtome
2023-03-08 16:01:20 -05:00
parent b27a991e74
commit 4897123870
2 changed files with 2 additions and 0 deletions

View File

@@ -2,3 +2,4 @@
instance_name: "{{ inventory_hostname | regex_replace('_', '-') }}" instance_name: "{{ inventory_hostname | regex_replace('_', '-') }}"
activation_key: "{{ 'RHEL' + ansible_distribution_major_version + '_' + env }}" activation_key: "{{ 'RHEL' + ansible_distribution_major_version + '_' + env }}"
rex_user: root # "{{ ansible_user }}" rex_user: root # "{{ ansible_user }}"
force_register: true

View File

@@ -41,6 +41,7 @@
activationkey: "{{ activation_key }}" activationkey: "{{ activation_key }}"
consumer_name: "{{ instance_name }}" consumer_name: "{{ instance_name }}"
org_id: "{{ org_id | default('Default_Organization') }}" org_id: "{{ org_id | default('Default_Organization') }}"
force_register: "{{ force_register }}"
throttle: 1 throttle: 1
- name: Include repos - name: Include repos