Ansible module libraries.
Clone this repository into your project's library
directory:
$ cd /path/to/your-project/
$ mkdir -p library/
$ cd library/
$ git clone https://github.com/mrk21/ansible-lib.git
Waits the HTTP request for a condition before continuing.
parameter | required | default | choices | comments |
---|---|---|---|---|
host | no | 127.0.0.1 | Hostname | |
port | no | 80 or 443 | Port | |
path | no | / | Path | |
ssl | no | no | yes, no | Using SSL |
status | no | 200 | OK status | |
interval | no | 3 | Access interval (sec) | |
timeout | no | 60 | Time out (sec) |
Install Jenkins Git Plugin:
---
- name: start jenkins server
command: java -jar jenkins.war
- http_wait_for: port=8080 timeout=300
- name: install git plugin
command: java -jar jenkins-cli.jar -s http://127.0.0.1:8080 install-plugin git
- name: restart jenkins server
command: java -jar jenkins-cli.jar -s http://127.0.0.1:8080 safe-restart
- http_wait_for: port=8080 timeout=300
Manage the Firefox Add-ons.
see: mrk21/firebrew
parameter | required | default | choices | comments |
---|---|---|---|---|
name | yes | Extension name | ||
state | no | present | present, absent | Install or Uninstall |
base_dir | no | The profiles.ini path | ||
profile | no | Target profile name | ||
firefox | no | The Firefox command path |
---
- name: install Vimperator
firebrew: name=Vimperator state=present
- name: uninstall Japanese Language Pack
firebrew: name='Japanese Language Pack' state=absent