artifactory

ansible-role-artifactory

What?

Stands up Artifactory as a Docker Compose based service.

How?

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

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

# workaround for rhel systems w/o 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

Decommission

ansible-playbook playbook.yml -e service_state=absent```
Install
ansible-galaxy install inhumantsar/ansible-role-artifactory
GitHub repository
License
bsd-3-clause
Downloads
940