Add nodepool_user_shell variable

Expose the ability for a user to override the default shell.

Change-Id: I27d872ba6c626c65f2d66ab292cbeb10af3f5203
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-07-28 19:51:41 -04:00
parent 7ef2873b48
commit afd7ce2c9e
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
2 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,7 @@ nodepool_task_manager:
nodepool_user_name: nodepool
nodepool_user_group: nodepool
nodepool_user_home: /var/lib/nodepool
# nodepool_user_shell:
nodepool_file_nodepool_yaml_dest: /etc/nodepool/nodepool.yaml
nodepool_file_nodepool_yaml_group: "{{ nodepool_user_group }}"

View File

@ -24,3 +24,4 @@
group: "{{ nodepool_user_group }}"
home: "{{ nodepool_user_home }}"
name: "{{ nodepool_user_name }}"
shell: "{{ nodepool_user_shell|default(omit) }}"