lae.dse_repo

lae.dse_repo

This tool sets up the Datastax Enterprise repository. You can use either the official repository or a local copy (like one behind a firewall).

Role Variables

  • dse_repo_is_mirror: Set this to true if you're using a local copy.
  • dse_repo_mirror_key_id: Short version of the public key that signs the packages on the local copy (e.g., B999A372).
  • dse_repo_mirror_uri: Full web address of the local copy (e.g., "http://packages.local/aptly/dse").
  • dse_repo_user: Your Datastax Enterprise username (e.g., john.doe).
  • dse_repo_password: Your Datastax Enterprise password (e.g., hunter2).

Example Playbook

Using the Official Repository:

- hosts: dse01
  roles:
    - lae.dse_repo
  vars:
    dse_repo_user: john.doe
    dse_repo_password: hunter2

Using a Password-Protected Local Copy:

- hosts: dse01
  roles:
    - lae.dse_repo
  vars:
    dse_repo_is_mirror: true
    dse_repo_mirror_key_id: FB72CC01
    dse_repo_user: localuser
    dse_repo_password: hunter2
    dse_repo_mirror_uri: "https://{{ dse_repo_user }}:{{ dse_repo_password }}@packages.local/aptly/dse"

...Make sure to include the public key that signs the packages in files/datastax_apt_mirror_key.asc (and files/datastax_rpm_mirror_key.asc for RHEL/CentOS) in the same folder as your playbook. (You don’t have to use dse_repo_user and dse_repo_password here.)

License

MIT

Informazioni sul progetto

Configures the Datastax Enterprise repository

Installa
ansible-galaxy install lae.dse_repo
Licenza
mit
Download
146
Proprietario