make sure /usr/local/bin exists before isntall srcpkgs
This commit is contained in:
@@ -124,6 +124,14 @@
|
||||
loop_var: tappkg
|
||||
when: ansible_os_family == 'Darwin'
|
||||
|
||||
- name: ensure /usr/local/bin exists
|
||||
ansible.builtin.file:
|
||||
state: directory
|
||||
path: /usr/local/bin
|
||||
owner: root
|
||||
mode: '0755'
|
||||
become: true
|
||||
|
||||
- name: install srcpkgs
|
||||
ansible.builtin.include_tasks:
|
||||
file: "build/{{ srcpkg }}.yml"
|
||||
|
||||
Reference in New Issue
Block a user