<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ansible on Sébastien Han</title><link>http://sebastien-han.fr/tags/ansible/</link><description>Recent content in Ansible on Sébastien Han</description><generator>Hugo</generator><language>en</language><lastBuildDate>Mon, 02 Apr 2018 00:31:25 +0000</lastBuildDate><atom:link href="http://sebastien-han.fr/tags/ansible/atom.xml" rel="self" type="application/rss+xml"/><item><title>Ansible module to manage CephX Keys</title><link>http://sebastien-han.fr/blog/2018/04/02/Ansible-module-to-manage-CephX-Keys/</link><pubDate>Mon, 02 Apr 2018 00:31:25 +0000</pubDate><guid>http://sebastien-han.fr/blog/2018/04/02/Ansible-module-to-manage-CephX-Keys/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-cephx-module.jpg" alt="Title"&gt;&lt;/p&gt;
&lt;p&gt;Following our recent initiative on writing more Ceph modules for Ceph Ansible, I&amp;rsquo;d like to introduce one that I recently wrote: &lt;strong&gt;ceph_key&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Ansible module to create CRUSH hierarchy</title><link>http://sebastien-han.fr/blog/2018/03/15/Ansible-module-to-create-CRUSH-hierarchy/</link><pubDate>Thu, 15 Mar 2018 22:32:25 +0000</pubDate><guid>http://sebastien-han.fr/blog/2018/03/15/Ansible-module-to-create-CRUSH-hierarchy/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ansible-ceph-crush-module.jpg" alt="Title"&gt;&lt;/p&gt;
&lt;p&gt;First post of the year after a long time with no article, three months&amp;hellip;
I know it has been a while, I wish I had more time to do more blogging.
I have tons of draft articles that never made it through, I need to make up for lost time.&lt;/p&gt;
&lt;p&gt;So for this first post, let me introduce an Ansible I wrote for ceph-ansible: &lt;strong&gt;ceph_crush&lt;/strong&gt;.&lt;/p&gt;</description></item><item><title>Introducing Ceph Ansible profile library</title><link>http://sebastien-han.fr/blog/2017/11/27/Introducing-Ceph-Ansible-profile-library/</link><pubDate>Mon, 27 Nov 2017 17:14:57 +0000</pubDate><guid>http://sebastien-han.fr/blog/2017/11/27/Introducing-Ceph-Ansible-profile-library/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/introducing-ceph-ansible-profile-library.jpg" alt="Introducing Ceph Ansible profile library"&gt;&lt;/p&gt;
&lt;p&gt;A couple of releases ago, in order to minimize changes within the &lt;code&gt;ceph.conf.j2&lt;/code&gt; Jinja template, we introduced a new module that we took from the OpenStack Ansible guy.
This module is called &lt;code&gt;config_template&lt;/code&gt; and allows us to declare Ceph configuration options as variables in your group_vars files.
This is extremely useful for us&lt;/p&gt;
&lt;p&gt;Based on that work and as part of the big ceph-ansible 3.0 release we added a &lt;a href="https://github.com/ceph/ceph-ansible/tree/master/profiles"&gt;profile directory&lt;/a&gt; that guides users on how to properly inject new configuration options.
All of that is based on use cases. For instance, we currently have profile examples for configuring Ceph Rados Gateway with OpenStack Keystone.&lt;/p&gt;
&lt;p&gt;Here is the current list of profiles:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;rgw-keystone-v2&lt;/li&gt;
&lt;li&gt;rgw-keystone-v3&lt;/li&gt;
&lt;li&gt;rgw-radosgw-static-website&lt;/li&gt;
&lt;li&gt;rgw-usage-log&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;More are coming and we expect to get more during the lifetime of the project.
One particular profile that we might create is a performance oriented one when running Bluestore on NVMe drives.&lt;/p&gt;</description></item><item><title>Ceph ansible is building its community</title><link>http://sebastien-han.fr/blog/2016/12/05/Ceph-ansible-is-building-its-community/</link><pubDate>Mon, 05 Dec 2016 15:58:34 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/12/05/Ceph-ansible-is-building-its-community/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-ml.jpg" alt="Ceph ansible is building its community"&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;This blog just relays what the initial announcement of the ceph-ansible mailing list.&lt;/strong&gt;&lt;/p&gt;</description></item><item><title>Run multiple Rados Gateways on the same host with Ceph Ansible</title><link>http://sebastien-han.fr/blog/2016/11/07/Run-multiple-Rados-Gateways-on-the-same-host-with-Ceph-Ansible/</link><pubDate>Mon, 07 Nov 2016 18:29:47 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/11/07/Run-multiple-Rados-Gateways-on-the-same-host-with-Ceph-Ansible/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-multi-rgw-same-host.jpg" alt="Run multiple Rados Gateways on the same host with Ceph Ansible"&gt;&lt;/p&gt;
&lt;p&gt;Quick how-to with Ceph Ansible to run multiple Ceph Rados Gateways on the same machine.&lt;/p&gt;</description></item><item><title>Ceph ansible can now shrink your cluster</title><link>http://sebastien-han.fr/blog/2016/08/16/Ceph-ansible-can-now-shrink-your-cluster/</link><pubDate>Tue, 16 Aug 2016 14:23:20 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/08/16/Ceph-ansible-can-now-shrink-your-cluster/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-shrink-cluster.jpg" alt="Ceph ansible can now shrink your cluster"&gt;&lt;/p&gt;
&lt;p&gt;Ceph ansible is quickly catching up with ceph-deploy in terms of features.
Last week, I was discussing the &lt;a href="http://www.sebastien-han.fr/blog/2016/08/09/Ceph-ansible-now-supports-dmcrypt/"&gt;dm-crypt support&lt;/a&gt;.
The ability to shrink a Ceph cluster, removing one or N monitors/OSDs wasn&amp;rsquo;t possible until very recently.
Let&amp;rsquo;s have a look at this new feature.&lt;/p&gt;</description></item><item><title>Using Ubuntu? Planning on using Ceph Jewel? Here what you should consider</title><link>http://sebastien-han.fr/blog/2016/05/18/Using-Ubuntu-Planning-on-using-Ceph-Jewel-Here-what-you-should-consider/</link><pubDate>Wed, 18 May 2016 23:49:14 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/05/18/Using-Ubuntu-Planning-on-using-Ceph-Jewel-Here-what-you-should-consider/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ubuntu-migration-ceph-upgrade.jpg" alt="Title"&gt;&lt;/p&gt;
&lt;p&gt;The new Ubuntu LTS 16.04, code name: Xenial Xerus was just released a couple of weeks ago.
Interestingly the new Ceph LTS, code name Jewel also just got released!
Being a really lover of Ansible, I just got what I would call an interesting idea.&lt;/p&gt;</description></item><item><title>Bootstrap two Ceph and configure RBD mirror using Ceph Ansible</title><link>http://sebastien-han.fr/blog/2016/05/09/Bootstrap-two-Ceph-and-configure-RBD-mirror-using-Ceph-Ansible/</link><pubDate>Mon, 09 May 2016 17:04:34 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/05/09/Bootstrap-two-Ceph-and-configure-RBD-mirror-using-Ceph-Ansible/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/bootstrap-2-ceph-configure-rbd-mirror-ansible.png" alt="Title"&gt;&lt;/p&gt;
&lt;p&gt;Since Jewel is out everyone wants to try the new RBD-mirroring feature.&lt;/p&gt;</description></item><item><title>Take over an existing Ceph cluster with Ceph Ansible</title><link>http://sebastien-han.fr/blog/2016/05/02/Take-over-an-existing-Ceph-cluster-with-Ceph-Ansible/</link><pubDate>Mon, 02 May 2016 20:00:55 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/05/02/Take-over-an-existing-Ceph-cluster-with-Ceph-Ansible/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-take-over-existing-cluster.png" alt="Take over an existing Ceph cluster with Ceph Ansible"&gt;&lt;/p&gt;
&lt;p&gt;Ceph Ansible has tons of awesome capabilities, one of them is the possibility to plug on ane existing cluster that &lt;strong&gt;was not&lt;/strong&gt; deployed with it.
In this article, I will go through the &lt;em&gt;take over&lt;/em&gt; procedure.&lt;/p&gt;</description></item><item><title>Your first Ceph OSD backed by BlueStore with ceph-ansible</title><link>http://sebastien-han.fr/blog/2016/03/25/your-first-bluestore-osd-with-ceph-ansible/</link><pubDate>Fri, 25 Mar 2016 11:41:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/03/25/your-first-bluestore-osd-with-ceph-ansible/</guid><description>&lt;p&gt;Jewel is just around the corner and the first release candidate just came out yesterday (tagged: v10.1.0).
If you are not familiar with BlueStore yet, checkout my recent article: &lt;a href="http://www.sebastien-han.fr/blog/2016/03/21/ceph-a-new-store-is-coming/"&gt;Ceph Jewel Preview: A New Store Is Coming, BlueStore&lt;/a&gt;.&lt;/p&gt;</description></item><item><title>Use Ceph Ansible to build and deploy Ceph from master branch</title><link>http://sebastien-han.fr/blog/2016/03/14/use-ceph-ansible-to-build-and-deploy-ceph-from-master-branch/</link><pubDate>Mon, 14 Mar 2016 19:16:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/03/14/use-ceph-ansible-to-build-and-deploy-ceph-from-master-branch/</guid><description>&lt;p&gt;It is really easy with &lt;a href="https://github.com/ceph/ceph-ansible"&gt;ceph-ansible&lt;/a&gt; to deploy a Ceph cluster from its bleeding edge version (&lt;a href="https://github.com/ceph/ceph"&gt;github master branch&lt;/a&gt;).&lt;/p&gt;</description></item><item><title>Migrate Ceph cluster from one distro to another</title><link>http://sebastien-han.fr/blog/2016/03/07/migrate-ceph-cluster-from-one-distro-to-another/</link><pubDate>Mon, 07 Mar 2016 11:28:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/03/07/migrate-ceph-cluster-from-one-distro-to-another/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/migrate-ceph-cluster-from-ubuntu-to-rhel.jpg" alt="Migrate Ceph cluster from one distro to another"&gt;&lt;/p&gt;
&lt;p&gt;One of the recent use case I had was to migrate an Ubuntu based Ceph cluster to RHEL.
We had strict requirements and did not want to have any data being migrated.
It is yet another beauty from Ceph and particularly OSDs, where they basically have the ability to run on any machines.
Let&amp;rsquo;s say you have an OSD, you can pull out the disk and plug in on another machine seamlessly.
The approach taken here was a bit different, but relies on this capability.&lt;/p&gt;</description></item><item><title>Ceph Ansible first release</title><link>http://sebastien-han.fr/blog/2016/03/02/ceph-ansible-first-release/</link><pubDate>Wed, 02 Mar 2016 12:08:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/03/02/ceph-ansible-first-release/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-first-release.png" alt="Ceph Ansible first release"&gt;&lt;/p&gt;
&lt;p&gt;Ceph Ansible started as a personnal project, the reason was simple I wanted to have an in-depth look at &lt;a href="http://www.ansible.com/"&gt;Ansible&lt;/a&gt;.
Thus I immediatly thought, why not try to deploy Ceph with Ansible.
Moreover, I have never been a huge of Puppet and ceph-deploy was a couple of months old, so to me Ansible was the right answer.&lt;/p&gt;</description></item><item><title>Easily deploy containerized Ceph daemons with Vagrant</title><link>http://sebastien-han.fr/blog/2016/02/08/easily-deploy-containerized-ceph-daemons-with-vagrant/</link><pubDate>Mon, 08 Feb 2016 11:13:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/02/08/easily-deploy-containerized-ceph-daemons-with-vagrant/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/vagrant-ceph-containerized.jpg" alt="Easily deploy containerized Ceph daemons with Vagrant"&gt;&lt;/p&gt;
&lt;p&gt;This weekend I just pushed a new &lt;a href="https://github.com/ceph/ceph-ansible/pull/521"&gt;feature&lt;/a&gt; in &lt;a href="https://github.com/ceph/ceph-ansible"&gt;ceph-ansible&lt;/a&gt;, which adds the ability to deploy containerized Ceph daemons.&lt;/p&gt;</description></item><item><title>Use Ansible to configure containers</title><link>http://sebastien-han.fr/blog/2016/01/06/use-ansible-to-configure-containers/</link><pubDate>Wed, 06 Jan 2016 14:32:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2016/01/06/use-ansible-to-configure-containers/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ansible-configure-containers.jpg" alt="Use Ansible to configure containers"&gt;&lt;/p&gt;
&lt;p&gt;Typically, when we build a container image we have 2 main files:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;code&gt;Dockerfile&lt;/code&gt; is the essence of the container, it is what the container is made of, it generally contains packages installation steps and files&lt;/li&gt;
&lt;li&gt;&lt;code&gt;entrypoint.sh&lt;/code&gt; is where we configure the container, during the bootstrap sequence this script will get executed.
Usually the &lt;code&gt;entrypoint.sh&lt;/code&gt; file contains bash instructions.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So the idea is, instead of relying on bash scripting when writing container&amp;rsquo;s entrypoint we could call an Ansible to configure it.&lt;/p&gt;</description></item><item><title>Ansible greatest trick: iterate over a set of host</title><link>http://sebastien-han.fr/blog/2014/08/06/ansible-greatest-tricks/</link><pubDate>Wed, 06 Aug 2014 00:11:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/2014/08/06/ansible-greatest-tricks/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ansible-iterate-over-host.jpg" alt="Ansible greatest trick"&gt;&lt;/p&gt;
&lt;p&gt;While running a playbook on a host you can request some information about other nodes.&lt;/p&gt;</description></item><item><title>Ceph ansible now supports dmcrypt</title><link>http://sebastien-han.fr/blog/1/01/01/Ceph-ansible-now-supports-dmcrypt/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>http://sebastien-han.fr/blog/1/01/01/Ceph-ansible-now-supports-dmcrypt/</guid><description>&lt;p&gt;&lt;img src="http://sebastien-han.fr/images/ceph-ansible-dmcrypt.jpg" alt="Ceph ansible now supports dmcrypt"&gt;&lt;/p&gt;
&lt;p&gt;I recently worked on a new feature that ceph-ansible was laking of: support for dmcrypt.
This dmcrypt scenario basically allows you to deploy encrypted OSD data directories.
The encrypted key is stored on the monitor&amp;rsquo;s key/value store.
Until recently ceph-ansible wasn&amp;rsquo;t capable of deploying such configuration.
Let&amp;rsquo;s see how this can be configured.&lt;/p&gt;</description></item></channel></rss>