summaryrefslogtreecommitdiffstats
path: root/vagrant/ansible/roles/common.prep/tasks/main.yml
blob: 78e9f34e1bb22373dbaaa4dca23d59782202cddc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- name: Run distro specific tasks
  include_tasks:
    file: "{{ distro.actions_file }}"

- name: create ansible directory (for ssh key)
  file:
    path: /home/vagrant/ansible
    state: directory

- name: copy ssh key
  copy:
    src: /home/vagrant/ansible/vagrant_insecure_private_ssh_key
    dest: /home/vagrant/ansible/vagrant_insecure_private_ssh_key

- name: copy ssh config
  copy:
    src: ssh-config-setup
    dest: /home/vagrant/.ssh/config

- name: copy /etc/hosts
  copy:
    src: etc-hosts
    dest: /etc/hosts