View gist:944823ac5273608c48e1
servers:
"{{ hostvars|haproxy_backend(haproxy_number_of_backends, groups[mongo_group], internal_primary_interface, mongo.backend_port, 'check') }}"
View gist:f25cf7f63dd4e812cd7c
rabbit_hosts: "{{ hostvars|fetch_list_from_dict(groups.aio)|map(attribute='ansible_internal_primary_interface.ipv4.address')|map('add_port', rabbitmq.port)|join(',') }}"
View gist:c8d86e6768902b9df1b0
[jodewey:~/git/ansible-systems/roles/xxx.bind] retr0h/bind-cleanup(+21/-5)+ 1 ± molecule test
Bringing machine 'aio-01' up with 'virtualbox' provider...
Bringing machine 'aio-02' up with 'virtualbox' provider...
Bringing machine 'aio-03' up with 'virtualbox' provider...
==> aio-01: Importing base box 'rhel-7'...
...
PLAY RECAP ********************************************************************
aio-01 : ok=20 changed=15 unreachable=0 failed=0
aio-02 : ok=11 changed=9 unreachable=0 failed=0
aio-03 : ok=11 changed=9 unreachable=0 failed=0
View gist:dd4cbd27829a3095f37a
- name: Install packages
package: name={{ item }}
with_flattened:
- "common_{{ ansible_os_family }}_base_packages"
View gist:d0a6773bfe1d697c16c4
m = mock.Mock(name='name',
description='desc',
id='12345',
enabled=True)
g = {m.name: {'description': m.description,
'id': m.id}}
print g
print yaml.safe_dump(g, default_flow_style=False)
View gist:98955101410c0b5b4d94
The 2014 g2k14 general Hackathon was taking place July in Ljubljana,
Slovenia, and attended by 49 developers. These developer gatherings
are used for very active work on OpenBSD’s source tree: to start new
patches and projects, to finish older ones, and for careful optimizations.
The security and code quality of OpenBSD is constantly being improved,
a continuous effort to gain perfection that reminds a lot of the Japanese
Shokunin.
http://www.openbsd.org/papers/httpd-asiabsdcon2015.pdf
View gist:1e24689d5ffa79b6be5d
$ PLAYBOOK=vagrant/tests/main.yml vagrant provision
...
PLAY RECAP ********************************************************************
tribe-1 : ok=6 changed=3 unreachable=0 failed=0
tribe-2 : ok=10 changed=5 unreachable=0 failed=0
tribe-3 : ok=6 changed=3 unreachable=0 failed=0
View keybase.md

Keybase proof

I hereby claim:

  • I am retr0h on github.
  • I am retr0h (https://keybase.io/retr0h) on keybase.
  • I have a public key whose fingerprint is 5F55 3FFC 9F81 5EE6 A446 BF15 A5A9 903E E0D4 E597

To claim this, I am signing this object:

View gist:bc27f30e55ae007d9037
- shell: dpkg -l {{ item }}
register: install_results
with_items:
- git
- libffi-dev
- debug: var={{ install_results }}
with_items:
- install_results.results
View gist:a0a5751e207d19090ff5
service "rsyslog" do
provider Chef::Provider::Service::Upstart
supports :restart => true
action [:enable,:start]
end