Project

General

Profile

Feature #11423

Updated by Zack Cerza about 9 years ago

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.

Back