diff --git a/playbooks/group_vars/cloudera b/playbooks/group_vars/cloudera index ecd16c9..c0ec432 100644 --- a/playbooks/group_vars/cloudera +++ b/playbooks/group_vars/cloudera @@ -9,13 +9,13 @@ adminnode: 'cm_node' #templates #analytic-database.yaml.j2 basic.yaml.j2 cluster-ha.yaml.j2 data-engineering.yaml.j2 enterprise-datahub.yaml.j2 operational-database.yaml.j2 -scm_repo_url: "http://.../cloudera-repos/cm7/" -scm_repo_gpgkey: "http://.../cloudera-repos/cm7/RPM-GPG-KEY-cloudera" +scm_repo_url: "http://23.253.245.225/cloudera-repos/cm7/" +scm_repo_gpgkey: "http://23.253.245.225/cloudera-repos/cm7/RPM-GPG-KEY-cloudera" scm_repo_user: "" scm_repo_pass: "" -parcel_repo_url: "http://.../cloudera-repos/p/cdh7/7.0.3.0/parcels/" +parcel_repo_url: "http://23.253.245.225/cloudera-repos/p/cdh7/7.0.3.0/parcels/" cdh_parcel: "CDH-7.0.3-1.cdh7.0.3.p0.1635019-el7.parcel" cdh_parcel_sha: "CDH-7.0.3-1.cdh7.0.3.p0.1635019-el7.parcel.sha" @@ -23,7 +23,8 @@ pdgd_repo_rpm_url: "https://download.postgresql.org/pub/repos/yum/reporpms/EL-7- pdgd_repo_rpm: "pgdg-redhat-repo-latest.noarch.rpm" admin_password: 'admin' -services_pass: 'testing' +services_pass: 'justtesting' +tough_pass: 'N0Gu3ssing!' alerts_contact: 'root@localhost.localdomain' data_disks_filesystem: xfs configure_firewall: true diff --git a/playbooks/group_vars/postgres_vars.yml b/playbooks/group_vars/postgres_vars.yml index d440534..79ae248 100644 --- a/playbooks/group_vars/postgres_vars.yml +++ b/playbooks/group_vars/postgres_vars.yml @@ -1,5 +1,3 @@ -services_pass: 'testing' -tough_pass: 'complexpass' amon_pass: "{{ services_pass }}" rman_pass: "{{ services_pass }}" sentry_pass: "{{ services_pass }}" diff --git a/playbooks/roles/cloudera-postgres/tasks/pg_user.yml b/playbooks/roles/cloudera-postgres/tasks/pg_user.yml index c0d31d6..90dcf6b 100644 --- a/playbooks/roles/cloudera-postgres/tasks/pg_user.yml +++ b/playbooks/roles/cloudera-postgres/tasks/pg_user.yml @@ -14,10 +14,10 @@ - include_vars: group_vars/postgres_vars.yml -- name: Connect to acme database, create django user, and grant access to database and products table +- name: setup postgres db owner users postgresql_user: name: "{{ item }}" - password: justtesting + password: "{{ services_pass }}" with_items: - scm - amon