Skip to content

Instantly share code, notes, and snippets.

View rpelisse's full-sized avatar

Pelisse Romain rpelisse

View GitHub Profile
#!/bin/bash
# Clones your existing repo and run the maven tests off this clone
# Tests are run on the the current branch at the time of cloning
#
# Note that you can work on the next bug while this is going on as
# tests are run off a cloned repo.
#
# $ build.sh
# runs 'maven clean install'
#
# ansible-playbook -i hosts playbook.yml
PLAY [JBoss Web Server installation and configuration] ************************************************************
...
TASK [middleware_automation.jws.jws: Install required dependencies] *******************************************
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/fastpackage.yml for localhost
included: /root/.ansible/collections/ansible_collections/middleware_automation/jws/roles/jws/tasks/fastpackage.yml for localhost
...
@rpelisse
rpelisse / install_wildfly_collection.log
Created June 24, 2024 14:59
Installing the Ansible Collection from Wildfly
$ ansible-galaxy collection install middleware_automation.wildfly
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/middleware_automation-wildfly-1.5.2.tar.gz to /root/.ansible/tmp/ansible-local-85fm0r6rub/tmp36zijxsq/middleware_automation-wildfly-1.5.2-la3qk91n
Installing 'middleware_automation.wildfly:1.5.2' to '/root/.ansible/collections/ansible_collections/middleware_automation/wildfly'
Downloading https://console.redhat.com/api/automation-hub/v3/plugin/ansible/content/published/collections/artifacts/ansible-posix-1.5.4.tar.gz to /root/.ansible/tmp/ansible-local-85fm0r6rub/tmp36zijxsq/ansible-posix-1.5.4-687wudpk
middleware_automation.wildfly:1.5.2 was installed successfully
Installing 'ansible.posix:1.5.4' to '/root/.ansible/collections/ansible_collections/ansible/posix'
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/publish
@rpelisse
rpelisse / install_amq_collection.log
Created June 24, 2024 15:02
Install Ansible Collection for ActiveMQ
$ ansible-galaxy collection install middleware_automation.amq
ansible-galaxy collection install middleware_automation.amq
Starting galaxy collection install process
Process install dependency map
Starting collection install process
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/middleware_automation-amq-2.0.2.tar.gz to /root/.ansible/tmp/ansible-local-89zoalegms/tmp5dl466hj/middleware_automation-amq-2.0.2-yz04g0ae
Installing 'middleware_automation.amq:2.0.2' to '/root/.ansible/collections/ansible_collections/middleware_automation/amq'
middleware_automation.amq:2.0.2 was installed successfully
'ansible.posix:1.5.4' is already installed, skipping.
'middleware_automation.common:1.2.1' is already installed, skipping.
@rpelisse
rpelisse / install_wildfly.log
Last active June 24, 2024 15:52
Installing Wildfly using the dedicated Ansible Collection from middleware_automation.
$ ansible-playbook -i inventory middleware_automation.wildfly.playbook
PLAY [Ensure Wildfly is install and running as a service] **********************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [middleware_automation.wildfly.wildfly_install : Validating arguments against arg spec 'main'] ***
ok: [localhost]
@rpelisse
rpelisse / install_amq.log
Created June 24, 2024 15:58
Install Apache ActiveMQ with Ansible and its dedicated collection from middleware_automation.
$ ansible-playbook -i inventory middleware_automation.amq.activemq
PLAY [Playbook for ActiveMQ Artemis] *******************************************
TASK [Gathering Facts] *********************************************************
ok: [localhost]
TASK [middleware_automation.amq.activemq : Validating arguments against arg spec 'main'] ***
ok: [localhost]