updated password sls
This commit is contained in:
parent
170e428905
commit
83320ea2a4
1 changed files with 2 additions and 2 deletions
|
@ -1,3 +1,3 @@
|
||||||
{%- set roles=salt.cmd.shell("grep -Po '(?<=- ).*' /srv/salt/"+saltenv+"/pillars/servers/roles/server/"+grains['host']+".sls | tr '\n' ' '") -%}
|
{%- from "roles.jinja" import roles with context %}
|
||||||
{%- set data=salt.cmd.shell('sudo bash ~/get_passwords.sh '+roles) -%}
|
{%- set data=salt.cmd.shell('sudo bash ~/get_passwords.sh '+roles | join(' ')) -%}
|
||||||
{{data | trim}}
|
{{data | trim}}
|
||||||
|
|
Loading…
Add table
Reference in a new issue