Daily Shaarli

All links of one day in a single page.

December 4, 2023

Nextcloud-Serie: Intro - GNU/Linux.ch

Jetzt möchten wir eine Nextcloud-Serie starten. Darin soll es um praktische Anwendungsfälle mit der freien Cloud gehen. Viele von euch nutzen die Nextcloud und können darüber berichten, wie ihr diese Cloud für eure Zwecke verwendet. Für alle, die noch nicht von den Vorteilen überzeugt sind, ist das eine gute Gelegenheit, den Einsatz von Nextcloud in Erwägung zu ziehen. (Nein, diese Serie wird nicht von der Firma Nextcloud gesponsort.)

Re-using Ansible artifacts — Ansible Documentation

Ansible offers two ways to reuse files and roles in a playbook: dynamic and static.

  • For reuse, add an include_* task in the tasks section of a play:

    • include_role
    • include_tasks
    • include_vars
  • For static reuse, add an import_* task in the tasks section of a play:

    • import_role
    • import_tasks

Task include and import statements can be used at arbitrary depth.

You can still use the bare roles keyword at the play level to incorporate a role in a playbook statically. However, the bare include keyword, once used for both task files and playbook-level includes, is now deprecated.