Adding option to disable the password for the manage account
This commit is contained in:
parent
3282c7f311
commit
1631adf57b
1 changed files with 6 additions and 6 deletions
|
@ -27,12 +27,6 @@
|
||||||
pool: '^(Red Hat Enterprise Server|Red Hat Virtualization)$'
|
pool: '^(Red Hat Enterprise Server|Red Hat Virtualization)$'
|
||||||
when: ansible_distribution == 'RedHat' and base_redhat_subscription_org_id != "" and base_redhat_subscription_activationkey != ""
|
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 ***"
|
- name: "*** MOTD Configuration ***"
|
||||||
include_tasks:
|
include_tasks:
|
||||||
file: core_motd.yml
|
file: core_motd.yml
|
||||||
|
@ -82,3 +76,9 @@
|
||||||
when: base_core_web_management == true
|
when: base_core_web_management == true
|
||||||
tags:
|
tags:
|
||||||
- web_management
|
- 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
|
||||||
|
|
Loading…
Reference in a new issue