Files @ 1f535da3e694
Branch filter:

Location: majic-ansible-roles/roles/preseed/molecule/default/prepare.yml

branko
MAR-129: Updated backup_client tests to use variables from group_vars.
---

- name: Prepare
  hosts: all
  gather_facts: False
  tasks:
    - name: Install python for Ansible
      raw: test -e /usr/bin/python || (apt -y update && apt install -y python-minimal)
      become: True
      changed_when: False

- hosts: parameters-mandatory
  become: yes
  tasks:

    # @TODO: This is a hack because inventory_dir used for
    # preseed_directory comes from _host_.
    - name: Set-up inventory directory matching location where molecule is running itself
      file:
        path: "{{ inventory_dir }}"
        state: directory
        owner: vagrant
        group: vagrant
        mode: 0700