|
12 | 12 | # See the License for the specific language governing permissions and |
13 | 13 | # limitations under the License. |
14 | 14 |
|
| 15 | +# This file is part of Ansible |
| 16 | +# |
| 17 | +# Ansible is free software: you can redistribute it and/or modify |
| 18 | +# it under the terms of the GNU General Public License as published by |
| 19 | +# the Free Software Foundation, either version 3 of the License, or |
| 20 | +# (at your option) any later version. |
| 21 | +# |
| 22 | +# Ansible is distributed in the hope that it will be useful, |
| 23 | +# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 24 | +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 25 | +# GNU General Public License for more details. |
| 26 | +# |
| 27 | +# You should have received a copy of the GNU General Public License |
| 28 | +# along with Ansible. If not, see <http://www.gnu.org/licenses/>. |
| 29 | + |
15 | 30 | from __future__ import absolute_import, division, print_function |
16 | 31 |
|
17 | 32 | __metaclass__ = type |
|
32 | 47 | dest: |
33 | 48 | description: |
34 | 49 | - Absolute . |
35 | | - type: path |
| 50 | + type: str |
36 | 51 | required: true |
37 | 52 | force: |
38 | 53 | description: |
39 | 54 | - If C(true) and C(dest) is not a directory, will download the file every |
40 | 55 | time and replace the file if the contents change. If C(false), the file |
41 | 56 | will only be downloaded if the destination does not exist. |
| 57 | + default: False |
| 58 | + type: bool |
42 | 59 | """ |
43 | 60 |
|
44 | 61 |
|
@@ -149,7 +166,7 @@ def argspec(): |
149 | 166 | argument_spec = copy.deepcopy(JBOSS_NETWORK_COMMON_ARGS_SPEC) |
150 | 167 | argument_spec.update(copy.deepcopy(JBOSS_NETWORK_SEARCH_ARGS_SPEC)) |
151 | 168 | argument_spec["dest"] = dict(required=True) |
152 | | - argument_spec["force"] = dict(required=False, default=False, type=bool) |
| 169 | + argument_spec["force"] = dict(required=False, default=False, type='bool') |
153 | 170 |
|
154 | 171 | return argument_spec |
155 | 172 |
|
|
0 commit comments