<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Thiago Freitas on Medium]]></title>
        <description><![CDATA[Stories by Thiago Freitas on Medium]]></description>
        <link>https://medium.com/@deadc?source=rss-da13ba255242------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*Q9r5wIqGhAGvHPob.</url>
            <title>Stories by Thiago Freitas on Medium</title>
            <link>https://medium.com/@deadc?source=rss-da13ba255242------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:39:56 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@deadc/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Instalacao Ansible Tower em Debian 9 Stretch]]></title>
            <link>https://medium.com/@deadc/instalacao-ansible-tower-em-debian-9-stretch-3b6bffdba78b?source=rss-da13ba255242------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b6bffdba78b</guid>
            <category><![CDATA[ansible]]></category>
            <category><![CDATA[iac]]></category>
            <category><![CDATA[nodejs]]></category>
            <category><![CDATA[docker]]></category>
            <category><![CDATA[awx]]></category>
            <dc:creator><![CDATA[Thiago Freitas]]></dc:creator>
            <pubDate>Fri, 08 Sep 2017 05:31:01 GMT</pubDate>
            <atom:updated>2017-09-08T05:31:36.080Z</atom:updated>
            <content:encoded><![CDATA[<p>Recentemente a Red Hat disponibilizou de forma Open Source o codigo fonte do Ansible Tower, ferramenta web que gerencia as execucoes de playbooks do ansible através do seu novo projeto <a href="https://www.ansible.com/awx-project-faq">AWX</a>.</p><p>Este é um passo-a-passo de como instalar o Ansible Tower no Debian 9 Stretch rodando em container Docker, e segue basicamente a documentacao oficial do projeto porém em uma instalacao para o Debian 9 Stretch.</p><p>A instalacao das dependencias é simples, o Ansible Tower tem sua UI em nodejs, a instalacao do gettext é uma dependencia para o comando msgfmt, necessário durante a build.</p><pre># curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash -<br># apt-get install nodejs gettext docker<br># pip install ansible docker-py # (ansible 2.3)</pre><p>Apos a instalacao das dependencias, o processo de build dos containers é totalmente automatizado pelo proprio Ansible</p><pre>$ git clone git@github.com:ansible/awx.git<br># cd awx/installer &amp;&amp; ansible-playbook -i inventory install.yml</pre><p>Aguarde o termino do build e entao, no comando docker ps os containers em execucao deveram parecer como estes</p><pre>CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES<br>e240ed8209cd awx_task:1.0.0.8 “/tini — /bin/sh …” 2 minutes ago Up About a minute 8052/tcp awx_task<br>1cfd02601690 awx_web:1.0.0.8 “/tini — /bin/sh …” 2 minutes ago Up About a minute 0.0.0.0:80-&gt;8052/tcp awx_web<br>55a552142bcd memcached:alpine “docker-entrypoint…” 2 minutes ago Up 2 minutes 11211/tcp memcached<br>84011c072aad rabbitmq:3 “docker-entrypoint…” 2 minutes ago Up 2 minutes 4369/tcp, 5671–5672/tcp, 25672/tcp rabbitmq<br>97e196120ab3 postgres:9.6 “docker-entrypoint…” 2 minutes ago Up 2 minutes 5432/tcp postgres</pre><p>Após isso, confira a execucao das migrations com o comando docker logs -f awx_task</p><pre>Using /etc/ansible/ansible.cfg as config file<br>127.0.0.1 | SUCCESS =&gt; {<br> “changed”: false,<br> “db”: “awx”<br>}<br>Operations to perform:<br> Synchronize unmigrated apps: solo, api, staticfiles, messages, channels, django_extensions, ui, rest_framework, polymorphic<br> Apply all migrations: sso, taggit, sessions, djcelery, sites, kombu_transport_django, social_auth, contenttypes, auth, conf, main<br>Synchronizing apps without migrations:<br> Creating tables…<br> Running deferred SQL…<br> Installing custom SQL…<br>Running migrations:<br> Rendering model states… DONE<br> Applying contenttypes.0001_initial… OK<br> Applying contenttypes.0002_remove_content_type_name… OK<br> Applying auth.0001_initial… OK<br> Applying auth.0002_alter_permission_name_max_length… OK<br> Applying auth.0003_alter_user_email_max_length… OK<br> Applying auth.0004_alter_user_username_opts… OK<br> Applying auth.0005_alter_user_last_login_null… OK<br> Applying auth.0006_require_contenttypes_0002… OK<br> Applying taggit.0001_initial… OK<br> Applying taggit.0002_auto_20150616_2121… OK<br> Applying main.0001_initial… OK<br> …</pre><p>Após o termino das migrations, voce deverá ver algo parecido com esta mensagem, indicando que o processo de instalacao terminou</p><pre>Python 2.7.5 (default, Nov 6 2016, 00:28:07)<br>[GCC 4.8.5 20150623 (Red Hat 4.8.5–11)] on linux2<br>Type “help”, “copyright”, “credits” or “license” for more information.<br>(InteractiveConsole)<br>&gt;&gt;&gt; &lt;User: admin&gt;<br>&gt;&gt;&gt; Default organization added.<br>Demo Credential, Inventory, and Job Template added.<br>Successfully registered instance awx<br>(changed: True)<br>Creating instance group tower<br>Added instance awx to tower<br>(changed: True)<br>…</pre><p>O acesso ao painel web deverá ser realizado no endereco http://localhost, com usuario <strong>admin </strong>e senha <strong>password</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b6bffdba78b" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>