The following installation installs the JFrog Platform as single product (single node) installations and not as clusters/HA.
Install the Ansible Collection from the Ansible Galaxy.
ansible-galaxy collection install jfrog.platform
Verify that you reference the Ansible Collection in your playbook when using these roles.
--- - hosts: artifactory_servers collections: - jfrog.platform roles: - artifactory
Ansible uses SSH to connect to hosts. Verify that your SSH private key is on your client and that the public keys are installed on your Ansible hosts.
Create an inventory file: Use one of the examples from the examples directory to construct an inventory file (
hosts.yml) with the host addresses and variables.
Next, create your playbook: Use one of the examples from the examples directory to construct a playbook using the JFrog Ansible roles. These roles will be applied to your inventory and provision software.
Execute the following command to provision the JFrog software with Ansible.
ansible-playbook -vv platform.yml -i hosts.ini