Skip to content
/ Ansible Public

A powerful tool for applying configurations, which can be used in conjunction with terraform. Ansible provides open-source automation that reduces complexity and runs everywhere. Using Ansible lets you automate virtually any task

Notifications You must be signed in to change notification settings

ivsonv/Ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

A powerful tool for applying configurations, which can be used in conjunction with terraform.
Ansible provides open-source automation that reduces complexity and runs everywhere.
Using Ansible lets you automate virtually any task

  • Eliminate repetition and simplify workflows

  • Manage and maintain system configuration

  • Continuously deploy complex software

  • Perform zero-downtime rolling updates

  • Docs Ansible

Start Local

  • inventory -> hosts -> localhost ansible_connection=local Captura de Tela 2024-07-03 às 20 35 58

Exec commands

  • When starting the nodes, you must enable ssh on the node
service ssh start
  • Install package git in nodes
ansible -i hosts all -m apt -a "update_cache=yes name=git state=present"
  • Remove package git in nodes
ansible -i hosts all -m apt -a "update_cache=yes name=git state=absent"
  • checkout in repository
ansible -i hosts all -m git -a "repo=https://github.com/ivsonv/provision-terraform-iac dest=/root/terraform-repo"
  • full informations the node
ansible -i hosts node_ansible -m setup

About

A powerful tool for applying configurations, which can be used in conjunction with terraform. Ansible provides open-source automation that reduces complexity and runs everywhere. Using Ansible lets you automate virtually any task

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published