You've already forked ansible-role-unix-users
fix!: rename environments to envs
This commit is contained in:
@@ -7,9 +7,9 @@
|
||||
{% if authorized_key.command is defined and authorized_key.command | length > 0 %}
|
||||
{% set _args = _args + [ "command=\"" + authorized_key.command + "\"" ] %}
|
||||
{% endif %}
|
||||
{% if authorized_key.environments is defined %}
|
||||
{% if authorized_key.envs is defined %}
|
||||
{% set ns = namespace(envs=[]) %}
|
||||
{% for environment in authorized_key.environments %}
|
||||
{% for environment in authorized_key.envs %}
|
||||
{% if environment.key is defined and environment.key | length > 0 and
|
||||
environment.value is defined and environment.value | length > 0
|
||||
%}
|
||||
|
||||
Reference in New Issue
Block a user