Skip to content

automationiberia/casc_setup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Collection - automationiberia.casc_setup

Roles

Role Name Description
filetree_create Create a basic Configuration as Code filetree to setup the day zero
gitlab_setup Create the repository, Upload the content crated, for example, by filtree_create role of this collection, Create and protect branches and configure the webooks
github_setup WIP

Role Variables and Dependencies

You can see Role variables and dependencies in the README of each role

Steps to setup CasC

Install this collection and configure a playbook to use it (there is an example in this repository inside the example directory. You need to change the variables defined in the playbook itself or use extra-vars).

Launch the playbook to init git and create the initial basic content. To to that, use tags git-init, filetree_create, git-push and git-branches:

$ ansible-navigator run gitlab_setup.yml  -m stdout --eei quay.io/automationiberia/aap/ee-casc --tags git-init,filetree_create,git-push,git-branches

Git repository is ready to launch the first CD and set the controller configured from CasC approach. As day 0, it is needed to do it from CLI to, after that, configure the pipelines, webhooks and everthing needed to have a complete CasC for the controller.

Clone the created repository and follow the steps in readme

About

Ansible collection to setup CasC for Controller

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages