Giter Club home page Giter Club logo

iac's Introduction

IaC

Esse repositório por hora servirá de espaço para organização do time de infra para o projeto Dados Abertos De Feira.

Aqui teremos a lista de tarefas e qualquer documento necessário pra ajudar pessoas a começarem a ajudar.

Sua contribuição é muito bem-vinda! Leia o nosso manifesto para entender os nossos valores e também o nosso código de conduta e o guia de contribuição.

Como testar

Requisitos:

Instale o Python 3

python3 -m venv .venv
source .venv/bin/activate
pip install "molecule[docker,lint]" pytest-testinfra
  • Testando a role:
molecule test
  • Testando rapidamente após modificação:
molecule create
molecule converge
molecule verify

Como executar o playbook

Requisitos:

Instale o Python 3

  • Instale o Python 3
  • Instale o ansible usando venv:
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Pra testar, execute os seguintes comandos:

molecule create
molecule converge
molecule verify

Primeiro é necessário instalar as roles necessárias com o comando:

ansible-galaxy install -r requirements.yml

Depois, crie um inventário para a máquina de teste. No repositório há um inventário de exemplo em hosts.example. Recomenda-se utilizar uma máquina com Ubuntu 18.04.

ansible-playbook -i hosts playbook.yml

iac's People

Contributors

gomex avatar felipefrizzo avatar rehzende avatar francilioaraujo avatar anapaulagomes avatar marcelomansur avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.