View gist:686c5b3e0bf870679abf9809205ac017
[jodewey:~/git/molecule_2/test/scenarios/docker] [molecule2-env-2.7.12] v2(+95/-177)+ 1 ± molecule create
--> Scenario: [default]
--> Executing playbook '/Users/jodewey/git/molecule_2/test/scenarios/docker/molecule/default/create.yml'...
PLAY [localhost] ***************************************************************
TASK [setup] *******************************************************************
ok: [localhost]
TASK [Boostrap molecule container(s)] ******************************************
View users.yml
- name: Create database users
mysql_user: append_privs={{ item.append_privs|default(omit) }}
check_implicit_admin={{ item.check_implicit|default(omit) }}
config_file={{ item.config_file|default(omit) }}
encrypted={{ item.encrypted|default(omit) }}
host={{ item.host|default(omit) }}
host_all={{ item.host_all|default(omit) }}
login_host={{ item.login_host|default(omit) }}
login_password={{ item.login_password|default(omit) }}
login_port={{ item.login_port|default(omit) }}
View gist:830c1a6f70451b9584163efb887a588a
shit-01: SSH address: 127.0.0.1:2222
shit-01: SSH username: vagrant
shit-01: SSH auth method: private key
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