Rechercher

Ce contenu n'est pas disponible dans la langue sélectionnée.

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

Apprendre

Essayez, achetez et vendez

Communautés

À propos de la documentation Red Hat

Nous aidons les utilisateurs de Red Hat à innover et à atteindre leurs objectifs grâce à nos produits et services avec un contenu auquel ils peuvent faire confiance.

Rendre l’open source plus inclusif

Red Hat s'engage à remplacer le langage problématique dans notre code, notre documentation et nos propriétés Web. Pour plus de détails, consultez leBlog Red Hat.

À propos de Red Hat

Nous proposons des solutions renforcées qui facilitent le travail des entreprises sur plusieurs plates-formes et environnements, du centre de données central à la périphérie du réseau.

© 2024 Red Hat, Inc.