mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-26 03:23:08 +08:00
fix hosts file
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user