Skip to content
This repository has been 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

Open
aemalki opened this issue Oct 30, 2022 · 1 comment

Comments

@aemalki
Copy link

aemalki commented Oct 30, 2022

#!/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

@geek-yaz
Copy link

geek-yaz commented Oct 31, 2022 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants