Deploy keytab after master is provisioned
Signed-off-by: Patrick Uiterwijk <puiterwijk@redhat.com>
This commit is contained in:
parent
b99a4a6381
commit
dcc0030b13
1 changed files with 24 additions and 24 deletions
|
@ -53,30 +53,6 @@
|
||||||
dest: "/etc/ansible/ansible.cfg"
|
dest: "/etc/ansible/ansible.cfg"
|
||||||
line: "pipelining = True"
|
line: "pipelining = True"
|
||||||
|
|
||||||
- name: Setup cluster keytabs
|
|
||||||
hosts: osbs-masters-stg
|
|
||||||
user: root
|
|
||||||
gather_facts: True
|
|
||||||
|
|
||||||
vars_files:
|
|
||||||
- /srv/web/infra/ansible/vars/global.yml
|
|
||||||
- "/srv/private/ansible/vars.yml"
|
|
||||||
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
|
||||||
|
|
||||||
roles:
|
|
||||||
- role: keytab/service
|
|
||||||
owner_user: root
|
|
||||||
owner_group: root
|
|
||||||
service: osbs
|
|
||||||
host: "osbs.fedoraproject.org"
|
|
||||||
when: env == "production"
|
|
||||||
- role: keytab/service
|
|
||||||
owner_user: root
|
|
||||||
owner_group: root
|
|
||||||
service: osbs
|
|
||||||
host: "osbs.stg.fedoraproject.org"
|
|
||||||
when: env == "staging"
|
|
||||||
|
|
||||||
- name: Setup cluster hosts pre-reqs
|
- name: Setup cluster hosts pre-reqs
|
||||||
hosts: osbs-masters-stg:osbs-nodes-stg
|
hosts: osbs-masters-stg:osbs-nodes-stg
|
||||||
tags:
|
tags:
|
||||||
|
@ -136,6 +112,30 @@
|
||||||
src: "{{files}}/osbs/docker-storage-setup"
|
src: "{{files}}/osbs/docker-storage-setup"
|
||||||
dest: "/etc/sysconfig/docker-storage-setup"
|
dest: "/etc/sysconfig/docker-storage-setup"
|
||||||
|
|
||||||
|
- name: Setup cluster keytabs
|
||||||
|
hosts: osbs-masters-stg
|
||||||
|
user: root
|
||||||
|
gather_facts: True
|
||||||
|
|
||||||
|
vars_files:
|
||||||
|
- /srv/web/infra/ansible/vars/global.yml
|
||||||
|
- "/srv/private/ansible/vars.yml"
|
||||||
|
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
|
||||||
|
|
||||||
|
roles:
|
||||||
|
- role: keytab/service
|
||||||
|
owner_user: root
|
||||||
|
owner_group: root
|
||||||
|
service: osbs
|
||||||
|
host: "osbs.fedoraproject.org"
|
||||||
|
when: env == "production"
|
||||||
|
- role: keytab/service
|
||||||
|
owner_user: root
|
||||||
|
owner_group: root
|
||||||
|
service: osbs
|
||||||
|
host: "osbs.stg.fedoraproject.org"
|
||||||
|
when: env == "staging"
|
||||||
|
|
||||||
- name: Deploy OpenShift Cluster
|
- name: Deploy OpenShift Cluster
|
||||||
hosts: osbs-control:osbs-control-stg
|
hosts: osbs-control:osbs-control-stg
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue