Skip to content
This repository was archived by the owner on May 27, 2024. It is now read-only.

Create a shell script that runs an ansible ad hac to create yum repository #313

@aemalki

Description

@aemalki

#!/bin/bash
ansible all -m yum_repository -a file=AppStream name=e1 description=e1
baseurl=http://content.example.com/rhel8.4/x86_64/dvd/AppStream
gpgcheck=yes
gpgkey= http://content.example.com/rhel8.4/x86_64/dvd/RPM-GPG-KEY-redhat-release
enabled=yes'

I got this error image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions