check-install missing packages (#63)
* check-install missing packages * updated subcription manager installation * move subscription manager install up
This commit is contained in:
@@ -17,6 +17,12 @@
|
||||
hostname:
|
||||
name: "{{ inventory_hostname | regex_replace('_','-')}}"
|
||||
|
||||
# Install subscription-manager if it's not there
|
||||
- name: Install subscription-manager
|
||||
ansible.builtin.yum:
|
||||
name: subscription-manager
|
||||
state: present
|
||||
|
||||
- name: remove rhui client packages
|
||||
yum:
|
||||
name: rh-amazon-rhui-client*
|
||||
|
||||
@@ -5,6 +5,12 @@
|
||||
report_server: node1
|
||||
|
||||
tasks:
|
||||
# Install yum-utils if it's not there
|
||||
- name: Install yum-utils
|
||||
ansible.builtin.yum:
|
||||
name: yum-utils
|
||||
state: latest
|
||||
|
||||
- include_role:
|
||||
name: demo.patching.patch_linux
|
||||
|
||||
|
||||
Reference in New Issue
Block a user