<feed xmlns='http://www.w3.org/2005/Atom'>
<title>csa/devops/ansible-patches/openshift.git/roles/openshift_preflight/masters/tasks, branch ands</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/'/>
<entry>
<title>Replace multi-role checks with action plugin</title>
<updated>2017-02-10T13:46:40+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-01-30T17:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=bb38413fcec7fb2640939782d57e494b40e3b41e'/>
<id>bb38413fcec7fb2640939782d57e494b40e3b41e</id>
<content type='text'>
This approach should make it easier to add new checks without having to
write lots of YAML and doing things against Ansible (e.g.
ignore_errors).

A single action plugin determines what checks to run per each host,
including arguments to the check. A check is implemented as a class with
a run method, with the same signature as an action plugin and module,
and is normally backed by a regular Ansible module.

Each check is implemented as a separate Python file. This allows whoever
adds a new check to focus solely in a single Python module, and
potentially an Ansible module within library/ too.

All checks are automatically loaded, and only active checks that are
requested by the playbook get executed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This approach should make it easier to add new checks without having to
write lots of YAML and doing things against Ansible (e.g.
ignore_errors).

A single action plugin determines what checks to run per each host,
including arguments to the check. A check is implemented as a class with
a run method, with the same signature as an action plugin and module,
and is normally backed by a regular Ansible module.

Each check is implemented as a separate Python file. This allows whoever
adds a new check to focus solely in a single Python module, and
potentially an Ansible module within library/ too.

All checks are automatically loaded, and only active checks that are
requested by the playbook get executed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Reduce code duplication using variable</title>
<updated>2017-01-12T18:16:03+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-01-12T18:16:03+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=c6febeb11af247f156218542f98f52566cf22931'/>
<id>c6febeb11af247f156218542f98f52566cf22931</id>
<content type='text'>
We can use openshift_facts's service_type to determine the package
names.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We can use openshift_facts's service_type to determine the package
names.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace custom variables with openshift_facts</title>
<updated>2017-01-12T17:30:24+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-01-12T17:30:24+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=c4aec0fbd112fd1c8503e935ac954da268a2fdff'/>
<id>c4aec0fbd112fd1c8503e935ac954da268a2fdff</id>
<content type='text'>
Note: on a simple example run of ansible-playbook against a single
docker-based host, I saw the execution time jump from 7s to 17s. That's
unfortunate, but it is probably better to reuse openshift_facts, than to
come up with new variables.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Note: on a simple example run of ansible-playbook against a single
docker-based host, I saw the execution time jump from 7s to 17s. That's
unfortunate, but it is probably better to reuse openshift_facts, than to
come up with new variables.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor preflight check into roles</title>
<updated>2017-01-12T13:23:19+00:00</updated>
<author>
<name>Rodolfo Carvalho</name>
<email>rhcarvalho@gmail.com</email>
</author>
<published>2017-01-06T19:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://cgit.master.suren.me/cgit/csa/devops/ansible-patches/openshift.git/commit/?id=9041a816210132b1dad86217ecfef5f9fec4a8d2'/>
<id>9041a816210132b1dad86217ecfef5f9fec4a8d2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
