Skip to content
/ IaC Public

"IaC" => "Infrastructure as Code". My Ansible automation script to manage my Linux environments

License

Notifications You must be signed in to change notification settings

zolodev/IaC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

IaC - Ansible playbooks

This repo is to manage and automate my servers using Ansible.

Pre-requisite

In Windows WSL we need to export the variable ANSIBLE_CONFIG:

export ANSIBLE_CONFIG=/mnt/c/Users/Zolo/projects/IaC/ansible.cfg

´main.yml´ is the main playbook. Run it with following command:

ansible-playbook main.yml -i inv.ini

Or run individual playbooks

ansible-playbook ./playbooks/apt.yml -i inv.ini

To scaffold a new role use the following command:

ansible-galaxy init my_role

About

"IaC" => "Infrastructure as Code". My Ansible automation script to manage my Linux environments

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published