Skip to content
/ ansible Public

Starting point of Ansible development inside GovNS

Notifications You must be signed in to change notification settings

nsgov/ansible

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Ansible

Starting point of Ansible development inside GovNS

Requirements

To run the automated tests some basic requirements are needed

  • GitLab instance to run the CI/CD tests on privleged docker containers
  • CI/CD runners with access to run RHEL 6/7 based containers
  • Access to pull quay.io/ansible/molecule image

Setup

Steps to get this running:

  1. Clone this project to a new GitLab project
  2. Add the following protected CI/CD variables
Environment Variable Description
TOWER_USERNAME User that can trigger a project refresh on your AWX/Tower server
TOWER_PASSWORD AWX/Tower user password
TOWER_PROJECT_URL The AWX/Tower URL to the project that will sync this repository

Usage

Write your tests in molecule/default/tests to testinfra specs.

Confirm the CI/CD fails on the indepth test phase with the expected test failure.

Write a your custom role code in in roles/ to satisfy your test.

About

Starting point of Ansible development inside GovNS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages