summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/client.prep/tasks/main.yml
blob: b8819faed20a2180d0a80856962c17d4d960eb2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
- name: Install required packages
  yum:
    name:
      - glusterfs-fuse
      - cifs-utils
      - samba-test
      - python-pip
      - git
    state: latest

- name: Install Python yaml package
  pip:
    name: PyYAML

- debug:
    msg: "{{ ctdb_network_public_interfaces }}"

- name: Create a README file
  template:
    src: README.j2
    dest: /root/README
    owner: root
    group: root
    mode: '0644'

- name: Create the test-info.yml file with test cluster information
  template:
    src: test-info.yml.j2
    dest: /root/test-info.yml
  vars:
    private_interfaces: "{{ ctdb_network_private_interfaces }}"
    public_interfaces: "{{ ctdb_network_public_interfaces }}"
    exported_sharenames:
      - "{{ samba_share }}"
    test_users: "{{ samba_users }}"