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
|
comment: Ansible
|
||||||
system: yes
|
system: yes
|
||||||
|
|
||||||
|
# Get facts
|
||||||
|
- name: Locate bash
|
||||||
|
shell: which bash
|
||||||
|
register: bash_exec
|
||||||
|
|
||||||
# Superuser
|
# Superuser
|
||||||
- name: Create User Hyperling
|
- name: Create User Hyperling
|
||||||
@ -17,7 +21,7 @@
|
|||||||
groups:
|
groups:
|
||||||
- sudo
|
- sudo
|
||||||
append: yes
|
append: yes
|
||||||
shell: /bin/bash
|
shell: "{{ bash_exec }}"
|
||||||
create_home: yes
|
create_home: yes
|
||||||
generate_ssh_key: yes
|
generate_ssh_key: yes
|
||||||
#password: "{{ ling_passwd }}"
|
#password: "{{ ling_passwd }}"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user