[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Changing master-config.yaml through Ansible hosts file or directly?



That's fine by me, I'de rather have Ansible deploy the config changes correctly.

But maybe is there another Ansible playbook which I could use instead of the deploy_cluster.yml for doing changes file which would be faster?

Or is deploy_cluster.yml playbook the correct one to use when changing config?

‐‐‐‐‐‐‐ Original Message ‐‐‐‐‐‐‐
On Tuesday, February 12, 2019 6:47 PM, Dale Bewley <dale bewley net> wrote:

> You don’t want to be managing changes manually.
>
> I think you would be well served to stick to the automation provided and do sufficient research to understand exactly how the changes are applied and how to dovetail them.
>
> For example the master-config is probably written by jinja2 template, and upgrades would wipe out your customizations until you reapply them.
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Dale Bewley
>
> > On Feb 11, 2019, at 04:31, mabi mabi protonmail ch wrote:
> > Hello,
> > I installed okd 3.12 using the Ansible playbook deploy_cluster.yml and now I was having the following questions regarding configuration changes to the cluster:
> >
> > 1.  If I want to change a configuration parameter of okd do I necessarily need to change my /etc/ansible/hosts file and then run again the Ansible deploy_cluster.yml playbook?
> >
> > 2.  Am I allowed to directly change parameters in /etc/origin/master/master-config.yaml (bypassing the Ansible hosts file and playbook)?
> >
> >
> > I am asking because it takes around 20 minutes to run the deploy_cluster.yml file again, that's a bit excessive for changing one configuration option IMHO.
> > For example I want to change the okd identityProvider configuration from its default of AllowAllPasswordIdentityProvider to HTPasswdPasswordIdentityProvider.
> > Or more generally what is the recommended workflow to change cluster configuration when having deployed with Ansible?
> > Regards,
> > Mabi
> >
> > users mailing list
> > users lists openshift redhat com
> > http://lists.openshift.redhat.com/openshiftmm/listinfo/users




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]