Skip to content

Commit

Permalink
Merge branch 'release/1.0.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir Mofasser committed Jan 9, 2018
2 parents c92ab24 + df6eb7f commit dac6a19
Show file tree
Hide file tree
Showing 10 changed files with 259 additions and 311 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# 1.0.2
* Added some additional options
* `acceptLicense` is now present on the cmd when updating packages
* Improved some module outputting

# 1.0.1
* Merged ibmim and ibmwas modules to one module, ibmim. This new updated module can be used to install, uninstall and update all IBM products that can be used with Installation Manager. Not just WebSphere. Installing Installation Manager itself can be done using the ibmim_installer module

Expand Down
30 changes: 19 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# README
A set of Ansible modules that lets you manage IBM packages
A set of Ansible modules that lets you manage IBM packages and WebSphere resources

## Getting started

Copy the folder `library` in this repo to your playbook directory or to [`ANSIBLE_LIBRARY`](http://docs.ansible.com/ansible/latest/intro_configuration.html#library)
```
$ git clone https://github.com/amimof/ansible-websphere && cp -r ansible-websphere/library <directory>
```

## Module Summary
| Module | Description |
Expand Down Expand Up @@ -49,30 +56,31 @@ This module installs, uninstalls or updates IBM packages from local or remote re
| ibmim | false | /opt/IBM/InstallationManager | N/A | Path to installation directory of Installation Manager |
| dest | false | N/A | N/A | Path to destination installation directory |
| im_shared | false | N/A | N/A | Path to Installation Manager shared resources folder |
| repo | false | N/A | N/A | Comma separated list of URLs or paths to installation repositories used by Installation Manager |
| id | true | N/A | N/A | ID of the package which you want to install |
| repositories | false | N/A | N/A | Comma separated list of repositories to use. May be a path, URL or both |
| properties | false | N/A | N/A | Comma separated list of properties needed for package installation. In the format key1=value,key2=value |
| install_fixes | false | none | N/A | Install fixes if available in the repositories |
| connect_passport_advantage | false | N/A | N/A | Append the PassportAdvantage repository to the repository list |
| log | false | N/A | N/A | Specify a log file that records the result of Installation Manager operations. |
#### Example
```yaml
- name: Install WebSphere Application Server Liberty v8.5
ibmim:
id: com.ibm.websphere.liberty.BASE.v85
repositories: /var/data/was
name: com.ibm.websphere.liberty.v85
repositories:
- http://was-repos/

- name: Uninstall WebSphere Application Server Liberty v8.5
ibmim:
id: com.ibm.websphere.liberty.BASE.v85
state: absent
ibmim:
name: com.ibm.websphere.liberty.v85
state: absent

- name: Update all packages
ibmim:
id: null
state: update
repositories: /var/data/was
ibmim:
state: latest
repositories:
- http://was-repos/
```

### profile_dmgr.py
Expand Down
Loading

0 comments on commit dac6a19

Please sign in to comment.