Test iso_extract on OS X.

This commit is contained in:
Matt Clay 2017-08-04 12:47:55 -07:00
parent 2cafb934eb
commit bf17cb6edd
2 changed files with 14 additions and 8 deletions

View file

@ -1,2 +1 @@
posix/ci/group1 posix/ci/group1
skip/osx

View file

@ -53,17 +53,24 @@
become: yes become: yes
when: ansible_distribution in ['Ubuntu'] when: ansible_distribution in ['Ubuntu']
# FIXME: The homebrew module no longer seems to work - name: Find brew binary
# "Error: Running Homebrew as root is extremely dangerous." command: which brew
register: brew_which
when: ansible_distribution in ['MacOSX']
- name: Get owner of brew binary
stat:
path: "{{ brew_which.stdout }}"
register: brew_stat
when: ansible_distribution in ['MacOSX']
- name: Install 7zip package if we are on MacOSX - name: Install 7zip package if we are on MacOSX
# macports:
# name: p7zip
# state: installed
# update_cache: yes
homebrew: homebrew:
name: p7zip name: p7zip
state: present state: present
update_homebrew: yes update_homebrew: no
become: yes
become_user: "{{ brew_stat.stat.pw_name }}"
when: ansible_distribution in ['MacOSX'] when: ansible_distribution in ['MacOSX']
- name: Install 7zip package if we are on FreeBSD - name: Install 7zip package if we are on FreeBSD