News for hackers. Stuff that matters.
Re:Replacing Ansible with salt-ssh by tutfbhuf on Thursday October 22, 2020 @01:48PM (#24860885)
Isn't it possible to create many small playbooks, instead of a big one. This would allow you to just run the stuff you need. And if you need all e.g. for bootstraping then you can create one playbook that simply includes the smaller ones with the import_playbook statement. This also gives you the flexibility to create other subsets based on your needs.
Re:Replacing Ansible with salt-ssh by tyldum on Thursday October 22, 2020 @05:38PM (#24863573)
Multiple playbooks is possible, and joining them into a large one by imports. You also have tags to do target with more precision.
Re:Replacing Ansible with salt-ssh by PaywallBuster on Friday October 23, 2020 @12:51AM (#24866139)
this is the right answer.

You can tag playbooks and either run only the specified tags playbooks or skip those and run everything else.

Re:Replacing Ansible with salt-ssh by folken on Thursday October 22, 2020 @05:49PM (#24863672)
you write states per purpose. you can import, you can extend, you can define functions in one and reuse them somewhere else...