Using Homebrew install mailhog
and enable the service as instructed in the installation.
Open in any browser http://localhost:8025
Edit file /etc/postfix/main.cf
sudo vim /etc/postfix/main.cf
// Check if a slave has < 10 GB of free space, wipe out workspaces if it does | |
import hudson.model.*; | |
import hudson.util.*; | |
import jenkins.model.*; | |
import hudson.FilePath.FileCallable; | |
import hudson.slaves.OfflineCause; | |
import hudson.node_monitors.*; | |
for (node in Jenkins.instance.nodes) { |
--- | |
- hosts: hou-dc-repo | |
tasks: | |
- name: confirm apache createrepo rsync installed | |
yum: name={{item}} state=installed | |
with_items: | |
- httpd | |
- createrepo | |
- rsync | |
- name: create dirs for centos6 and EPEL repo |
Using Homebrew install mailhog
and enable the service as instructed in the installation.
Open in any browser http://localhost:8025
Edit file /etc/postfix/main.cf
sudo vim /etc/postfix/main.cf
# Based on https://blog.vandenbrand.org/2016/01/04/how-to-automate-your-mac-os-x-setup-with-ansible/ | |
# | |
- hosts: all | |
tasks: | |
- name: Current Dock names | |
shell: > | |
dockutil --list | | |
python -c 'import sys; [sys.stdout.write(line.split("\t")[0] + "\n") | |
for line in sys.stdin]' | |
register: dockitems |
#!/usr/bin/ruby | |
# WANT_JSON | |
# | |
# osx_service - Ansible module to manage launchd services on Mac OS X | |
# | |
# | |
# The MIT License (MIT) | |
# | |
# Copyright (c) 2016 Björn Albers <bjoernalbers@gmail.com> | |
# |