Project

General

Profile

Actions

Feature #11423

closed

ansible task

Added by Zack Cerza about 9 years ago. Updated about 9 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Core Tasks
Target version:
% Done:

0%

Source:
other
Tags:
Backport:
Reviewed:
Affected Versions:

Description

We want to be able to run our new ansible configuration management from inside teuthology. This will make #11422 far more robust.

Here are my thoughts on how the CM part would work:

In ceph-cm-ansible, we have an ansible.cfg. We might want to rename it to ansible.cfg.in

To use teuthology-cobbler-ansible provisioning:
  • symlink ansible.cfg into /etc/ansible
  • set roles_path to point back to the checkout being used
  • Point to vault_password_file
  • make sure perms are 600
When running cobbler provisioning with ansible CM, teuthology:
  • generates per-job hosts file and playbook
  • runs ansible pointing at those files

We will of course need to document the cobbler and ansible configurations.

Actions

Also available in: Atom PDF