Use variable for bash location. Different on FreeBSD 11 (userspace) vs 12 (system)?
This commit is contained in:
parent
6633e62c77
commit
f9eeccb3e7
@ -8,6 +8,10 @@
|
||||
comment: Ansible
|
||||
system: yes
|
||||
|
||||
# Get facts
|
||||
- name: Locate bash
|
||||
shell: which bash
|
||||
register: bash_exec
|
||||
|
||||
# Superuser
|
||||
- name: Create User Hyperling
|
||||
@ -17,7 +21,7 @@
|
||||
groups:
|
||||
- sudo
|
||||
append: yes
|
||||
shell: /bin/bash
|
||||
shell: "{{ bash_exec }}"
|
||||
create_home: yes
|
||||
generate_ssh_key: yes
|
||||
#password: "{{ ling_passwd }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user