Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ansible/artifactory] automate the configuration of a Artifactory installation #290

Closed
bbaassssiiee opened this issue May 15, 2023 · 5 comments
Labels
enhancement New feature or request

Comments

@bbaassssiiee
Copy link
Contributor

bbaassssiiee commented May 15, 2023

Is this a request for help?:
NO

Is this a BUG REPORT or FEATURE REQUEST? (choose one):

FEATURE REQUEST

Automate the configuration of Artifactory, namely:

  • License Key(s)
  • Base URL
  • Proxy
  • Repositories
  • Users
  • Permissions

Which installer:
Artifactory

Which product and version (eg: ansible & collection version - 7.24.2):
ansible & collection version

Which operating system and version(eg: ubuntu & version - 20.4):
RHEL 8.8

Which product license (Enterprise/Pro):
Enterprise

JFrog support reference (if already raised with support team):
260703

What happened:
I encountered a wizard! Had to click and type!

What you expected to happen:
I'd rather use parameters and Ansible's template module.

How to reproduce it (as minimally and precisely as possible):
Install Artifactory.

Anything else we need to know:

Another step can be automated like this:

- name: Artifactory Bootstrap YAML File
  ansible.builtin.template:
    src: artifactory.config.import.yml.j2
    dest: /opt/jfrog/artifactory/var/etc/artifactory/artifactory.config.import.yml
    mode: 0644
  notify: Restart Artifactory
@chukka chukka added the enhancement New feature or request label May 19, 2023
@bbaassssiiee
Copy link
Contributor Author

Here is a historic example of an Artifactory module to configure Artifactory:
https://github.com/William1444/ansible-module-artifactory

A modern approach would enable the users to define the state of the resources in Artifactory in YAML vars, and to iterated these vars into the REST interface.

As an example, the dispatch role for Ansible Automation Controller iterates these vars to run roles to do a similar thing.

@bbaassssiiee bbaassssiiee changed the title [ansible/artifactory] automate the initial basic settings for a new Artifactory installation [ansible/artifactory] automate the configuration of a Artifactory installation Aug 2, 2023
@srinivasgowda097
Copy link

@bbaassssiiee Thanks for raising the feature request, we might plan to take up in next quarter

@bbaassssiiee
Copy link
Contributor Author

Another example configuring Artifactory: https://github.com/eugene-krivosheyev/ansible-artifactory-role

@bbaassssiiee
Copy link
Contributor Author

You could merge the example.

@bbaassssiiee
Copy link
Contributor Author

You don't intend to implement this.

@bbaassssiiee bbaassssiiee closed this as not planned Won't fix, can't repro, duplicate, stale Sep 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants