Skip to content
This repository was archived by the owner on Dec 9, 2020. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,3 @@
- prerequisite

- include: openshift-setup.yaml

- hosts: primary_master
gather_facts: no
become: yes
vars_files:
- vars/main.yaml
roles:
- openshift-registry
11 changes: 11 additions & 0 deletions reference-architecture/aws-ansible/playbooks/openshift-setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,3 +43,14 @@
- openshift
osm_use_cockpit: false
containerized: false
openshift_hosted_registry_storage_kind: object
openshift_hosted_registry_storage_provider: s3
openshift_hosted_registry_storage_s3_accesskey: "{{ hostvars['localhost']['s3user_id'] }}"
openshift_hosted_registry_storage_s3_secretkey: "{{ hostvars['localhost']['s3user_secret'] }}"
openshift_hosted_registry_storage_s3_bucket: "{{ hostvars['localhost']['s3_bucket_name'] }}"
openshift_hosted_registry_storage_s3_region: "{{ hostvars['localhost']['region'] }}"
openshift_hosted_registry_storage_s3_chunksize: 26214400
openshift_hosted_registry_storage_s3_rootdirectory: /registry
openshift_hosted_registry_pullthrough: true
openshift_hosted_registry_acceptschema2: true
openshift_hosted_registry_enforcequota: true

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -16,20 +16,3 @@
with_items:
- NetworkManager
when: not openshift.common.is_atomic | bool

- name: Make directory due to using AWS intance roles
file:
dest: "/etc/origin/cloudprovider"
state: directory
recurse: yes
mode: 0660
owner: root
group: root

- name: touch file due to using AWS instance roles
file:
dest: "/etc/origin/cloudprovider/aws.conf"
state: touch
mode: 0660
owner: root
group: root