Advertisement
Guest User

Untitled

a guest
Mar 30th, 2020
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.21 KB | None | 0 0
  1. ---
  2. - name: Set /etc/hosts
  3. lineinfile:
  4. dest: /etc/hosts
  5. regexp: "{{ guest['new_host']['name'] }}"
  6. line: "{{ guest['new_host']['ext_ipv4'] }}{{ guest['new_host']['name'] }}"
  7. insertafter: EOF
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement