Project

General

Profile

Segnalazione #821

Sistemazione gestione host e group vars

Added by Elena Grandi over 5 years ago. Updated over 5 years ago.

Status:
Chiuso
Priority:
Normale
Assignee:
Target version:
Start date:
05/30/2019
Due date:
% Done:

100%

Estimated time:
Resolution:

Description

Il backend di gestione dell'inventario ansible non salva host e group vars, bisogna sistemarlo perché lo faccia

Associated revisions

Revision 600a0c98 (diff)
Added by Elena Grandi over 5 years ago

Save variables in host_vars. refs: #821

Revision 4ecf35f0 (diff)
Added by Elena Grandi over 5 years ago

Load host vars. refs: #821

Revision 822b0637 (diff)
Added by Elena Grandi over 5 years ago

Use _cycle_hosts when saving vars. refs: #821

Revision a090238f (diff)
Added by Elena Grandi over 5 years ago

Remove host variables from the saved inventory. refs: #821

Revision 03f792f1 (diff)
Added by Enrico Zini over 5 years ago

flake8 fixes. refs: #821

Revision 0dc0f635
Added by Enrico Zini over 5 years ago

Sync with master. refs: #821

Revision 64662570
Added by Enrico Zini over 5 years ago

Merged t821. Closes: #821

Revision 5db2c222 (diff)
Added by Elena Grandi over 5 years ago

Load all store data in one method. refs: #821

Revision 4dcdf8a9 (diff)
Added by Elena Grandi over 5 years ago

Improve testing of the AnsibleStore and fix bugs. refs: #821

Revision 6d27051a (diff)
Added by Elena Grandi over 5 years ago

Save host vars in the MachineStore. refs: #821

Revision 4220d7e8 (diff)
Added by Elena Grandi over 5 years ago

Add an empty inventory to the ops tests to prevent breakage. refs: #821

Revision 06452bca (diff)
Added by Elena Grandi over 5 years ago

Check that variables are correctly saved with the inventory. refs: #821

Revision 580ea1f6 (diff)
Added by Elena Grandi over 5 years ago

Add host_vars to the AnsibleInventory to save them. refs: #821

Revision ac588e8a (diff)
Added by Elena Grandi over 5 years ago

Additional tests for variable saving. refs: #821

Revision 8310bdb7 (diff)
Added by Elena Grandi over 5 years ago

Add --- to the top of variable files. refs: #821

Revision 1ae39da9 (diff)
Added by Elena Grandi over 5 years ago

Test loading of multiple variable files. refs: #821

Revision 5facfd67 (diff)
Added by Elena Grandi over 5 years ago

Instantiate Machine parameters at init time. refs: #821

Revision 65327b5b
Added by Enrico Zini over 5 years ago

Sync with master. refs: #821

Revision b3c4c207
Added by Enrico Zini over 5 years ago

Merged t821. Closes: #821

History

#1

Updated by Elena Grandi over 5 years ago

  • Status changed from Nuovo to Commenti
  • Assignee changed from Elena Grandi to Enrico Zini

Nel branch t821 ho implementato il salvataggio delle host vars; che io sappia le group vars non servono ancora, quindi sto aspettando (nel caso è facile poi aggiungerle).

Riassegno per review, attenzione che il branch rompe la compatibilità con jessie.

#2

Updated by Enrico Zini over 5 years ago

  • Status changed from Commenti to Chiuso

Fatto merge in master.

#3

Updated by Elena Grandi over 5 years ago

  • Status changed from Chiuso to In elaborazione
  • Assignee changed from Enrico Zini to Elena Grandi

Mi sono accorta che mancava anche la gestione delle host_vars nello store, mi ci rimetto a lavorare.

#4

Updated by Elena Grandi over 5 years ago

  • Status changed from In elaborazione to Commenti
  • Assignee changed from Elena Grandi to Enrico Zini

Sistemato il caricamento delle variabili nello store (e relativi bug che si sono manifestati), ripasso per review e merge.

(il caricamento delle group_vars nello store diventa un po' più complicato, invece, per cui lascerei sospeso fino a che non serva)

#5

Updated by Anonymous over 5 years ago

  • Status changed from Commenti to Risolto
  • % Done changed from 0 to 100
#6

Updated by Enrico Zini over 5 years ago

  • Status changed from Risolto to Chiuso

Ok, ho fatto merge in master.

Direi di chiudere questo ticket ed eventualmente aprirne uno sulle group vars se/quando serve.

Also available in: Atom PDF