Saturday, 28 July 2018

Help securing passwords


Hi,Can someone help me with the below please?I have a role with the following task inroles/passwd/tasks/main.ymlname: Change user1 password  user: name=user1 update_password=always password=I have this variable in my group varsinventories/reporting/all.ymluser1_password: "user1passwd"The task runs without issue but if I try to login with user1 and user1passwd it does not workI want to move the var out of all.yml and into a vault but I am not sure how ansible will find the password if its not in all.yml?Thanks,Phil

No comments:

Post a Comment