Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ansible FreeIPA
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Ansible FreeIPA
Commits
35d76588
Unverified
Commit
35d76588
authored
5 years ago
by
Sergio Oliveira Campos
Browse files
Options
Downloads
Patches
Plain Diff
Added alias module arguments in dnszone module
parent
492a2bf3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README-dnszone.md
+2
-1
2 additions, 1 deletion
README-dnszone.md
plugins/modules/ipadnszone.py
+21
-4
21 additions, 4 deletions
plugins/modules/ipadnszone.py
with
23 additions
and
5 deletions
README-dnszone.md
+
2
−
1
View file @
35d76588
...
@@ -163,6 +163,7 @@ Variable | Description | Required
...
@@ -163,6 +163,7 @@ Variable | Description | Required
-------- | ----------- | --------
-------- | ----------- | --------
`ipaadmin_principal`
| The admin principal is a string and defaults to
`admin`
| no
`ipaadmin_principal`
| The admin principal is a string and defaults to
`admin`
| no
`ipaadmin_password`
| The admin password is a string and is required if there is no admin ticket available on the node | no
`ipaadmin_password`
| The admin password is a string and is required if there is no admin ticket available on the node | no
`name`
\|
`zone_name`
| The zone name string. | yes
`forwarders`
| The list of forwarders dicts. Each
`forwarders`
dict entry has:| no
`forwarders`
| The list of forwarders dicts. Each
`forwarders`
dict entry has:| no
|
`ip_address`
- The IPv4 or IPv6 address of the DNS server. | yes
|
`ip_address`
- The IPv4 or IPv6 address of the DNS server. | yes
|
`port`
- The custom port that should be used on this server. | no
|
`port`
- The custom port that should be used on this server. | no
...
@@ -172,7 +173,7 @@ Variable | Description | Required
...
@@ -172,7 +173,7 @@ Variable | Description | Required
`name_server`
| Authoritative nameserver domain name | no
`name_server`
| Authoritative nameserver domain name | no
`admin_email`
| Administrator e-mail address | no
`admin_email`
| Administrator e-mail address | no
`update_policy`
| BIND update policy | no
`update_policy`
| BIND update policy | no
`dynamic_update`
| Allow dynamic updates | no
`dynamic_update`
\|
`dynamicupdate`
| Allow dynamic updates | no
`dnssec`
| Allow inline DNSSEC signing of records in the zone | no
`dnssec`
| Allow inline DNSSEC signing of records in the zone | no
`allow_transfer`
| List of IP addresses or networks which are allowed to transfer the zone | no
`allow_transfer`
| List of IP addresses or networks which are allowed to transfer the zone | no
`allow_query`
| List of IP addresses or networks which are allowed to issue queries | no
`allow_query`
| List of IP addresses or networks which are allowed to issue queries | no
...
...
This diff is collapsed.
Click to expand it.
plugins/modules/ipadnszone.py
+
21
−
4
View file @
35d76588
...
@@ -38,6 +38,11 @@ options:
...
@@ -38,6 +38,11 @@ options:
description: The admin password
description: The admin password
required: false
required: false
name:
description: The zone name string.
required: true
type: str
alises: [
"
zone_name
"
]
forwarders:
forwarders:
description: The list of global DNS forwarders.
description: The list of global DNS forwarders.
required: false
required: false
...
@@ -71,10 +76,15 @@ options:
...
@@ -71,10 +76,15 @@ options:
description: Administrator e-mail address
description: Administrator e-mail address
required: false
required: false
type: str
type: str
update_policy:
BIND update policy
update_policy:
description:
Allow dynamic updates
description:
BIND update policy
required: false
required: false
type: str
type: str
dynamic_update:
description: Allow dynamic updates
required: false
type: bool
alises: [
"
dynamicupdate
"
]
dnssec:
dnssec:
description: Allow inline DNSSEC signing of records in the zone
description: Allow inline DNSSEC signing of records in the zone
required: false
required: false
...
@@ -415,7 +425,9 @@ def get_argument_spec():
...
@@ -415,7 +425,9 @@ def get_argument_spec():
),
),
ipaadmin_principal
=
dict
(
type
=
"
str
"
,
default
=
"
admin
"
),
ipaadmin_principal
=
dict
(
type
=
"
str
"
,
default
=
"
admin
"
),
ipaadmin_password
=
dict
(
type
=
"
str
"
,
required
=
False
,
no_log
=
True
),
ipaadmin_password
=
dict
(
type
=
"
str
"
,
required
=
False
,
no_log
=
True
),
name
=
dict
(
type
=
"
str
"
,
default
=
None
,
required
=
True
),
name
=
dict
(
type
=
"
str
"
,
default
=
None
,
required
=
True
,
aliases
=
[
"
zone_name
"
]
),
forwarders
=
dict
(
forwarders
=
dict
(
type
=
"
list
"
,
type
=
"
list
"
,
default
=
None
,
default
=
None
,
...
@@ -432,7 +444,12 @@ def get_argument_spec():
...
@@ -432,7 +444,12 @@ def get_argument_spec():
admin_email
=
dict
(
type
=
"
str
"
,
required
=
False
,
default
=
None
),
admin_email
=
dict
(
type
=
"
str
"
,
required
=
False
,
default
=
None
),
allow_sync_ptr
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
),
allow_sync_ptr
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
),
update_policy
=
dict
(
type
=
"
str
"
,
required
=
False
,
default
=
None
),
update_policy
=
dict
(
type
=
"
str
"
,
required
=
False
,
default
=
None
),
dynamic_update
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
),
dynamic_update
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
,
aliases
=
[
"
dynamicupdate
"
],
),
dnssec
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
),
dnssec
=
dict
(
type
=
"
bool
"
,
required
=
False
,
default
=
None
),
allow_transfer
=
dict
(
type
=
"
list
"
,
required
=
False
,
default
=
None
),
allow_transfer
=
dict
(
type
=
"
list
"
,
required
=
False
,
default
=
None
),
allow_query
=
dict
(
type
=
"
list
"
,
required
=
False
,
default
=
None
),
allow_query
=
dict
(
type
=
"
list
"
,
required
=
False
,
default
=
None
),
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment