Skip to content

Provisionning WSL or VM with bash script and ansible. bash script and playbook ansible test with docker container

Notifications You must be signed in to change notification settings

sfinx13/provisionning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Provisionning

Provisionning with bash

The objective is to test the bash script, we will use container

$ docker build -f bash/Dockerfile -t provision-bash bash    
$ docker run -it --rm --name test-provision provision-bash 

Provisionning with ansible

The objective is to test the playbook ansible, we will use a container as node

Run container

Provision the node with ssh enabled cause ansible node manager communicate with nodes in ssh

$ docker build -f ansible/Dockerfile -t node-ssh .
$ docker run -dit --rm -p 22:22 --name node-1 node-ssh

Execute playbook

$ cd ansible
$ ./play.sh

Main ansible modules used

Install modules

User management modules

Scripting modules

File management modules

Service management modules

Local management modules

MySQL modules

Other modules

About

Provisionning WSL or VM with bash script and ansible. bash script and playbook ansible test with docker container

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published