Skip to content
This repository was archived by the owner on Jul 7, 2020. It is now read-only.

Commit 571d5cb

Browse files
committed
vagrant/ansible: rename group "master" to "masters"
Ansible complains about the following: [WARNING]: Found both group and host with same name: master As the hostname is "master", rename the group to "masters" (with "s", even though there is only one). Signed-off-by: Niels de Vos <ndevos@redhat.com>
1 parent 1263c3c commit 571d5cb

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

vagrant/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ Vagrant.configure("2") do |config|
4444
ansible.limit = "all"
4545
ansible.playbook = "site.yml"
4646
ansible.groups = {
47-
"master" => ["master"],
47+
"masters" => ["master"],
4848
"nodes" => (0..NODES-1).map {|j| "node#{j}"},
4949
}
5050
ansible.extra_vars = {

vagrant/gcr_proxy.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
- hosts: master
1+
- hosts: masters
22
become: yes
33
become_method: sudo
44
vars_files:

vagrant/site.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
roles:
1616
- common
1717

18-
- hosts: master
18+
- hosts: masters
1919
become: yes
2020
become_method: sudo
2121
vars_files:
@@ -31,7 +31,7 @@
3131
roles:
3232
- nodes
3333

34-
- hosts: master
34+
- hosts: masters
3535
become: yes
3636
become_method: sudo
3737
vars_files:

0 commit comments

Comments
 (0)