- name: postinstall for slackware systems gather_facts: no hosts: "{{target}}" become: "{{become}}" tasks: #- assert: # that: ansible_facts['os_family'] == "Slackware" - name: deploy slackware-specific configs in /etc/ ansible.builtin.copy: src: "templates_slackware/{{ item }}" dest: /etc/ mode: preserve with_items: - nologin # source /etc/shrc from /etc/profile on slackware linux - shrc diff: true - name: deploy slackware-specific scripts in /root/ ansible.builtin.copy: src: "templates_slackware/{{ item }}" dest: /root/ mode: preserve with_items: - log diff: true # shared local scripts and such - import_tasks: tasks-common-postinstall.yml