Project

General

Profile

Actions

Minimum inventory and config file for Ansible installer

example-inv.yml

# Example Ansible inventory file for installing and maintaining an
# Arvados cluster.  See README.md for details.

all:
  vars:
    # Update this to appropriate path
    arvados_config_file: /home/example/ansible/xampl-config.yml
    arvados_cluster_id: xampl
    arvados_tls:
      Default:
        cert: "/etc/ssl/certs/xampl.snowshoe-company.ts.net.pem" 
        key: "/etc/ssl/private/xampl.snowshoe-company.ts.net.key" 
        remote: true
    arvados_nginx_internal_networks:
      "127.0.0.1/24": true

# All the necessary roles, which will all be installed on the host "xampl".

arvados_api:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_controller:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_websocket:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_keepstore:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_keepproxy:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_keep_web:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_dispatch_local:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_workbench:
  hosts:
    xampl.snowshoe-company.ts.net:

arvados_postgresql:
  hosts:
    xampl.snowshoe-company.ts.net:
  vars:
    arvados_postgresql_hba_sources:
      - samenet
    arvados_postgresql_hba_method: scram-sha-256

example-config.yml

# Example Arvados config file. See README.md for details.

Clusters:
  xampl:
    ManagementToken: 9sSxxxxxxxxFIXMExxxxxxxxxxxLrpwD
    SystemRootToken: nWixxxxxxxxFIXMExxxxxxxxxxxBPR8D
    Collections:
      BlobSigningKey: TibxxxxxxxFIXMExxxxxxxxxxxxmvNpa
      DefaultReplication: 1
    PostgreSQL:
      Connection:
        user: arvados
        password: J3xxxxxxxxFIXMExxxxxxxxxxxxx0kFt
        host: localhost
        port: "5432" 
        dbname: "arvados_production" 

    Login:
      PAM:
        Enable: true

    Users:
      AutoAdminFirstUser: true

    TLS:
      Certificate: "/etc/ssl/certs/xampl.snowshoe-company.ts.net.pem" 
      Key: "/etc/ssl/private/xampl.snowshoe-company.ts.net.key" 

    Services:
      RailsAPI:
        InternalURLs:
          "http://localhost:8000":
            ListenURL: "http://localhost:8000" 
      Controller:
        InternalURLs:
          "http://localhost:8001":
            ListenURL: "http://localhost:8001" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7001" 
      Websocket:
        InternalURLs:
          "http://localhost:8002":
            ListenURL: "http://localhost:8002" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7002" 
      Keepbalance:
        InternalURLs:
          "http://localhost:8003":
            ListenURL: "http://localhost:8003" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7003" 
      Keepproxy:
        InternalURLs:
          "http://localhost:8004":
            ListenURL: "http://localhost:8004" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7004" 
      WebDAV:
        InternalURLs:
          "http://localhost:8005":
            ListenURL: "http://localhost:8005" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7005" 
      WebDAVDownload:
        InternalURLs:
          "http://localhost:8005":
            ListenURL: "http://localhost:8005" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7005" 
      Keepstore:
        InternalURLs:
          "http://localhost:8006":
            ListenURL: "http://localhost:8006" 
        ExternalURL: "https://xampl.snowshoe-company.ts.net:7006" 
      Workbench2:
        ExternalURL: "https://xampl.snowshoe-company.ts.net:443" 

    Volumes:
      xampl-nyw5e-000000000000000:
        Driver: Directory
        Replication: 1
        DriverParameters:
          Root: /var/lib/arvados/keep-data

    # TODO get defaults from config
    API:
      MaxRequestSize: 134217728

Updated by Peter Amstutz 10 months ago · 1 revisions