Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Ansible do Zero ao AWX
Search
Rafael Carreiro
April 24, 2021
Technology
29
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Ansible do Zero ao AWX
Flisol 2021 - Ansible do Zero ao AWX
https://github.com/carreirorco/flisol-demo
Rafael Carreiro
April 24, 2021
More Decks by Rafael Carreiro
See All by Rafael Carreiro
Introducao às Expressoes Regulares
carreirorco
0
120
Other Decks in Technology
See All in Technology
無理せず続ける、子育てエンジニアの学び
codmoninc
PRO
0
870
"優秀な誰か"の下位互換にならないために
yut0naga1_fa
1
1.8k
AI コーディングと人間の認知スループット / CTO Night & Day 2026 Morning Session / AI Coding and Human Cognitive Throughput
prog893
4
1.1k
Claude Code本は、どのように執筆チームで書かれたか
oikon48
1
380
Refining Active Record
shugo
0
150
CTO Night|NotionのAIエージェントとFDE
kzkhykw1991
0
100
パッチ更新でterraform initが落ちた日
grimoh
1
140
事業成長とデータ活用を止めないためのマネジメントへ挑戦
hiracky16
0
390
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
300
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
470
初海外で注意すべきこと12選!!!安全快適なre:invent生活にするために
yuuuuuuu168
1
160
NDIでApple Vision Proにリアルタイム映像送信
jyouryuusui
0
120
Featured
See All Featured
Fantastic passwords and where to find them - at NoRuKo
philnash
53
4k
Building Applications with DynamoDB
mza
96
7.2k
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
270
Designing for Performance
lara
612
70k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.4k
Building Adaptive Systems
keathley
44
3.2k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
Gemini Prompt Engineering: Practical Techniques for Tangible AI Outcomes
mfonobong
2
590
Fashionably flexible responsive web design (full day workshop)
malarkey
409
67k
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
12k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
We Are The Robots
honzajavorek
0
400
Transcript
Ansible Do Zero ao AWX
Por que vamos falar de Ansible? • Infraestrutura como código
• Versionamento • Gerenciamento centralizado • Infraestrutura imutável
# whoami • Bacharel em Sistemas de Informação pela FGP
• Analista de Infraestrutura na Arca Solutions • Entusiasta do mundo Open Source https://br.linkedin.com/in/carreirorco https://github.com/carreirorco
Por que aprender Ansible? • Simples • Poderoso • Agentless
Origem... • Foi desenvolvida por Michael DeHann, primeiro lançamento em
2012 • Adquirido pela RedHat em Outubro de 2015
Algumas características interessantes... • Comunicação via SSH • Idempotencia •
Mudança de estado
Instalação do ansible • RedHat-Like: ◦ yum install ansible •
Debian-Like: ◦ apt install ansible • Python-Pip: ◦ pip install --user ansible https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html
Configurando as chaves SSH • Gerando a chave ssh: ◦
ssh-keygen -t rsa • Visualisar o conteúdo da chave: ◦ cat ~/.ssh/id_rsa.pub • Inserir chave nos servidores: ◦ ssh-copy-id USER@IP
Ad-hoc e módulos • Ad-hoc: Execução de comandos para teste
ou muito simples • Exemplos de módulos: ◦ ping ◦ shell ◦ user ◦ yum ◦ apt ◦ package ◦ copy ◦ setup
Inventários • Arquivo que descreve quais são os alvos da
automação • Por padrão o arquivo possui o formato INI • Pode ser criado dinamicamente via scripts
ansible.cfg • Arquivo de configuração do ansible • Customização da
configuração padrão • Convensão de configuração
Playbooks • Sintaxe YAML (YAML is a human friendly data
serialization) • Templates Jinja2 (Jinja is a modern and designer-friendly templating language for Python) • Variáveis, condicionais, loops • Sequencia de tarefas a serem executadas
Roles • Estrutura de arquivos padronizada • Abstração • Reutilização
de código https://galaxy.ansible.com
AWX = Ansible Tower free! • Ferramenta gráfica • REST
API • Workflow / Pipeline • Role-based access control • Dashboard
None
None
Automatize tudo!
Saiba mais em...
Obrigado! Jesus Christ is my Lord!