GithubHelp home page GithubHelp logo

configure_satellite's People

Contributors

jjaswanson4 avatar rockyhb avatar

Stargazers

 avatar  avatar

Watchers

 avatar

configure_satellite's Issues

Use `playbook_dir` Over `role_dir`

Since this is an ansible collection, it (by default) gets installed to ~/.ansible/collections/ansible_collections/etc.

That location should really be treated as "read only", however the tasks generated to create activation keys and content views are templated into the role_dir, which is in the path above.

Instead, the playbook_dir should be used so the collection remains untouched as the new task files are generated.

TASK get enabled Red Hat products should be refactored

In its current state, this task depends on the hammer command to get the list of enabled products:

shell: hammer --csv repository list --organization "{{ organization.organization_name }}" | cut -d ',' -f 3 | sort --unique | grep -v '^Product$

It also expects that you are connecting to Satellite as the root user. Otherwise, this task with hang because hammer with a prompt for the satellite login info.

This task can be refactored to use the redhat.satellite.resource_info to return the list of enabled products.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.