Forskjell mellom versjoner av «Diskusjon:ISC-DHCP»

Fra Bitraf
Hopp til navigering Hopp til søk
(Use ansible roles: add example info)
(variables in separate files: ny seksjon)
Linje 9: Linje 9:
 
== References ==
 
== References ==
 
<references/>
 
<references/>
 +
 +
== variables in separate files ==
 +
 +
Put variables into separate files, not in the playbook itself. Again, this helps with reuse. [[Bruker:Tingo|Tingo]] ([[Brukerdiskusjon:Tingo|diskusjon]]) 16. okt. 2022 kl. 19:40 (CEST)

Revisjonen fra 16. okt. 2022 kl. 19:40

Some changes are needed for this to work with Bitraf's ansible setup. You can find Bitraf's setup in the infrastructure[1] repository. Required changes will be documented below. Tingo (diskusjon) 16. okt. 2022 kl. 19:30 (CEST)

Use ansible roles

Bitraf uses roles[2] in the ansible setup. This makes it easy to re-use a playbook and associated variables. The roles Bitraf use can be found in the shared-roles directory. For an examples, look at the infoscreen role. Please rewrite the playbook as a shared role. Tingo (diskusjon) 16. okt. 2022 kl. 19:35 (CEST)

References

variables in separate files

Put variables into separate files, not in the playbook itself. Again, this helps with reuse. Tingo (diskusjon) 16. okt. 2022 kl. 19:40 (CEST)