inhumantsar.artifactory

ansible-role-artifactory

What is it?

This sets up Artifactory using Docker Compose.

How to set it up?

yum clean all && yum update -y
yum install -y git gcc python-devel openssl-devel

# To install pip (for RHEL only)
# curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | sudo python2.7

# For RHEL systems without subscription access
# rpm -ivh http://mirror.centos.org/centos/7/extras/x86_64/Packages/container-selinux-2.10-2.el7.noarch.rpm

pip install ansible

echo -e """- src: geerlingguy.docker
- src: inhumantsar.artifactory""" > requirements.yml

ansible-galaxy install -r requirements.yml

echo """---    
- hosts: localhost
  roles:
   - geerlingguy.docker
   - inhumantsar.artifactory""" > playbook.yml

ansible-playbook playbook.yml

To remove the setup

ansible-playbook playbook.yml -e service_state=absent
Installa
ansible-galaxy install inhumantsar.artifactory
Licenza
bsd-3-clause
Download
951
Proprietario