Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@lab01 aws-ansible]# cat ~/awslab/install.txt
- Configured values:
- stack_name: dev2
- ami: ami-a33668b4
- region: us-east-1
- master_instance_type: m4.xlarge
- node_instance_type: t2.large
- app_instance_type: t2.large
- bastion_instance_type: t2.micro
- keypair: OSE-key
- create_key: yes
- key_path: /root/.ssh/id_rsa.pub
- create_vpc: yes
- vpc_id: None
- private_subnet_id1: None
- private_subnet_id2: None
- private_subnet_id3: None
- public_subnet_id1: None
- public_subnet_id2: None
- public_subnet_id3: None
- byo_bastion: no
- bastion_sg: /dev/null
- console port: 443
- deployment_type: openshift-enterprise
- openshift_sdn: redhat/openshift-ovs-subnet
- public_hosted_zone: ruchix.com
- app_dns_prefix: apps
- apps_dns: apps.ruchix.com
- rhsm_user: rhn-support-rkharwar
- rhsm_password: *******
- rhsm_pool: Red Hat OpenShift Container Platform, Standard, 2-Core
- containerized: False
- s3_bucket_name: dev2-ocp-registry-ruchix
- s3_username: dev2-s3-openshift-user
- github_client_id: *******
- github_client_secret: *******
- github_organization: ruchix,openshift
- deploy_openshift_metrics: false
- Continue using these values? [y/N]:
- PLAY [localhost] *********************************************************************************************************************************
- TASK [ssh-key : OSE ec2 key] *********************************************************************************************************************
- ok: [localhost] => (item=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDLXeMiDfnDME1lAKNbcQPxerwIi2Ko158Ivx6K3aTLVkBsklqF9GnJ5t74suy7jeu9eC5vEC4omDgcJb2dDN3ajZLfRZsxvHwOHqxYFVwcNt8Yr+Y2jZdTVr4YSDsUfbCh1buPbRCybXj5FnV1I4JnAurauFR36MHNMTY0SCuhBAIsy4ncvNQi1M5ld2h9x4r/Wvby4k8f547zJtuKXgIITmxZ16fu/kiq+3lx4dyYMzkBio63ezKnZWQG+RL26b6dIQ7GPnMfzJPpDr6Jqkg2SVwkBtRcy8VKqeQs5SQen/3OINAR2ga90ed2d/skbpk//4egAxCfYGaWHRO3Zudd root@uchost)
- TASK [cfn-outputs : Get cfn stack outputs] *******************************************************************************************************
- skipping: [localhost]
- TASK [cfn-outputs : Set s3 facts] ****************************************************************************************************************
- skipping: [localhost]
- TASK [pre-install-check : Get current Ansible version on local host] *****************************************************************************
- ok: [localhost] => {
- "changed": false
- }
- MSG:
- All assertions passed
- TASK [cloudformation-infra : Create Greenfield Infrastructure] ***********************************************************************************
- changed: [localhost]
- TASK [cloudformation-infra : Create Brownfield Infrastructure] ***********************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Create Brownfield Infrastructure with existing bastion] *************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add App Node] *******************************************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add Infra Node] *****************************************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add CNS Gluster Nodes with io1] *************************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add CNS Gluster Nodes] **********************************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add CRS Gluster Nodes with IO1] *************************************************************************************
- skipping: [localhost]
- TASK [cloudformation-infra : Add CRS Gluster Nodes] **********************************************************************************************
- skipping: [localhost]
- PLAY RECAP ***************************************************************************************************************************************
- localhost : ok=3 changed=1 unreachable=0 failed=0
- PLAY [localhost] *********************************************************************************************************************************
- TASK [Gathering Facts] ***************************************************************************************************************************
- ok: [localhost]
- TASK [cfn-outputs : Get cfn stack outputs] *******************************************************************************************************
- ok: [localhost]
- TASK [cfn-outputs : Set s3 facts] ****************************************************************************************************************
- fatal: [localhost]: FAILED! => {
- "failed": true
- }
- MSG:
- the field 'args' has an invalid value, which appears to include a variable that is undefined. The error was: 'dict object' has no attribute 'S3UserSecretKey'
- The error appears to have been in '/root/awslab/git/openshift-ansible-contrib/reference-architecture/aws-ansible/playbooks/roles/cfn-outputs/tasks/main.yaml': line 8, column 3, but may
- be elsewhere in the file depending on the exact syntax problem.
- The offending line appears to be:
- - name: Set s3 facts
- ^ here
- PLAY RECAP ***************************************************************************************************************************************
- localhost : ok=2 changed=0 unreachable=0 failed=1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement