-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added playbooks for NSGroup, Network logic filters & PXE config (#261)
* Added playbooks for NSGroup, Network logic filters & PXE config * fix sanity test
- Loading branch information
Showing
6 changed files
with
126 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
- name: Infoblox Nameserver Configuration | ||
hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: create infoblox nameserver delegation group | ||
infoblox.nios_modules.nios_nsgroup_delegation: | ||
name: my-delegation-group | ||
delegate_to: | ||
- name: first | ||
address: 192.168.0.10 | ||
- name: second | ||
address: 192.168.0.20 | ||
comment: "this is a delegation nameserver group" | ||
extattrs: | ||
Site: Test Site | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
- name: Infoblox Nameserver Configuration | ||
hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: create infoblox nameserver forwarding member group with external forwarders | ||
infoblox.nios_modules.nios_nsgroup_forwardingmember: | ||
name: my-forwardingmember-group | ||
comment: "this is a forwarding member nameserver group with external forwarders" | ||
extattrs: | ||
Site: Test Site | ||
forwarding_servers: | ||
- name: infoblox.cloud-ansible-client-nios-gm | ||
use_override_forwarders: true | ||
forwarders_only: true | ||
forward_to: | ||
- name: ns1 | ||
address: 192.168.10.1 | ||
- name: ns2 | ||
address: 192.168.10.2 | ||
- name: infoblox.cloud-ansible-client-nios-mem1 | ||
use_override_forwarders: true | ||
forwarders_only: false | ||
forward_to: | ||
- name: ns3 | ||
address: 192.168.10.3 | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
--- | ||
- name: Infoblox Nameserver Configuration | ||
hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: create infoblox nameserver forward/stub group | ||
infoblox.nios_modules.nios_nsgroup_forwardstubserver: | ||
name: new-forwardstub-group | ||
comment: "this is a forward/stub nameserver group" | ||
extattrs: | ||
Site: Test Site | ||
external_servers: | ||
- name: first | ||
address: 192.168.0.10 | ||
- name: second | ||
address: 192.168.0.20 | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- | ||
- name: Infoblox Nameserver Configuration | ||
hosts: localhost | ||
vars: | ||
nios_provider: | ||
host: 10.36.118.2 | ||
username: cloudadmin | ||
password: admin | ||
|
||
connection: local | ||
tasks: | ||
- name: create infoblox nameserver stub member group | ||
infoblox.nios_modules.nios_nsgroup_stubmember: | ||
name: my-stubmember-group | ||
comment: "this is a stub member nameserver group" | ||
extattrs: | ||
Site: Test Site | ||
stub_members: | ||
- name: infoblox.cloud-ansible-client-nios-gm | ||
- name: infoblox.cloud-ansible-client-nios-mem1 | ||
state: present | ||
provider: "{{ nios_provider }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters