I will try with your PR...

I see the katello_devel/tasks/main.yml runs the installer. How do other
playbooks add to this? This is probably also applicable to my
atomic_registry playbook as well: If I wanted to have it alter the
parameters to the foreman-installer (ie. change registry port), how is that
accomplished? Also need to enable ostree.

I can be on IRC today, if that is easier.

Running these PRs together:
https://github.com/Katello/forklift/pull/279
https://github.com/Katello/forklift/pull/325

Fatal: [registry]: FAILED! => {"failed": true, "msg": "The conditional
check 'skip_installer == False' failed. The error was: error while
evaluating conditional (skip_installer == False): 'skip_installer' is
undefined\n\nThe error appears to have been in
'/home/thomasmckay/code/forklift/playbooks/roles/katello_devel/tasks/main.yml':
line 12, column 3, but may\nbe elsewhere in the file depending on the exact
syntax problem.\n\nThe offending line appears to be:\n\n\n- name: 'Run
devel installer'\n ^ here\n"}

registry:
  box: centos7
  ansible:
    group: 'devel'
    variables:
      katello_devel_github_username: "thomasmckay"
      foreman_installer_module_prs: "katello/capsule/101"
      foreman_installer_options: "--capsule-docker-registry-port=5001"
      atomic_registry_registry_port: "5000"
    playbook:
    - 'playbooks/katello_devel.yml'
    - 'playbooks/katello_atomic_registry.yml'



On Sat, Oct 22, 2016 at 8:58 AM, Eric D Helms <ericdhe...@gmail.com> wrote:

> I think you have a couple options:
>
>  1) Use my PR and review it to see about achieving what you want
>  2) Spin up a dev box and then 'ansible-playbook -l registry
> playbooks/atomic_registry.yaml'
>
>
> On Sat, Oct 22, 2016 at 8:32 AM, Tom McKay <thomasmc...@redhat.com> wrote:
>
>> I see... I'm trying to turn this into a dev install so that I can
>> hopefully turn off selinux and have it actually work:
>>
>> registry:
>>   box: centos7
>>   ansible:
>>     group: 'server'
>>     variables:
>>       foreman_installer_module_prs: "katello/capsule/101,theforema
>> n/foreman_proxy/303"
>>       foreman_installer_options: "--capsule-docker-registry-port=5001"
>>       atomic_registry_registry_port: "5000"
>>     playbook:
>>     - 'playbooks/katello.yml'
>>     - 'playbooks/katello_atomic_registry.yml'
>>
>>
>> On Sat, Oct 22, 2016 at 8:11 AM, Eric D Helms <ericdhe...@gmail.com>
>> wrote:
>>
>>> My PR to move the devel setup to Ansible has not been merged yet (
>>> https://github.com/Katello/forklift/pull/279) so what you have is still
>>> valid. Which is why I ask what the issue you are running in to is.
>>>
>>> On Sat, Oct 22, 2016 at 8:08 AM, Tom McKay <thomasmc...@redhat.com>
>>> wrote:
>>>
>>>> I was told the 'options' section is no longer relevant. I'd just like
>>>> to know how to convert this old format to new.
>>>>
>>>> On Sat, Oct 22, 2016 at 8:03 AM, Eric D Helms <eric.d.he...@gmail.com>
>>>> wrote:
>>>>
>>>>> What's actually broken though?
>>>>>
>>>>> On Oct 22, 2016 7:48 AM, "Tom McKay" <thomasmc...@redhat.com> wrote:
>>>>>
>>>>>> This is my old boxes.yaml stanza, could someone help me translate it
>>>>>> to the latest forklift format? I'm blocked on testing because I can't
>>>>>> disable selinux and so want to set up a new dev box.
>>>>>>
>>>>>> katello:
>>>>>>   box: centos7
>>>>>>   shell: 'yum -y install ruby && cd /vagrant && ./setup.rb'
>>>>>>   installer: >-
>>>>>>     --katello-devel-use-rvm=false
>>>>>>     --katello-devel-github-username=thomasmckay
>>>>>>     --katello-devel-enable-ostree=true
>>>>>>   options: >-
>>>>>>     --scenario katello-devel
>>>>>>     --disable-selinux
>>>>>>     --koji-repos
>>>>>>   memory: 8192
>>>>>>   cpus: 4
>>>>>>   hostname: katello.example.com
>>>>>>   networks:
>>>>>>     - type: 'private_network'
>>>>>>       options:
>>>>>>         ip: 192.168.100.219
>>>>>>         libvirt__network_name: provisioning
>>>>>>
>>>>>> --
>>>>>> You received this message because you are subscribed to the Google
>>>>>> Groups "foreman-dev" group.
>>>>>> To unsubscribe from this group and stop receiving emails from it,
>>>>>> send an email to foreman-dev+unsubscr...@googlegroups.com.
>>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>>
>>>>> --
>>>>> You received this message because you are subscribed to the Google
>>>>> Groups "foreman-dev" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> --
>>>> You received this message because you are subscribed to the Google
>>>> Groups "foreman-dev" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send
>>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>>
>>>
>>> --
>>> Eric D. Helms
>>> Red Hat Engineering
>>> Ph.D. Student - North Carolina State University
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "foreman-dev" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to foreman-dev+unsubscr...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "foreman-dev" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to foreman-dev+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
>
> --
> Eric D. Helms
> Red Hat Engineering
> Ph.D. Student - North Carolina State University
>
> --
> You received this message because you are subscribed to the Google Groups
> "foreman-dev" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to foreman-dev+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"foreman-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to