-
Notifications
You must be signed in to change notification settings - Fork 200
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
Move devel installation to playbook and role #279
Conversation
Why do you only do this for centos7-devel and not centos6-devel? |
CentOS 6 is dead for foreman nightly. Even if it's resurrected, maybe it's time to drop el6 as a dev box option anyway? |
See #281 for removal |
0c6618d
to
85d829b
Compare
This has been rebased |
ansible: | ||
group: 'server' | ||
playbook: 'playbooks/katello_devel.yml' | ||
group: 'devel' |
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.
How about adding this?
variables:
katello_devel_username: stbenjam
And removing it from the playbook
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.
Also maybe more obvious with github in the variable name, to match the installer flag
|
||
- name: 'Run devel installer' | ||
command: > | ||
foreman-installer |
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.
Needs --disable-system-checks
494af11
to
f8d429e
Compare
Updated |
Looks ok, building a box now |
I think you can gate the check with |
f8d429e
to
6f33d9d
Compare
- "--katello-devel-github-username {{ katello_devel_github_username }}" | ||
foreman_installer_additional_packages: | ||
- foreman-installer-katello-devel | ||
roles: |
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.
I think puppet_repositories could be a useful addition as well, allowing users to install puppet 4.
foreman_installer_additional_packages: | ||
- foreman-installer-katello-devel | ||
roles: | ||
- etc_hosts |
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.
Need these two:
-
- epel_repositories
-
- puppet_repositories
I don't know if it's applicable here or should just be a RTFM action but not being able to just pop into ~/foreman and run bin/rails s -b 0.0.0.0 (or whatever the foreman command is) is not ideal. I had to yum install npm, npm install, rake webpack:compile. I could not hit the server at https only http:3000. Also, I think only the katello dir had my remote added? Should be added to foreman too. Maybe echo out "go here for finishing instructions for running a development server". |
I think that's something that was also lacking with setup.rb and something that needs to be added to puppet-katello_devel |
6f33d9d
to
f7f93f5
Compare
@ekohl @thomasmckay @stbenjam updates made across the board from comments |
ack |
@stbenjam please have a look when you get a chance |
From an ansible perspective it seems to be fine, as it does everything up to and including running the devel installer, although the install itself fails but that's happening with the old dev setup too I guess:
|
No description provided.