From f84fc1ae4e3813f6f84a4a5f9bcc25e096f78cdd Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Mon, 26 Apr 2021 01:21:01 +0700 Subject: [PATCH] Set default username --- metal/main.yml | 3 --- metal/roles/pxe-boot/defaults/main.yml | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) create mode 100644 metal/roles/pxe-boot/defaults/main.yml diff --git a/metal/main.yml b/metal/main.yml index 985dba14..a9eddee7 100644 --- a/metal/main.yml +++ b/metal/main.yml @@ -2,9 +2,6 @@ hosts: all gather_facts: no vars_prompt: - - name: os_username - prompt: Enter username for metal nodes - private: no - name: os_password prompt: Enter password for metal nodes roles: diff --git a/metal/roles/pxe-boot/defaults/main.yml b/metal/roles/pxe-boot/defaults/main.yml new file mode 100644 index 00000000..b40cbb55 --- /dev/null +++ b/metal/roles/pxe-boot/defaults/main.yml @@ -0,0 +1 @@ +os_username: centos