From ef68c525dec9ba60a941d1a2e66817945ed97b08 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Mon, 27 Jun 2022 23:11:36 -0400 Subject: [PATCH] Lookup passwords from password-store --- hosts | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts b/hosts index eaf0dba..a5894b9 100644 --- a/hosts +++ b/hosts @@ -12,7 +12,6 @@ ipads: - Plasma Cutter, Hypertherm Powermax85 - MIG Welder, Miller 210 vars: - ansible_ssh_user: mobile - ansible_ssh_pass: alpine - ansible_become_pass: alpine + ansible_user: mobile + ansible_become_pass: "{{ lookup('passwordstore', 'servers/cms/mobile@ipads') | d(omit) }}" ansible_python_interpreter: /usr/bin/python2.7