summaryrefslogtreecommitdiffstats
path: root/vagrant/roles
Commit message (Collapse)AuthorAgeFilesLines
* Add CentOS 8 specific actions for setup.prepSachin Prabhu2021-04-151-0/+46
| | | | | | | | | | A difference to CentOS7, we install individual gluster-ansible packages. The gluster-ansible package doesn't exist for CentOS 8 We also install make which doesn't exist in the CentOS 8 image used by Vagrant. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS8 specific actions for host.updateSachin Prabhu2021-04-151-0/+5
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add CentOS 8 distro variable valuesSachin Prabhu2021-04-151-0/+2
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for setup.prepSachin Prabhu2021-03-232-35/+38
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add distro specific actions for hosts.updateSachin Prabhu2021-03-232-0/+8
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Generate distro-vars.yml and use itSachin Prabhu2021-03-231-0/+9
| | | | | | | | | | | The distro-vars.yml will be used to set variables for a specific distro. This includes vagrant_image, which is used to specify the image to be used by Vagrant and distro_specific actions, which indicate the yaml file to include for distribution specific actions. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Generate VagrantfileSachin Prabhu2021-03-231-0/+5
| | | | | | | Convert the Vagrantfile to a jinja template. This allows us to specify which image to use by the vagrant executable. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add local.defaultsSachin Prabhu2021-03-232-0/+14
| | | | | | Use this role to setup defaults in case runtime variables are not set. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Upgrade jinja2 python library on setupSachin Prabhu2020-05-111-0/+10
| | | | | | | | | We use pip to upgrade the jinja2 library to the latest version. This is required when re-running the scripts to install the test machines. bug: https://github.com/gluster/samba-integration/issues/60 Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Remove unneeded debugging outputMichael Adam2020-05-081-8/+0
| | | | | | | For debugging network connectivity issues, we printed the contents of /etc/resolv.conf. This is not needed any more. Removing it. Signed-off-by: Michael Adam <obnox@samba.org>
* Call ansible scripts on setup using sshSachin Prabhu2020-05-051-2/+0
| | | | | | | This allows callers to follow the status as the commands are executed on setup. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* change ownership for ssh_config and key file to vagrant userSachin Prabhu2020-05-051-2/+7
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Add site.yml to call various playbooksSachin Prabhu2020-04-281-1/+1
| | | | | | | This contains information about the test setup which can be used by the testing infrastructure to run its tests. Signed-off-by: Sachin Prabhu
* Use copr yum plugin to install gluster-ansibleAnoop C S2020-04-091-2/+10
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* ssh-config ends up with trailing " for IdentityFileSachin Prabhu2020-04-061-1/+1
| | | | | | | | | | | On a Centos 5 machine, vagrant ssh-config generates an ssh-config with the file for IdentityFile enclosed in quotes. The current regex doesn't take care of trailing ". We do not need an elaborate regex for the ansible lininfile call and replace the existing one with a simpler one. Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Clean up trailing white spacesSachin Prabhu2020-03-262-2/+2
| | | | Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* Avoid duplicationSachin Prabhu2020-03-261-9/+2
| | | | | | Use opportunity to clean up typo Signed-off-by: Sachin Prabhu <sprabhu@redhat.com>
* cluster-vars.yml: record TODO to generate the list of nodesMichael Adam2020-03-251-1/+1
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* setup.prep: copy the ssh config to the setup vmMichael Adam2020-03-251-0/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Create ssh config and modify it for use on the VMsMichael Adam2020-03-251-0/+20
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Enhance setup.test to cat the /etc/resolv.conf fileMichael Adam2020-03-251-0/+8
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Break up setup.test and setup.run moreMichael Adam2020-03-252-3/+2
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Ensure permissions on ssh key fileMichael Adam2020-03-251-0/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Move the creation of the cluster to the setup machineMichael Adam2020-03-252-28/+5
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Prepare setup machineMichael Adam2020-03-251-0/+22
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* Add playbook/roles for local preparations.Michael Adam2020-03-252-0/+34
| | | | | | | - vagrant up/provision - prepare inventory for using ansible on the setup machine Signed-off-by: Michael Adam <obnox@samba.org>
* node.setup: use artifacts.ci.centos.org as source of the Gluster repoNiels de Vos2020-03-241-1/+1
| | | | | | | | | artifacts.ci.centos.org is the official name to use for the artifacts that are built through a CI job. It seems ci.centos.org/artifacts uses some form of redirection that does not work from within the CI environment. Signed-off-by: Niels de Vos <ndevos@redhat.com>
* Use gluster.infra to setup bricksAnoop C S2020-02-281-0/+8
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Use GlusterFS nightly rpmsAnoop C S2020-02-282-9/+20
| | | | Signed-off-by: Anoop C S <anoopcs@redhat.com>
* Add ansible playbook for provisioning nodesAnoop C S2020-02-281-0/+9
Signed-off-by: Anoop C S <anoopcs@redhat.com>