|
|
@ -33,7 +33,7 @@ author: Mathew Davies (@ThePixelDeveloper)
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
name:
|
|
|
|
name:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Name of the plugin to install
|
|
|
|
- Name of the plugin to install. In ES 2.x, the name can be an url or file location
|
|
|
|
required: True
|
|
|
|
required: True
|
|
|
|
state:
|
|
|
|
state:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
@ -43,7 +43,7 @@ options:
|
|
|
|
default: present
|
|
|
|
default: present
|
|
|
|
url:
|
|
|
|
url:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|
- Set exact URL to download the plugin from
|
|
|
|
- Set exact URL to download the plugin from (Only works for ES 1.x)
|
|
|
|
required: False
|
|
|
|
required: False
|
|
|
|
default: None
|
|
|
|
default: None
|
|
|
|
timeout:
|
|
|
|
timeout:
|
|
|
@ -124,8 +124,8 @@ def parse_error(string):
|
|
|
|
def main():
|
|
|
|
def main():
|
|
|
|
|
|
|
|
|
|
|
|
package_state_map = dict(
|
|
|
|
package_state_map = dict(
|
|
|
|
present="--install",
|
|
|
|
present="install",
|
|
|
|
absent="--remove"
|
|
|
|
absent="remove"
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
module = AnsibleModule(
|
|
|
|
module = AnsibleModule(
|
|
|
|