Search

Chapter 8. Managing projects

download PDF

A Project is a logical collection of Ansible playbooks, represented in automation controller. You can manage playbooks and playbook directories different ways:

  • By placing them manually under the Project Base Path on your automation controller server.
  • By placing your playbooks into a source code management (SCM) system supported by the automation controller. These include Git, Subversion, and Mercurial.
Note

This Getting Started Guide uses lightweight examples to get you up and running. But for production purposes, you must use source control to manage your playbooks. The best practice is to treat your infrastructure as code which is in line with DevOps ideals.

8.1. Setting up a project

Automation controller simplifies the startup process by providing you with a Demo Project that you can work with initially.

Procedure

  1. To review existing projects, select Resources Projects from the navigation panel.
  2. Click Demo Project to view its details.
Demo Project

8.2. Editing a project

As part of the initial setup you can leave the default Demo Project as it is. You can edit it later.

Procedure

  1. Open the project to edit it by using one of these methods:

    • Go to the project Details page and click Edit.
    • From the navigation panel, select Resources Projects. Click Edit next to the project name and edit the appropriate details.
  2. Save your changes

8.3. Syncing a project

If you want to fetch the latest changes in a project, you can manually start an SCM sync for this project.

Procedure

  1. Open the project to update the SCM-based demo project by using one of these methods:

    • Go to the project Details page and click Sync.
    • From the navigation panel, select Resources Projects and click Sync Project.
Project sync
Note

When you add a project set up to use source control, a "sync" starts. This fetches the project details from the configured source control.

Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.