summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2020-03-23 23:11:30 +0100
committerMichael Adam <obnox@samba.org>2020-03-25 22:32:23 +0100
commit2f209b6cdfe89ee2dfeae3248a701107f00adfeb (patch)
tree360b7eb6f941efa2230737b76427cefca50afcb7
parent666ec52fdbce80cdbc844e23f3c16e6ff9946480 (diff)
downloadsamba-integration-2f209b6cdfe89ee2dfeae3248a701107f00adfeb.tar.gz
samba-integration-2f209b6cdfe89ee2dfeae3248a701107f00adfeb.tar.xz
samba-integration-2f209b6cdfe89ee2dfeae3248a701107f00adfeb.zip
Create two groups for the ansible inventory
admin and cluster Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--vagrant/Vagrantfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/vagrant/Vagrantfile b/vagrant/Vagrantfile
index 1ca5cad..c219a5c 100644
--- a/vagrant/Vagrantfile
+++ b/vagrant/Vagrantfile
@@ -46,6 +46,10 @@ Vagrant.configure("2") do |config|
# Based on that, one can run ansible without vagrant.
setup.vm.provision "no-op", type:'ansible' do |ansible|
ansible.playbook = "no-op-playbook.yml"
+ ansible.groups = {
+ "admin" => [ "setup" ],
+ "cluster" => (0..NODES-1).map { |i| "storage#{i}" }
+ }
end
end
end