fix hosts file

This commit is contained in:
Kevin Fenzi 2017-05-11 17:29:45 +00:00
parent 806f137ab9
commit 1d61d758d1

View file

@ -48,6 +48,13 @@
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
tasks:
- name: fix hosts file
copy:
src: "{{roles_path}}/hosts/files/os-hosts"
dest: "/etc/hosts"
owner: root
mode: 0644
- name: deploy private key to control hosts
copy:
src: "{{private}}/files/os/{{env}}/control_key"