iad2: pkgs playbook: use group instead of hard coding pkgs02

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2020-05-25 12:41:11 -07:00
parent f85ab3cdfa
commit caa442e694

View file

@ -1,7 +1,7 @@
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs_stg:pkgs02.phx2.fedoraproject.org"
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=pkgs_stg:pkgs"
- name: make the box be real
hosts: pkgs_stg:pkgs02.phx2.fedoraproject.org
hosts: pkgs_stg:pkgs
user: root
gather_facts: True
@ -36,7 +36,7 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup users on pkgs
hosts: pkgs_stg:pkgs02.phx2.fedoraproject.org
hosts: pkgs_stg:pkgs
user: root
gather_facts: True
@ -52,7 +52,7 @@
## The above should be deleted when we rebuild pkgs02 in future.
- name: setup dist-git on the box
hosts: pkgs_stg:pkgs02.phx2.fedoraproject.org
hosts: pkgs_stg:pkgs
user: root
gather_facts: True
@ -89,7 +89,7 @@
- import_tasks: "{{ handlers_path }}/restart_services.yml"
- name: setup fedmsg on pkgs
hosts: pkgs02.phx2.fedoraproject.org
hosts: pkgs
user: root
gather_facts: True