Adding option to disable the password for the manage account

This commit is contained in:
Tyler Hale 2022-07-09 11:41:46 -06:00
parent 3282c7f311
commit 1631adf57b
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -27,12 +27,6 @@
pool: '^(Red Hat Enterprise Server|Red Hat Virtualization)$'
when: ansible_distribution == 'RedHat' and base_redhat_subscription_org_id != "" and base_redhat_subscription_activationkey != ""
- name: Disable passsword for management account
user:
name: "{{ base_core_management_user }}"
password_lock: yes
when: base_core_management_user_disable_password == true
- name: "*** MOTD Configuration ***"
include_tasks:
file: core_motd.yml
@ -82,3 +76,9 @@
when: base_core_web_management == true
tags:
- web_management
- name: Disable passsword for management account
user:
name: "{{ base_core_management_user }}"
password_lock: yes
when: base_core_management_user_disable_password == true