From 2aa633d884c53cf95842a94f1ea80272f56d1030 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 3 Nov 2019 21:46:19 -0800 Subject: [PATCH] migration for mediaserver to docker in testing. mounting the drive looks like its working now --- ansible-vars.all | 4230 ----------------- ansible.cfg | 2 +- inventory/home.yaml | 111 +- playbook/docker/mediaserver/hydra.yml | 27 +- playbook/docker/mediaserver/mediaserver.yml | 42 + playbook/docker/mediaserver/mount.yml | 18 + playbook/docker/mediaserver/nzbget.yml | 35 + playbook/docker/mediaserver/sonarr.yml | 37 + playbook/docker/mediaserver/vars.yml | 17 + playbook/linux/auto-securityupdates.yml | 17 - playbook/linux/common.yml | 34 + playbook/linux/elastic/elastic-7.x.list | 1 - playbook/linux/elastic/install-client.yml | 40 - playbook/linux/elastic/install-repo.yml | 29 - .../linux/elastic/install-role-filebeat.yml | 14 - .../linux/elastic/install-role-metricbeat.yml | 16 - .../linux/elastic/install-role-winlogbeat.yml | 16 - playbook/linux/elastic/install-server.yml | 62 - playbook/linux/elastic/install-win-client.yml | 27 - playbook/linux/elastic/role-test.yml | 35 - playbook/linux/install-awx.yml | 4 +- playbook/linux/install-powershell.yml | 34 - 22 files changed, 283 insertions(+), 4565 deletions(-) delete mode 100644 ansible-vars.all create mode 100644 playbook/docker/mediaserver/mediaserver.yml create mode 100644 playbook/docker/mediaserver/mount.yml create mode 100644 playbook/docker/mediaserver/nzbget.yml create mode 100644 playbook/docker/mediaserver/sonarr.yml delete mode 100644 playbook/linux/auto-securityupdates.yml create mode 100644 playbook/linux/common.yml delete mode 100644 playbook/linux/elastic/elastic-7.x.list delete mode 100644 playbook/linux/elastic/install-client.yml delete mode 100644 playbook/linux/elastic/install-repo.yml delete mode 100644 playbook/linux/elastic/install-role-filebeat.yml delete mode 100644 playbook/linux/elastic/install-role-metricbeat.yml delete mode 100644 playbook/linux/elastic/install-role-winlogbeat.yml delete mode 100644 playbook/linux/elastic/install-server.yml delete mode 100644 playbook/linux/elastic/install-win-client.yml delete mode 100644 playbook/linux/elastic/role-test.yml delete mode 100644 playbook/linux/install-powershell.yml diff --git a/ansible-vars.all b/ansible-vars.all deleted file mode 100644 index d0834c0..0000000 --- a/ansible-vars.all +++ /dev/null @@ -1,4230 +0,0 @@ -Module Variables ("vars"): --------------------------------- -{ - "ansible_XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "ansible_all_ipv4_addresses": [ - "192.168.0.34" - ], - "ansible_all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_apparmor": { - "status": "disabled" - }, - "ansible_architecture": "x86_64", - "ansible_awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_check_mode": false, - "ansible_date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "ansible_default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_default_ipv6": {}, - "ansible_diff_mode": false, - "ansible_distribution": "MacOSX", - "ansible_distribution_major_version": "10", - "ansible_distribution_release": "19.0.0", - "ansible_distribution_version": "10.15", - "ansible_dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "ansible_domain": "domain", - "ansible_effective_group_id": 20, - "ansible_effective_user_id": 501, - "ansible_en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "ansible_facts": { - "XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "all_ipv4_addresses": [ - "192.168.0.34" - ], - "all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_local": {}, - "apparmor": { - "status": "disabled" - }, - "architecture": "x86_64", - "awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "default_ipv6": {}, - "distribution": "MacOSX", - "distribution_major_version": "10", - "distribution_release": "19.0.0", - "distribution_version": "10.15", - "dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "domain": "domain", - "effective_group_id": 20, - "effective_user_id": 501, - "en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "fips": false, - "fqdn": "macbook-pro-4.domain", - "gather_subset": [ - "all" - ], - "gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "hostname": "MacBook-Pro-4", - "interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "is_chroot": false, - "iscsi_iqn": "", - "kernel": "19.0.0", - "llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "lsb": {}, - "machine": "x86_64", - "memfree_mb": 94, - "memtotal_mb": 16384, - "model": "MacBookPro11,2", - "module_setup": true, - "nodename": "MacBook-Pro-4.domain", - "os_family": "Darwin", - "osrevision": "199506", - "osversion": "19A583", - "p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "pkg_mgr": "homebrew", - "processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "processor_cores": "4", - "processor_vcpus": "8", - "python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "python_version": "2.7.16", - "real_group_id": 20, - "real_user_id": 501, - "selinux": { - "status": "Missing selinux Python library" - }, - "selinux_python_present": false, - "service_mgr": "launchd", - "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "system": "Darwin", - "user_dir": "/Users/jamestombleson", - "user_gecos": "James Tombleson", - "user_gid": 20, - "user_id": "jamestombleson", - "user_shell": "/bin/zsh", - "user_uid": 501, - "userspace_architecture": "x86_64", - "userspace_bits": "64", - "utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "virtualization_role": "", - "virtualization_type": "" - }, - "ansible_fips": false, - "ansible_forks": 5, - "ansible_fqdn": "macbook-pro-4.domain", - "ansible_gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_hostname": "MacBook-Pro-4", - "ansible_interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_is_chroot": false, - "ansible_iscsi_iqn": "", - "ansible_kernel": "19.0.0", - "ansible_llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "ansible_local": {}, - "ansible_lsb": {}, - "ansible_machine": "x86_64", - "ansible_memfree_mb": 94, - "ansible_memtotal_mb": 16384, - "ansible_model": "MacBookPro11,2", - "ansible_nodename": "MacBook-Pro-4.domain", - "ansible_os_family": "Darwin", - "ansible_osrevision": "199506", - "ansible_osversion": "19A583", - "ansible_p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_password": "Pm98cdLm38iq", - "ansible_pkg_mgr": "homebrew", - "ansible_play_batch": [ - "127.0.0.1" - ], - "ansible_play_hosts": [ - "127.0.0.1" - ], - "ansible_play_hosts_all": [ - "127.0.0.1" - ], - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "ansible_processor_cores": "4", - "ansible_processor_vcpus": "8", - "ansible_python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "ansible_python_version": "2.7.16", - "ansible_real_group_id": 20, - "ansible_real_user_id": 501, - "ansible_run_tags": [ - "all" - ], - "ansible_selinux": { - "status": "Missing selinux Python library" - }, - "ansible_selinux_python_present": false, - "ansible_service_mgr": "launchd", - "ansible_skip_tags": [], - "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "ansible_stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_system": "Darwin", - "ansible_user": "jamestombleson", - "ansible_user_dir": "/Users/jamestombleson", - "ansible_user_gecos": "James Tombleson", - "ansible_user_gid": 20, - "ansible_user_id": "jamestombleson", - "ansible_user_shell": "/bin/zsh", - "ansible_user_uid": 501, - "ansible_userspace_architecture": "x86_64", - "ansible_userspace_bits": "64", - "ansible_utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "ansible_virtualization_role": "", - "ansible_virtualization_type": "", - "environment": [], - "gather_subset": [ - "all" - ], - "group_names": [ - "osx" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "hostvars": { - "127.0.0.1": { - "ansible_XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "ansible_all_ipv4_addresses": [ - "192.168.0.34" - ], - "ansible_all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_apparmor": { - "status": "disabled" - }, - "ansible_architecture": "x86_64", - "ansible_awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_check_mode": false, - "ansible_date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "ansible_default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_default_ipv6": {}, - "ansible_diff_mode": false, - "ansible_distribution": "MacOSX", - "ansible_distribution_major_version": "10", - "ansible_distribution_release": "19.0.0", - "ansible_distribution_version": "10.15", - "ansible_dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "ansible_domain": "domain", - "ansible_effective_group_id": 20, - "ansible_effective_user_id": 501, - "ansible_en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "ansible_facts": { - "XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "all_ipv4_addresses": [ - "192.168.0.34" - ], - "all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_local": {}, - "apparmor": { - "status": "disabled" - }, - "architecture": "x86_64", - "awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "default_ipv6": {}, - "distribution": "MacOSX", - "distribution_major_version": "10", - "distribution_release": "19.0.0", - "distribution_version": "10.15", - "dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "domain": "domain", - "effective_group_id": 20, - "effective_user_id": 501, - "en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "fips": false, - "fqdn": "macbook-pro-4.domain", - "gather_subset": [ - "all" - ], - "gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "hostname": "MacBook-Pro-4", - "interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "is_chroot": false, - "iscsi_iqn": "", - "kernel": "19.0.0", - "llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "lsb": {}, - "machine": "x86_64", - "memfree_mb": 94, - "memtotal_mb": 16384, - "model": "MacBookPro11,2", - "module_setup": true, - "nodename": "MacBook-Pro-4.domain", - "os_family": "Darwin", - "osrevision": "199506", - "osversion": "19A583", - "p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "pkg_mgr": "homebrew", - "processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "processor_cores": "4", - "processor_vcpus": "8", - "python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "python_version": "2.7.16", - "real_group_id": 20, - "real_user_id": 501, - "selinux": { - "status": "Missing selinux Python library" - }, - "selinux_python_present": false, - "service_mgr": "launchd", - "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "system": "Darwin", - "user_dir": "/Users/jamestombleson", - "user_gecos": "James Tombleson", - "user_gid": 20, - "user_id": "jamestombleson", - "user_shell": "/bin/zsh", - "user_uid": 501, - "userspace_architecture": "x86_64", - "userspace_bits": "64", - "utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "virtualization_role": "", - "virtualization_type": "" - }, - "ansible_fips": false, - "ansible_forks": 5, - "ansible_fqdn": "macbook-pro-4.domain", - "ansible_gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_hostname": "MacBook-Pro-4", - "ansible_interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_is_chroot": false, - "ansible_iscsi_iqn": "", - "ansible_kernel": "19.0.0", - "ansible_llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "ansible_local": {}, - "ansible_lsb": {}, - "ansible_machine": "x86_64", - "ansible_memfree_mb": 94, - "ansible_memtotal_mb": 16384, - "ansible_model": "MacBookPro11,2", - "ansible_nodename": "MacBook-Pro-4.domain", - "ansible_os_family": "Darwin", - "ansible_osrevision": "199506", - "ansible_osversion": "19A583", - "ansible_p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_password": "Pm98cdLm38iq", - "ansible_pkg_mgr": "homebrew", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "ansible_processor_cores": "4", - "ansible_processor_vcpus": "8", - "ansible_python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "ansible_python_version": "2.7.16", - "ansible_real_group_id": 20, - "ansible_real_user_id": 501, - "ansible_run_tags": [ - "all" - ], - "ansible_selinux": { - "status": "Missing selinux Python library" - }, - "ansible_selinux_python_present": false, - "ansible_service_mgr": "launchd", - "ansible_skip_tags": [], - "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "ansible_stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_system": "Darwin", - "ansible_user": "jamestombleson", - "ansible_user_dir": "/Users/jamestombleson", - "ansible_user_gecos": "James Tombleson", - "ansible_user_gid": 20, - "ansible_user_id": "jamestombleson", - "ansible_user_shell": "/bin/zsh", - "ansible_user_uid": 501, - "ansible_userspace_architecture": "x86_64", - "ansible_userspace_bits": "64", - "ansible_utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "ansible_virtualization_role": "", - "ansible_virtualization_type": "", - "gather_subset": [ - "all" - ], - "group_names": [ - "osx" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "127.0.0.1", - "inventory_hostname_short": "127", - "module_setup": true, - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - }, - "192.168.0.2": { - "ansible_check_mode": false, - "ansible_connection": "winrm", - "ansible_diff_mode": false, - "ansible_facts": {}, - "ansible_forks": 5, - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_password": "", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_port": 5986, - "ansible_run_tags": [ - "all" - ], - "ansible_skip_tags": [], - "ansible_user": "ansible", - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "ansible_winrm_scheme": "https", - "ansible_winrm_server_cert_validation": "ignore", - "group_names": [ - "windows" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "192.168.0.2", - "inventory_hostname_short": "192", - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - }, - "192.168.0.60": { - "ansible_become_method": "sudo", - "ansible_become_pass": "Lm38iq", - "ansible_check_mode": false, - "ansible_connection": "ssh", - "ansible_diff_mode": false, - "ansible_facts": {}, - "ansible_forks": 5, - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_password": "Lm38iq", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_python_interpreter": "/usr/bin/python3", - "ansible_run_tags": [ - "all" - ], - "ansible_skip_tags": [], - "ansible_user": "ansible", - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "group_names": [ - "elastic", - "jenkins", - "linux", - "sensu_masters", - "sensu_rabbitmq_servers", - "sensu_redis_servers" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "192.168.0.60", - "inventory_hostname_short": "192", - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - } - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "127.0.0.1", - "inventory_hostname_short": "127", - "module_setup": true, - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "play_hosts": [ - "127.0.0.1" - ], - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook", - "role_names": [] -} - -Environment Variables ("environment"): --------------------------------- -[] - -GROUP NAMES Variables ("group_names"): --------------------------------- -[ - "osx" -] - -GROUPS Variables ("groups"): --------------------------------- -{ - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] -} - -HOST Variables ("hostvars"): --------------------------------- -{ - "127.0.0.1": { - "ansible_XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "ansible_all_ipv4_addresses": [ - "192.168.0.34" - ], - "ansible_all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_apparmor": { - "status": "disabled" - }, - "ansible_architecture": "x86_64", - "ansible_awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_check_mode": false, - "ansible_date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "ansible_default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_default_ipv6": {}, - "ansible_diff_mode": false, - "ansible_distribution": "MacOSX", - "ansible_distribution_major_version": "10", - "ansible_distribution_release": "19.0.0", - "ansible_distribution_version": "10.15", - "ansible_dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "ansible_domain": "domain", - "ansible_effective_group_id": 20, - "ansible_effective_user_id": 501, - "ansible_en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "ansible_facts": { - "XHC20": { - "device": "XHC20", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "0", - "type": "unknown" - }, - "all_ipv4_addresses": [ - "192.168.0.34" - ], - "all_ipv6_addresses": [ - "fe80::421:ab7:8eea:ae1b%en0", - "fe80::2828:d6ff:fe5e:de8%awdl0", - "fe80::2828:d6ff:fe5e:de8%llw0", - "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "fe80::ede1:8366:c98:a7b1%utun1", - "fe80::583d:52ab:afc:8a7f%utun2", - "fe80::4adc:23a1:e517:35f1%utun3", - "fe80::32f7:6f62:3d81:5cba%utun4", - "fe80::ed73:d6b:d97a:cf4f%utun5", - "fe80::3636:3bff:fecf:f2b2%ipsec0", - "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7" - ], - "ansible_local": {}, - "apparmor": { - "status": "disabled" - }, - "architecture": "x86_64", - "awdl0": { - "device": "awdl0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%awdl0", - "prefix": "64", - "scope": "0x7" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1484", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "bridge0": { - "device": "bridge0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "Unknown", - "media_type": "unknown type", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "inactive", - "type": "ether" - }, - "date_time": { - "date": "2019-10-18", - "day": "18", - "epoch": "1571450977", - "hour": "19", - "iso8601": "2019-10-19T02:09:37Z", - "iso8601_basic": "20191018T190937748074", - "iso8601_basic_short": "20191018T190937", - "iso8601_micro": "2019-10-19T02:09:37.748159Z", - "minute": "09", - "month": "10", - "second": "37", - "time": "19:09:37", - "tz": "PDT", - "tz_offset": "-0700", - "weekday": "Friday", - "weekday_number": "5", - "weeknumber": "41", - "year": "2019" - }, - "default_ipv4": { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "gateway": "192.168.0.1", - "interface": "en0", - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "netmask": "255.255.255.0", - "network": "192.168.0.0", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "default_ipv6": {}, - "distribution": "MacOSX", - "distribution_major_version": "10", - "distribution_release": "19.0.0", - "distribution_version": "10.15", - "dns": { - "domain": "domain", - "nameservers": [ - "192.168.0.1", - "192.168.0.1" - ] - }, - "domain": "domain", - "effective_group_id": 20, - "effective_user_id": 501, - "en0": { - "device": "en0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [ - { - "address": "192.168.0.34", - "broadcast": "192.168.0.255", - "netmask": "255.255.255.0", - "network": "192.168.0.0" - } - ], - "ipv6": [ - { - "address": "fe80::421:ab7:8eea:ae1b%en0", - "prefix": "64" - } - ], - "macaddress": "34:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "en1": { - "device": "en1", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:00", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "en2": { - "device": "en2", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "PROMISC", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "82:0f:22:2a:5f:01", - "media": "Unknown", - "media_select": "autoselect", - "media_type": "full-duplex", - "mtu": "1500", - "options": [ - "TSO4", - "TSO6", - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "env": { - "HOME": "/Users/jamestombleson", - "LOGNAME": "jamestombleson", - "MAIL": "/var/mail/jamestombleson", - "PATH": "/usr/bin:/bin:/usr/sbin:/sbin", - "PWD": "/Users/jamestombleson", - "SHELL": "/bin/zsh", - "SHLVL": "1", - "SSH_CLIENT": "127.0.0.1 63351 22", - "SSH_CONNECTION": "127.0.0.1 63351 127.0.0.1 22", - "SSH_TTY": "/dev/ttys005", - "TERM": "xterm-256color", - "TMPDIR": "/var/folders/r3/7kdlrnn518x4653b3rk0z8000000gn/T/", - "USER": "jamestombleson", - "VERSIONER_PYTHON_VERSION": "2.7", - "_": "/usr/bin/python", - "__CF_USER_TEXT_ENCODING": "0x1F5:0x0:0x0" - }, - "fips": false, - "fqdn": "macbook-pro-4.domain", - "gather_subset": [ - "all" - ], - "gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "hostname": "MacBook-Pro-4", - "interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "is_chroot": false, - "iscsi_iqn": "", - "kernel": "19.0.0", - "llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "lsb": {}, - "machine": "x86_64", - "memfree_mb": 94, - "memtotal_mb": 16384, - "model": "MacBookPro11,2", - "module_setup": true, - "nodename": "MacBook-Pro-4.domain", - "os_family": "Darwin", - "osrevision": "199506", - "osversion": "19A583", - "p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "pkg_mgr": "homebrew", - "processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "processor_cores": "4", - "processor_vcpus": "8", - "python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "python_version": "2.7.16", - "real_group_id": 20, - "real_user_id": 501, - "selinux": { - "status": "Missing selinux Python library" - }, - "selinux_python_present": false, - "service_mgr": "launchd", - "ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "system": "Darwin", - "user_dir": "/Users/jamestombleson", - "user_gecos": "James Tombleson", - "user_gid": 20, - "user_id": "jamestombleson", - "user_shell": "/bin/zsh", - "user_uid": 501, - "userspace_architecture": "x86_64", - "userspace_bits": "64", - "utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "virtualization_role": "", - "virtualization_type": "" - }, - "ansible_fips": false, - "ansible_forks": 5, - "ansible_fqdn": "macbook-pro-4.domain", - "ansible_gif0": { - "device": "gif0", - "flags": [ - "POINTOPOINT", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_hostname": "MacBook-Pro-4", - "ansible_interfaces": [ - "XHC20", - "awdl0", - "bridge0", - "en0", - "en1", - "en2", - "gif0", - "ipsec0", - "llw0", - "lo0", - "p2p0", - "stf0", - "utun0", - "utun1", - "utun2", - "utun3", - "utun4", - "utun5" - ], - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_ipsec0": { - "device": "ipsec0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::3636:3bff:fecf:f2b2%ipsec0", - "prefix": "64", - "scope": "0x12" - }, - { - "address": "2607:fb90:cc1:58dc:6b1:7b3a:6b5d:fad7", - "prefix": "64" - } - ], - "macaddress": "unknown", - "mtu": "50000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_is_chroot": false, - "ansible_iscsi_iqn": "", - "ansible_kernel": "19.0.0", - "ansible_llw0": { - "device": "llw0", - "flags": [ - "UP", - "BROADCAST", - "SMART", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::2828:d6ff:fe5e:de8%llw0", - "prefix": "64", - "scope": "0x8" - } - ], - "macaddress": "2a:28:d6:5e:0d:e8", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "1500", - "options": [ - "PERFORMNUD", - "DAD" - ], - "status": "active", - "type": "ether" - }, - "ansible_lo0": { - "device": "lo0", - "flags": [ - "UP", - "LOOPBACK", - "RUNNING", - "MULTICAST" - ], - "ipv4": [ - { - "address": "127.0.0.1", - "broadcast": "127.255.255.255", - "netmask": "255.0.0.0", - "network": "127.0.0.0" - } - ], - "ipv6": [ - { - "address": "::1", - "prefix": "128" - }, - { - "address": "fe80::1%lo0", - "prefix": "64", - "scope": "0x1" - } - ], - "macaddress": "unknown", - "mtu": "16384", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "loopback" - }, - "ansible_local": {}, - "ansible_lsb": {}, - "ansible_machine": "x86_64", - "ansible_memfree_mb": 94, - "ansible_memtotal_mb": 16384, - "ansible_model": "MacBookPro11,2", - "ansible_nodename": "MacBook-Pro-4.domain", - "ansible_os_family": "Darwin", - "ansible_osrevision": "199506", - "ansible_osversion": "19A583", - "ansible_p2p0": { - "device": "p2p0", - "flags": [ - "UP", - "BROADCAST", - "RUNNING", - "SIMPLEX", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [], - "macaddress": "06:36:3b:cf:f2:b2", - "media": "Unknown", - "media_select": "autoselect", - "mtu": "2304", - "options": [ - "CHANNEL_IO" - ], - "status": "inactive", - "type": "ether" - }, - "ansible_password": "Pm98cdLm38iq", - "ansible_pkg_mgr": "homebrew", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_processor": "Intel(R) Core(TM) i7-4770HQ CPU @ 2.20GHz", - "ansible_processor_cores": "4", - "ansible_processor_vcpus": "8", - "ansible_python": { - "executable": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "has_sslcontext": true, - "type": "CPython", - "version": { - "major": 2, - "micro": 16, - "minor": 7, - "releaselevel": "final", - "serial": 0 - }, - "version_info": [ - 2, - 7, - 16, - "final", - 0 - ] - }, - "ansible_python_version": "2.7.16", - "ansible_real_group_id": 20, - "ansible_real_user_id": 501, - "ansible_run_tags": [ - "all" - ], - "ansible_selinux": { - "status": "Missing selinux Python library" - }, - "ansible_selinux_python_present": false, - "ansible_service_mgr": "launchd", - "ansible_skip_tags": [], - "ansible_ssh_host_key_dsa_public": "AAAAB3NzaC1kc3MAAACBANaOKYJdhj0tZBxpolab3EOj5QIOPtKRCcuSopZyEHnqROCHsPSfITy9XsDCAuFpdnkWmyPWE6Phix4BHFq3X+ArP0hHZWxl8zF5nRss25WgtJg/ntJJ3kK8F7ldkqd89HISMnwkCJTp99842x0pFfPn5/hDJfStGXnTcABj/GPnAAAAFQCXBgShNVEh9ddQR32k1I4nxojRZQAAAIBhf04evMhdXIjhD8swgtp8DJkaZ0Nd7eXcJIiuSOdHwtffaBH1llL2L0vELrvLtvJSTEpnh000mqlRoX8C0wSC20SoWV5ul4kxvdmliXvO2BhG0XXfUOvqPxt9+W1KDv+9xvbembAfJvWJ1VDUJb/tXRpw+/Hz4pviuKLQ9CPR/wAAAIBIy04P3TZ7h7UN+mYhld+YKR2ei6HAGooF4uaGxPh1xzZtLUyidFg3+iPU0AMAZfHzB01ZLMqsJSXutZnJ5twmmyMef55c+YZpw9aBMCWZzhbrPoowoly86c6Aq6zwEiyiCeMrdnXcTouh12MpmfzgfT7j7LiyZsLtvQQVCp6Y8w==", - "ansible_ssh_host_key_ecdsa_public": "AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLkhDLo+ofDRAYNdnntLko5AFFw5yfeW15JOtfFsq04LvBDT6ZvEx8rRLiCSnaXMdDjlvj/gU6LYJTWM+5MPeKc=", - "ansible_ssh_host_key_ed25519_public": "AAAAC3NzaC1lZDI1NTE5AAAAIAs4JsI/X77ORabsqAt2Kv/LKXtlvXvYi6L11wF6sLSG", - "ansible_ssh_host_key_rsa_public": "AAAAB3NzaC1yc2EAAAADAQABAAABAQDFMVMTbD4rv09xtTpJPIGjitvK0Ell5m+BGUjP3q8c+CloxwVmHhx3MDLz4CnAp+FpqfZRO2nxbPgbw+FAkhlPy08IWKbO9Ttm31tRDQT87P4dcF59lfWJ0lt9z0ZW81GeztH0pQEB/ug9LYgJjUSBlqKPfwNDbmeWZzqMnCfXpRzyFgNiNo/uFfpe/flnpjP2pS+V3qPD4hO5SAAi7oPSLW8pTeQKU/luPQldiEKNcu43nqWiFFJaxIQ5jhj1DmCY2C73aXeeAW95gDay1T/C6XqsOaAAxlFi6rp217MdCZqz3ut+MHnYYARrp3cqL4RSg4B4Sa4Fj1FFevxYZv7f", - "ansible_stf0": { - "device": "stf0", - "flags": [], - "ipv4": [], - "ipv6": [], - "macaddress": "unknown", - "mtu": "1280", - "type": "unknown" - }, - "ansible_system": "Darwin", - "ansible_user": "jamestombleson", - "ansible_user_dir": "/Users/jamestombleson", - "ansible_user_gecos": "James Tombleson", - "ansible_user_gid": 20, - "ansible_user_id": "jamestombleson", - "ansible_user_shell": "/bin/zsh", - "ansible_user_uid": 501, - "ansible_userspace_architecture": "x86_64", - "ansible_userspace_bits": "64", - "ansible_utun0": { - "device": "utun0", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4a0c:f6b5:f6fa:d72e%utun0", - "prefix": "64", - "scope": "0xc" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun1": { - "device": "utun1", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ede1:8366:c98:a7b1%utun1", - "prefix": "64", - "scope": "0xd" - } - ], - "macaddress": "unknown", - "mtu": "2000", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun2": { - "device": "utun2", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::583d:52ab:afc:8a7f%utun2", - "prefix": "64", - "scope": "0xe" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun3": { - "device": "utun3", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::4adc:23a1:e517:35f1%utun3", - "prefix": "64", - "scope": "0xf" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun4": { - "device": "utun4", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::32f7:6f62:3d81:5cba%utun4", - "prefix": "64", - "scope": "0x10" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_utun5": { - "device": "utun5", - "flags": [ - "UP", - "POINTOPOINT", - "RUNNING", - "MULTICAST" - ], - "ipv4": [], - "ipv6": [ - { - "address": "fe80::ed73:d6b:d97a:cf4f%utun5", - "prefix": "64", - "scope": "0x11" - } - ], - "macaddress": "unknown", - "mtu": "1380", - "options": [ - "PERFORMNUD", - "DAD" - ], - "type": "unknown" - }, - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "ansible_virtualization_role": "", - "ansible_virtualization_type": "", - "gather_subset": [ - "all" - ], - "group_names": [ - "osx" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "127.0.0.1", - "inventory_hostname_short": "127", - "module_setup": true, - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - }, - "192.168.0.2": { - "ansible_check_mode": false, - "ansible_connection": "winrm", - "ansible_diff_mode": false, - "ansible_facts": {}, - "ansible_forks": 5, - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_password": "", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_port": 5986, - "ansible_run_tags": [ - "all" - ], - "ansible_skip_tags": [], - "ansible_user": "ansible", - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "ansible_winrm_scheme": "https", - "ansible_winrm_server_cert_validation": "ignore", - "group_names": [ - "windows" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "192.168.0.2", - "inventory_hostname_short": "192", - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - }, - "192.168.0.60": { - "ansible_become_method": "sudo", - "ansible_become_pass": "Lm38iq", - "ansible_check_mode": false, - "ansible_connection": "ssh", - "ansible_diff_mode": false, - "ansible_facts": {}, - "ansible_forks": 5, - "ansible_inventory_sources": [ - "/Users/jamestombleson/Documents/GitHub/Ansible/hosts" - ], - "ansible_password": "Lm38iq", - "ansible_playbook_python": "/System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python", - "ansible_python_interpreter": "/usr/bin/python3", - "ansible_run_tags": [ - "all" - ], - "ansible_skip_tags": [], - "ansible_user": "ansible", - "ansible_verbosity": 0, - "ansible_version": { - "full": "2.7.9", - "major": 2, - "minor": 7, - "revision": 9, - "string": "2.7.9" - }, - "group_names": [ - "elastic", - "jenkins", - "linux", - "sensu_masters", - "sensu_rabbitmq_servers", - "sensu_redis_servers" - ], - "groups": { - "all": [ - "192.168.0.60", - "192.168.0.2", - "127.0.0.1" - ], - "elastic": [ - "192.168.0.60" - ], - "jenkins": [ - "192.168.0.60" - ], - "linux": [ - "192.168.0.60" - ], - "osx": [ - "127.0.0.1" - ], - "sensu_masters": [ - "192.168.0.60" - ], - "sensu_rabbitmq_servers": [ - "192.168.0.60" - ], - "sensu_redis_servers": [ - "192.168.0.60" - ], - "ungrouped": [], - "windows": [ - "192.168.0.2" - ] - }, - "inventory_dir": "/Users/jamestombleson/Documents/GitHub/Ansible", - "inventory_file": "/Users/jamestombleson/Documents/GitHub/Ansible/hosts", - "inventory_hostname": "192.168.0.60", - "inventory_hostname_short": "192", - "omit": "__omit_place_holder__be3b83228b8f7956e31f1e458503db2cc38e63fc", - "playbook_dir": "/Users/jamestombleson/Documents/GitHub/Ansible/playbook" - } -} \ No newline at end of file diff --git a/ansible.cfg b/ansible.cfg index e65f6b8..3b10962 100644 --- a/ansible.cfg +++ b/ansible.cfg @@ -11,7 +11,7 @@ # some basic default values... -inventory = ./inventory/ +inventory = ./inventory/home.yaml #library = /usr/share/my_modules/:./modules/ # Looks like modules can only be pointed to a single directory diff --git a/inventory/home.yaml b/inventory/home.yaml index 39a6d0a..8d413da 100644 --- a/inventory/home.yaml +++ b/inventory/home.yaml @@ -1,32 +1,89 @@ ---- -all: - hosts: +all: children: - linux: - 192.160.0.60 - vars: - ansible_user: !vault | + linux-all: + hosts: + 192.168.0.60: + 192.168.0.76: + vars: + ansible_user: !vault | $ANSIBLE_VAULT;1.1;AES256 - 33393963653363383638373235363531386238626138366632336531663437373634333766656437 - 3462613266323931343431616465623439626534646238640a616461633434626631376266383234 - 61386535373738386632626331353665643137373234323566326633386234666534616330306639 - 3739633437353337380a373437643563663163653834653637363861663639363635333866613435 - 6636 - ansible_password: !vault | + 32323438633437386234366165646365303038656639396632313933396431376136343837393738 + 6131653037623836383032613766653233656338303566330a653938333062363432643365316133 + 61626164383063636362343362663133653964646139386635626365373564306238306566633930 + 3139363666373864620a656336653633376539616337303361333936313462623963643861646166 + 3364 + ansible_password: !vault | $ANSIBLE_VAULT;1.1;AES256 - 62386164373234666130346666653866663136623261386364636632303430616135343132303631 - 3632316465666237613232313761353135316433376562360a633931646238326139336532373633 - 32666636326332346536366165373030346265626633646335303033636337333336323164636338 - 3036393466633634640a313262373661623731623639343565653061663830303537666136346165 - 3834 - ansible_connection: ssh - ansible_become_method: sudo - ansible_become_pass: !vault | + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_connection: ssh + ansible_become_method: sudo + ansible_become_pass: !vault | $ANSIBLE_VAULT;1.1;AES256 - 62386164373234666130346666653866663136623261386364636632303430616135343132303631 - 3632316465666237613232313761353135316433376562360a633931646238326139336532373633 - 32666636326332346536366165373030346265626633646335303033636337333336323164636338 - 3036393466633634640a313262373661623731623639343565653061663830303537666136346165 - 3834 - ansible_python_interpreter: /usr/bin/python3 + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_python_interpreter: /usr/bin/python3 + docker: + hosts: + 192.168.0.76: + vars: + ansible_user: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 32323438633437386234366165646365303038656639396632313933396431376136343837393738 + 6131653037623836383032613766653233656338303566330a653938333062363432643365316133 + 61626164383063636362343362663133653964646139386635626365373564306238306566633930 + 3139363666373864620a656336653633376539616337303361333936313462623963643861646166 + 3364 + ansible_password: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_connection: ssh + ansible_become_method: sudo + ansible_become_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_python_interpreter: /usr/bin/python3 + mediaserver: + hosts: + 192.168.0.76: + vars: + ansible_user: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 32323438633437386234366165646365303038656639396632313933396431376136343837393738 + 6131653037623836383032613766653233656338303566330a653938333062363432643365316133 + 61626164383063636362343362663133653964646139386635626365373564306238306566633930 + 3139363666373864620a656336653633376539616337303361333936313462623963643861646166 + 3364 + ansible_password: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_connection: ssh + ansible_become_method: sudo + ansible_become_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 63363131623134643365366432393962613032383931613663353233356334316536326334333739 + 3130663431363561373437353262313430623131363864350a393064636161613232633036303139 + 65643166363565343562663937343866623035356639333635636432333363653463666433303035 + 6134646432353330630a343839643163323733623265356261306661396332326465656561633734 + 6231 + ansible_python_interpreter: /usr/bin/python3 + \ No newline at end of file diff --git a/playbook/docker/mediaserver/hydra.yml b/playbook/docker/mediaserver/hydra.yml index 1380c94..44ad307 100644 --- a/playbook/docker/mediaserver/hydra.yml +++ b/playbook/docker/mediaserver/hydra.yml @@ -1,24 +1,23 @@ --- # https://github.com/linuxserver/docker-hydra2 - name: Media Server - hosts: localhost + become: yes + hosts: linux vars_files: - vars.yml tasks: - - name: pip docker + - name: pip docker-py - absent + pip: + name: docker-py + state: absent + executable: pip3 + + - name: pip docker - present pip: name: docker - - - name: Hydra Config - docker_volume: - name: "{{ hydra_config }}" - state: present - - - name: Volume Shared Downloads - docker_volume: - name: "{{ shared_downloads }}" state: present + executable: pip3 - name: Hydra Network docker_network: @@ -28,11 +27,12 @@ docker_container: name: hydra state: stopped + ignore_errors: yes - name: Make Hydra docker_container: name: hydra - image: linuxserver/hydra2 + image: 'linuxserver/hydra2:latest' state: started env: PUID=1000 @@ -41,7 +41,8 @@ ports: - 5076:5076 volumes: - - "{{ hydra_config }}:/config" + #- "{{ hydra_config }}:/config" + - "/docker/hydra:/config" - "{{ shared_downloads }}:/downloads" networks: - name: "{{ network }}" \ No newline at end of file diff --git a/playbook/docker/mediaserver/mediaserver.yml b/playbook/docker/mediaserver/mediaserver.yml new file mode 100644 index 0000000..2fcbaff --- /dev/null +++ b/playbook/docker/mediaserver/mediaserver.yml @@ -0,0 +1,42 @@ + +- name: Configure Media Server + hosts: mediaserver + + tasks: + - name: install docker + import_role: + name: geerlingguy.docker + become: yes + + - name: make docker folder location + file: + path: /docker + state: directory + become: yes + + - name: make docker config path + file: + path: /docker/config + state: directory + become: yes + + - name: mount nfs to /docker/config + mount: + src: "192.168.0.16:/docker/" + path: /docker/config + fstype: nfs + boot: yes + state: mounted + become: yes + + - name: install docker pip package + pip: + name: docker + state: present + executable: pip3 + + - name: make docker network + docker_network: + - name: mediaserver + + \ No newline at end of file diff --git a/playbook/docker/mediaserver/mount.yml b/playbook/docker/mediaserver/mount.yml new file mode 100644 index 0000000..3c94ddd --- /dev/null +++ b/playbook/docker/mediaserver/mount.yml @@ -0,0 +1,18 @@ +--- +- name: mount external nfs disks + hosts: mediaserver + vars_files: + - vars.yml + + tasks: + - name: make mountpoint + file: + path: /docker/dockerconfig + state: directory + + - name: mount /docker to /docker/dockerconfig + mount: + path: 192.168.0.16:/docker + src: /docker/dockerconfig + boot: yes + state: mounted \ No newline at end of file diff --git a/playbook/docker/mediaserver/nzbget.yml b/playbook/docker/mediaserver/nzbget.yml new file mode 100644 index 0000000..fec4a12 --- /dev/null +++ b/playbook/docker/mediaserver/nzbget.yml @@ -0,0 +1,35 @@ +--- +- name: nzbget + hosts: linux + become: yes + vars_files: + - vars.yml + + tasks: + - name: pip docker + pip: + name: docker + executable: pip3 + + - name: stop nzb + docker_container: + name: nzbget + state: stopped + ignore_errors: yes + + - name: Make Nzb + docker_container: + name: nzbget + image: linuxserver/nzbget:latest + state: started + env: + PUID=1000 + PGID=1000 + TZ=Europe/London + ports: + - 6789:6789 + volumes: + - "/docker/config/nzbconfig:/config" + - "/docker/nzbdownloads:/downloads" + networks: + - name: "{{ network }}" \ No newline at end of file diff --git a/playbook/docker/mediaserver/sonarr.yml b/playbook/docker/mediaserver/sonarr.yml new file mode 100644 index 0000000..6795c32 --- /dev/null +++ b/playbook/docker/mediaserver/sonarr.yml @@ -0,0 +1,37 @@ +--- +- name: sonarr + hosts: linux + become: yes + vars_files: + - vars.yml + + tasks: + - name: pip docker + pip: + name: docker + + - name: stop sonarr + docker_container: + name: sonarr + state: stopped + ignore_errors: yes + + - name: start sonarr + docker_container: + name: sonarr + image: linuxserver/sonarr:latest + state: started + env: + PUID=1000 + PGID=1000 + TZ=Europe/London + UMASK_SET=022 #optional + ports: + - 8989:8989 + volumes: + - "/docker/sonarr/config:/config" + - "/docker/sonarr/data:/tv" + - "/docker/nzbdownloads:/downloads" + networks: + - name: "{{ network }}" + diff --git a/playbook/docker/mediaserver/vars.yml b/playbook/docker/mediaserver/vars.yml index f9b6e10..156a5cc 100644 --- a/playbook/docker/mediaserver/vars.yml +++ b/playbook/docker/mediaserver/vars.yml @@ -1,4 +1,21 @@ --- +# fstab info +mount_user: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 38316431326133336166313838623232393765323137363737333161623262653632656664306266 + 3963633932616139616563386232323062623632313131620a613962623932303838663639373038 + 39333063363265616366343636366565386236626339663763323761363035623730333437646432 + 3463373232326334370a333033326637366534356430376637363861663133633634373832303032 + 6634 + +mount_pass: !vault | + $ANSIBLE_VAULT;1.1;AES256 + 37353436303838363038343639306636636165663335346166353133633935613235306235386336 + 3932313964333232333963623331373838393163616231320a323037653564303138633930323961 + 38646632663661616338643462346238363265323535383639616166396434663536626361663331 + 3166626638316561630a643465633938346431336430613235653465626231353831303961396134 + 3231 + # Volumes sonarr_data: sonarr_data sonarr_config: sonarr_config diff --git a/playbook/linux/auto-securityupdates.yml b/playbook/linux/auto-securityupdates.yml deleted file mode 100644 index 122e948..0000000 --- a/playbook/linux/auto-securityupdates.yml +++ /dev/null @@ -1,17 +0,0 @@ - ---- - -- name: enable - hosts: linux - - tasks: - # https://galaxy.ansible.com/jnv/unattended-upgrades - - name: unattended-upgrades - become: true - include_role: - name: jnv.unattended-upgrades - vars: - #unattended_package_blacklist: [] - unattended_automatic_reboot: true - - diff --git a/playbook/linux/common.yml b/playbook/linux/common.yml new file mode 100644 index 0000000..b3ce95c --- /dev/null +++ b/playbook/linux/common.yml @@ -0,0 +1,34 @@ +--- +# This is a common playbooks for all linux servers +# Contains all the basics needed for servers to get started +# Once this is installed and maintained look for server based roles like docker servers + +- name: Install Linux Requirement + hosts: linux-all + become: yes + + tasks: + - name: install packages + apt: + name: "{{ packages }}" + state: present + vars: + packages: + - python3 + - python3-pip + - nfs-common + - tree + when: ansible_distribution == "Ubuntu" + + - name: Install pip + include_role: + name: geerlingguy.pip + + # https://galaxy.ansible.com/jnv/unattended-upgrades + - name: unattended-upgrades + become: true + include_role: + name: jnv.unattended-upgrades + vars: + #unattended_package_blacklist: [] + unattended_automatic_reboot: true diff --git a/playbook/linux/elastic/elastic-7.x.list b/playbook/linux/elastic/elastic-7.x.list deleted file mode 100644 index 7eef915..0000000 --- a/playbook/linux/elastic/elastic-7.x.list +++ /dev/null @@ -1 +0,0 @@ -deb https://artifacts.elastic.co/packages/7.x/apt stable main diff --git a/playbook/linux/elastic/install-client.yml b/playbook/linux/elastic/install-client.yml deleted file mode 100644 index 67a923f..0000000 --- a/playbook/linux/elastic/install-client.yml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# This will install all the client parts needed for elastic to monitor client computers - -- name: Install elastic client programs - hosts: elasticClients - vars: - kibana_host: '192.168.0.173:5601' - elasticsearch_hosts: '["192.168.0.173:9200"]' - - tasks: - - name: Install elastic repo - include: install-repo.yml - - - name: Install elastic heartbeat - become: true - apt: - name: heartbeat-elastic - - - name: Update Heatbeat config - become: true - template: - src: heartbeat.j2 - dest: /etc/heartbeat/heartbeat.yml - - - name: Configure elastic heartbeat - include: config-heartbeat.yml - - - name: Install elastic metricbeat - become: true - apt: - name: metricbeat - - - name: Update Metricbeat config - become: true - template: - src: metricbeat.j2 - dest: /etc/metricbeat/metricbeat.yml - - - name: Configure elastic metricbeat - include: config-metricbeat.yml diff --git a/playbook/linux/elastic/install-repo.yml b/playbook/linux/elastic/install-repo.yml deleted file mode 100644 index c4504a6..0000000 --- a/playbook/linux/elastic/install-repo.yml +++ /dev/null @@ -1,29 +0,0 @@ ---- - -- name: Install Elastic GPG Key - become: true - apt_key: - url: "https://artifacts.elastic.co/GPG-KEY-elasticsearch" - state: present - id: 46095ACC8548582C1A2699A9D27D666CD88E42B4 - -- name: Install apt-transport-https - become: true - apt: - name: apt-transport-https - -- name: Add Elastic Repo - become: true - copy: - dest: '/etc/apt/sources.list.d/elastic-7.x.list' - content: "deb https://artifacts.elastic.co/packages/7.x/apt stable main" - # copy: - #src: elastic-7.x.list - # dest: /etc/apt/sources.list.d/ - # backup: yes - -- name: Update Packages - become: true - apt: - update_cache: true - diff --git a/playbook/linux/elastic/install-role-filebeat.yml b/playbook/linux/elastic/install-role-filebeat.yml deleted file mode 100644 index 79453a1..0000000 --- a/playbook/linux/elastic/install-role-filebeat.yml +++ /dev/null @@ -1,14 +0,0 @@ - -- name: Install Filebeat - hosts: elasticClients - - tasks: - - name: Install Filebeat - include_role: - name: luther38.filebeat - vars: - kibana_host: 172.20.0.142:5601 - elasticsearch_hosts: "'172.20.0.142:9200'" - systemd_enabled: true - systemd_restart: true - diff --git a/playbook/linux/elastic/install-role-metricbeat.yml b/playbook/linux/elastic/install-role-metricbeat.yml deleted file mode 100644 index 8643cd0..0000000 --- a/playbook/linux/elastic/install-role-metricbeat.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- - -- name: Install Metricbeat - hosts: elasticClients - - tasks: - - name: Install Metricbeat - become: true - include_role: - name: luther38.metricbeat - vars: - kibana_host: 172.20.0.142 - elasticsearch_hosts: '["172.20.0.142:9200"]' - systemd_enable_service: true - systemd_restart_service: true - diff --git a/playbook/linux/elastic/install-role-winlogbeat.yml b/playbook/linux/elastic/install-role-winlogbeat.yml deleted file mode 100644 index ba943da..0000000 --- a/playbook/linux/elastic/install-role-winlogbeat.yml +++ /dev/null @@ -1,16 +0,0 @@ ---- - -- name: Install WinLogBeat - hosts: windows - - tasks: - - name: Install WinLogBeat - become: true - include_role: - name: luther38.winlogbeat - vars: - version: 7.0.0 - kibana_host: 172.20.0.142 - elasticsearch_hosts: '["172.20.0.142:9200"]' - - diff --git a/playbook/linux/elastic/install-server.yml b/playbook/linux/elastic/install-server.yml deleted file mode 100644 index cf7ff19..0000000 --- a/playbook/linux/elastic/install-server.yml +++ /dev/null @@ -1,62 +0,0 @@ ---- -# This will install all elastic services for a elastic server -# ElasticSearch -# Kibana - -- name: Install Elastic server programs - hosts: elastic - vars: - es_cluster_name: 'logging-dev' - es_node_name: 'dev-data-01' - es_node_master: 'true' - es_node_data: 'true' - es_path_data: '/var/lib/elasticsearch' - es_path_logs: '/var/log/elasticsearch' - es_http_port: '9200' - es_transport_host: 'localhost' - es_transport_port: '9300' - k_server_port: 5601 - k_elasticsearch_hosts: 'http://192.168.0.173:9200' - - tasks: - - name: Install Requrements - include: install-repo.yml - - - name: Install ElasticSearch from apt - become: true - apt: - name: elasticsearch - - - name: Update ElasticSearch config - become: true - template: - src: elasticsearch.j2 - dest: /etc/elasticsearch/elasticsearch.yml - - - name: Configure ElasticSearch - include: config-elasticsearch.yml - - - name: Install Kibana from apt - become: true - apt: - name: kibana - - - name: Configure Kibana - become: true - template: - src: kibana.j2 - dest: /etc/kibana/kibana.yml - - - name: Configure Kibana - include: config-kibana.yml - - - name: Install Heartbeat - become: true - apt: - name: heartbeat - - #- name: Install Logstash - #become: true - #apt: - #name: logstash - diff --git a/playbook/linux/elastic/install-win-client.yml b/playbook/linux/elastic/install-win-client.yml deleted file mode 100644 index bd4e251..0000000 --- a/playbook/linux/elastic/install-win-client.yml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# This will install all the client parts needed for elastic to monitor client computers - -- name: Install elastic client programs - hosts: windows - vars: - elastic_version: '7.0.0' - url_heartbeat: 'https://artifacts.elastic.co/downloads/beats/heartbeat/heartbeat-{{elastic_version}}-windows-x86_64.zip' - url_metricbeat: 'https://artifacts.elastic.co/downloads/beats/metricbeat/metricbeat-7.0.0-windows-x86_64.zip' - url_winlogbeat: 'https://artifacts.elastic.co/downloads/beats/winlogbeat/winlogbeat-7.0.0-windows-x86_64.zip' - temp: 'c:\temp\' - program_files: 'c:\program files\' - kibana_host: '192.168.0.173:5601' - elasticsearch_hosts: '["192.168.0.173:9200"]' - - - tasks: - - name: make temp folder - win_file: - path: c:\temp\ - state: directory - - - name: Install Metricbeat - include: config-win-metricbeat.yml - - - name: Install WinLogbeat - include: config-winlogbeat.yml diff --git a/playbook/linux/elastic/role-test.yml b/playbook/linux/elastic/role-test.yml deleted file mode 100644 index 4f535bc..0000000 --- a/playbook/linux/elastic/role-test.yml +++ /dev/null @@ -1,35 +0,0 @@ - -- name: testing elastic role - hosts: elastic - - tasks: - - name: install/Update Java - become: true - import_role: - name: geerlingguy.java - - - name: install elasticsearch - become: true - import_role: - name: elasticsearch - vars: - cluster_name: "loggin-dev" - ufw_http_port: true - ufw_transport_port: true - systemd_enabled: true - systemd_restart: true - node_name: "{{ ansible_hostname }}" - discovery_seed_hosts: "'127.0.0.1', '172.20.0.142', '192.168.0.173'" - cluster_initial_master_nodes: " '172.20.0.142', '192.168.0.173' " - - - name: install kibana - become: true - import_role: - name: kibana - vars: - server_port: 5601 - ufw_server_port: true - server_host: "{{ ansible_default_ipv4.address }}" - server_name: "{{ ansible_hostname }}" - elasticsearch_hosts: " 'http://localhost:9200', 'http://dm-nagios.local:9200', 'http://172.20.0.142:9200' " - diff --git a/playbook/linux/install-awx.yml b/playbook/linux/install-awx.yml index 5bbc947..90a78fe 100644 --- a/playbook/linux/install-awx.yml +++ b/playbook/linux/install-awx.yml @@ -32,12 +32,10 @@ - name: pip remove docker pip: - name: docker + name: docker-py state: absent executable: pip - - roles: #- geerlingguy.repo-epel - geerlingguy.git diff --git a/playbook/linux/install-powershell.yml b/playbook/linux/install-powershell.yml deleted file mode 100644 index a2f2bf9..0000000 --- a/playbook/linux/install-powershell.yml +++ /dev/null @@ -1,34 +0,0 @@ - -- name: Install PowerShell Core - hosts: linux - #debugger: always - - tasks: - - name: Check if PowerShell is installed - failed_when: "'Failed' PowerShell is already installed." - apt: - name: powershell - - - name: Install Microsoft GPG Key - get_url: - url: https://packages.microsoft.com/config/ubuntu/18.04/packages-microsoft-prod.deb - dest: /tmp/ - - - name: Register GPG Key - become: true - become_method: sudo - apt: deb="/tmp/packages-microsoft-prod.deb" - #command: dpkg -i ~/packages-microsoft-prod.deb - - - name: Update repos and Install PowerShell Core - become: true - become_method: sudo - apt: - name: powershell - update_cache: yes - state: present - - - name: Remove Extra files - file: - state: absent - path: /tmp/packages-microsoft-prod.deb