-
Notifications
You must be signed in to change notification settings - Fork 14
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
quay-aio: moved ansible tasks into role (PROJQUAY-1863) #4
base: master
Are you sure you want to change the base?
Conversation
jonathankingfc
commented
Apr 12, 2021
•
edited
Loading
edited
- Created role for Quay installer. Tasks to set up systemd services are included.
tasks: | ||
- name: Ansible check file exists. | ||
stat: | ||
path: /home/jonathan/image-archive.tar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Based on the /home/jonathan I'm thinking that this path needs to be refactored to be relative for the role.
path: /home/jonathan/image-archive.tar | ||
register: p | ||
- name: Image Archive Found. Loading Images. | ||
command: podman load -i /home/jonathan/image-archive.tar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same issue as above. Needs a relative path. Where is this tar file coming from?
This needs some refactoring to turn these playbooks into a role. Whats the order they playbooks need to execute in? |
@jeffcpullen You can look into my mains file, where the directory orderly gets created and selinuxed. https://github.com/stevek-pro/quay-ansible/blob/quay-3.3.4/roles/r_quay/tasks/main.yml It is then later used in the container call. I plan to PR my entire playbook in the near future. Program Flow: https://github.com/stevek-pro/quay-ansible/blob/quay-3.3.4/README.md#program-flow |
500ad5e
to
b50ce36
Compare
bc8fb8d
to
31de32c
Compare
@jonathankingfc Can you add a readme or other instructions on how to use? |
a37408d
to
e1f99ec
Compare
25662e6
to
b57186e
Compare
b57186e
to
a574066
Compare