Användarverktyg

Webbverktyg


teknik:ansible:ansible_best_practices

Skillnader

Här visas skillnader mellan den valda versionen och den nuvarande versionen av sidan.

Länk till den här jämförelsesidan

Both sides previous revision Föregående version.
teknik:ansible:ansible_best_practices [2018-11-07 22:33]
stemid [Keep It Simple, Stupid]
teknik:ansible:ansible_best_practices [2019-06-03 07:27] (aktuell)
stemid [Example playbook repo structure]
Rad 18: Rad 18:
   vars/   vars/
     common.yml     common.yml
 +  inventory/
 +    hosts
 +    hosts.local
 +    host_vars/
 +    group_vars/
   bootstrap.yml   bootstrap.yml
   db.yml   db.yml
   backend.yml   backend.yml
   frontend.yml   frontend.yml
-  hosts 
 </​file>​ </​file>​
  
 And I find that using more includes in tasks makes for easier conversion to roles down the line when that becomes necessary. And I find that using more includes in tasks makes for easier conversion to roles down the line when that becomes necessary.
  
-So backend.yml is the one you run from the mastodon/ dir and it might look like this.+So backend.yml is the one you run from the root mastodon/ dir and it might look like this.
  
 <​file>​ <​file>​
teknik/ansible/ansible_best_practices.txt · Senast uppdaterad: 2019-06-03 07:27 av stemid