summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/client.prep/tasks/main.yml
blob: c6bdc32a2f507ab139cddfc6f33254c16298e617 (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
- name: Run distro specific tasks for client.prep
  include_tasks:
    file: "{{ distro.actions_file }}"

- 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_shares| map(attribute='share_name') | list }}"
    test_users: "{{ samba_users }}"