35b0fef536
* Use default group of staff on macos to prevent sudo issues * Install gnu-tar for macos in git and unarchive tests * Enable timezone module to support py3 on macos * If the virtualenv command is missing, try python -m virtualenv * Install passlib for filter_core on macos * Install paramiko via pip on macos for paramiko tests * Normalize discovered python interpreter on macos * Get pip tests passing, by ensuring we have wheel installed * Create /etc/ansible for ca certs on mac, list lookup_url as destructive * Fixups for CA certs * Include macos * Dynamically get cafile instead of hardcoding the path
18 lines
474 B
YAML
18 lines
474 B
YAML
- when: ansible_facts.distribution == 'MacOSX'
|
|
block:
|
|
- name: MACOS | Find brew binary
|
|
command: which brew
|
|
register: brew_which
|
|
|
|
- name: MACOS | Get owner of brew binary
|
|
stat:
|
|
path: "{{ brew_which.stdout }}"
|
|
register: brew_stat
|
|
|
|
- command: brew install gnu-tar
|
|
become: yes
|
|
become_user: "{{ brew_stat.stat.pw_name }}"
|
|
environment:
|
|
HOMEBREW_NO_AUTO_UPDATE: True
|
|
notify:
|
|
- uninstall gnu-tar
|