- name: Create sentinel directory file: state: directory path: "{{ item }}/sentinel" with_items: - /usr/local/bin - /etc vars: ansible_become: yes ansible_become_method: sudo ansible_become_password: "{{ sudo_password }}" tags: [ "configure", "stats", "blacklist", "supervision"] - name: Deploy stats script import_tasks: stats.yml tags: [ "configure", "stats"] - name: Configure blacklist script import_tasks: blacklist.yml tags: [ "configure", "blacklist" ] - name: Configure supervision script import_tasks: supervision.yml tags: [ "configure", "supervision" ]