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

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants