We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 385c0ba commit cdd0628Copy full SHA for cdd0628
tasks/Darwin.yml
@@ -25,11 +25,13 @@
25
- name: xfreebird/utils
26
homebrew_installed_packages:
27
- xfreebird/utils/kcpassword
28
+ become: true
29
30
- name: Add kcpassword utility for autologin
31
community.general.homebrew:
32
name: kcpassword
33
state: present
34
35
36
- name: Set autoLoginUser
37
community.general.osx_defaults:
@@ -41,7 +43,10 @@
41
43
become: true
42
44
45
- name: Set the autologon password # noqa: no-changed-when
- ansible.builtin.command: /usr/local/bin/kcpassword "vagrant"
46
+ ansible.builtin.command:
47
+ cmd: kcpassword vagrant
48
+ environment:
49
+ PATH: "/opt/homebrew/bin:/usr/local/bin:{{ ansible_env.PATH }}"
50
51
52
- name: Set Europe/London time zone
0 commit comments