Rename fsol?? hosts to fsol-gw??
This commit is contained in:
parent
77ee001c54
commit
51aede7c00
5 changed files with 10 additions and 10 deletions
|
@ -1,40 +0,0 @@
|
|||
---
|
||||
- import_playbook: "include/deploy-kvm-guest.yml myhosts=fsol"
|
||||
|
||||
- name: configure instance
|
||||
hosts: fsol
|
||||
user: root
|
||||
gather_facts: true
|
||||
|
||||
vars_files:
|
||||
- "{{ ansible_private }}/vars.yml"
|
||||
|
||||
tasks:
|
||||
- name: enable ip forwarding
|
||||
sysctl:
|
||||
name: "{{ item }}"
|
||||
sysctl_set: true
|
||||
value: "1"
|
||||
with_items:
|
||||
- net.inet.ip.forwarding
|
||||
- net.inet6.ip6.forwarding
|
||||
- name: use manual dns servers
|
||||
copy:
|
||||
dest: /etc/dhclient.conf
|
||||
content: "ignore domain-name-servers, domain-name;\n"
|
||||
mode: 0644
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
- name: create pfsync interface
|
||||
copy:
|
||||
dest: /etc/hostname.pfsync0
|
||||
content: "up syncdev vio1\n"
|
||||
mode: 0600
|
||||
owner: root
|
||||
group: "{{ ansible_wheel }}"
|
||||
|
||||
roles:
|
||||
- base
|
||||
- bird
|
||||
- openvpn
|
||||
- ifstated
|
Loading…
Add table
Add a link
Reference in a new issue