I have a 5 node cluster ( with deploy machine/docker ). I want used to be able to run the full install with a custom inventory for this cluster to deploy.
I am trying it again ( post docker fix ), but with centos 7. EC2 doesn’t work for everyone. unless you are saying I can use that to a local cluster. On April 25, 2017 at 12:32:17, David Lyle ([email protected]) wrote: Hi Otto, I don't use a custom inventory that I create, but I do run an EC2 build very frequently, most recently on Friday. That does use the small_cluster file. 1. It's used because the Ansible Vagrant provisioner doesn't add localhost (as it should) to the inventory, so [local] works around that. If you're running under Vagrant, you'll want to set it to 127.0.0.1 or omit it otherwise. 2. Are you sure? I used run_once and local_action to prevent that when I originally did it. Through multiple distributed deployments, I only saw one build being executed. I don't know what you mean by "set to become", Become is set to false because I didn't want to sudo to execute the build. -D... On Tue, Apr 25, 2017 at 10:51 AM, Otto Fowler <[email protected]> wrote: > Now that I have docker sorted with building the rpms, I’m trying to deploy > using a custom inventory and metron_full_install. > So the question is, has anyone else tried to do this recently? I may be > doing something wrong here with a couple of things. > > 1. what is the [local] host type in the inventory hosts file for? what > should it be set to? > 2. metron_build is set to become for ALL hosts, so it is trying to build on > all the hosts. That isn’t right, it should build locally not on the hosts. >
