Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CertBot Package Conflicting Requests #768

Closed
EmergentWorkshop opened this issue Apr 6, 2020 · 2 comments
Closed

CertBot Package Conflicting Requests #768

EmergentWorkshop opened this issue Apr 6, 2020 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@EmergentWorkshop
Copy link

SUMMARY

Playbook runs flawlessly up until this point. The output suggests that the certbot package has conflicting requests. When running:

pip install boto3 

there is a library conflict with urllib3-3.10.2. Subsequently, running:

 yum update 

returns that this library fails to update

Failed:
  python-urllib3.noarch 0:1.10.2-2.el7_1                              python-urllib3.noarch 0:1.10.2-7.el7  

The following article indicates that this is an issue with the pip installer for urllib3 vs the yum installer: https://bugzilla.redhat.com/show_bug.cgi?id=1187057

The ansible output leads me to believe that the issue may stem from running on an incorrect RHEL version (7 vs 8) as the EPEL libraries referenced are for 8.

      - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
      - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch

I am running in AWS building stand-alone provisioners, so a rebuild on 8 is no problem. I did attempt a build on RHEL8 but it too failed, although that was a python issue.

ISSUE TYPE
  • Bug Report
EXTRA VARS FILE
---
# region where the nodes will live
ec2_region: us-east-1
# name prefix for all the VMs
ec2_name_prefix: again
# creates student_total of workbenches for the workshop
student_total: 1
# Set the right workshop type, like networking, rhel or f5 (see above)
workshop_type: rhel
#####OPTIONAL VARIABLES
# turn DNS on for control nodes, and set to type in valid_dns_type
dns_type: aws
# password for Ansible control node, defaults to ansible
admin_password: emergent
# creates AWS S3 website for ec2_name_prefix.workshop_dns_zone
create_login_page: true
# Sets the Route53 DNS zone to use for the S3 website
workshop_dns_zone:  lab-emergent360.com
# automatically installs Tower to control node
towerinstall: true
# automatically licenses Tower if license is provided
autolicense: true

for more information on the extra vars file please refer to: https://github.com/network-automation/linklight/blob/master/provisioner/README.md

ANSIBLE VERSION
[ec2-user@ip-172-31-87-102 ~]$ ansible --version
ansible 2.9.6
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/home/ec2-user/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible
  python version = 2.7.5 (default, Sep 26 2019, 13:23:47) [GCC 4.8.5 20150623 (Red Hat 4.8.5-39)]
CONFIGURATION
n/a
OS / ENVIRONMENT

Red Hat Enterprise Linux Server release 7.8 (Maipo)

TOWER

Engine

PLAYBOOK SHORT OUTPUT

TASK [code_server : install cerbot] ***************************************************************************************************
fatal: [again-student1-ansible]: FAILED! => changed=false 
  failures: []
  msg: |-
    Depsolve Error occured:
     Problem: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
      - conflicting requests
      - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
      - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
  rc: 1
  results: []
TASK [aws_dns : INSTALL CERTBOT] ******************************************************************************************************
fatal: [tester-student1-ansible]: FAILED! => changed=false 
  failures: []
  msg: |-
    Depsolve Error occured:
     Problem: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
      - conflicting requests
      - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
      - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
  rc: 1
  results: []
PLAYBOOK LONG OUTPUT
PLAY [Perform Checks to make sure this Playbook will complete successfully] ***********************************************************

TASK [Gathering Facts] ****************************************************************************************************************
ok: [localhost]

TASK [make sure we are running correct Ansible Version] *******************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure workshop_type is set to a correct value] ******************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure dns_type is set to a correct value] ***********************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure security workshop has password set is set to a correct value] *********************************************************
skipping: [localhost]

TASK [make sure network_type is set to a correct value] *******************************************************************************
skipping: [localhost]

TASK [make sure DNS name is 65 characters or less] ************************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure security_console is set to a correct value] ***************************************************************************
skipping: [localhost]

TASK [run role to check if local environment setup will work with AWS] ****************************************************************

TASK [aws_check_setup : grab boto version] ********************************************************************************************
changed: [localhost]

TASK [aws_check_setup : make sure we are running correct boto version] ****************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [aws_check_setup : check for underscores in workshop name] ***********************************************************************
skipping: [localhost]

TASK [aws_check_setup : does route53 zone exist] **************************************************************************************
ok: [localhost]

TASK [aws_check_setup : make sure workshop_type is set to a correct value] ************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [aws_check_setup : FIND AZ ZONE FOR REGION us-east-1] ****************************************************************************
ok: [localhost]

TASK [aws_check_setup : SET AZ ZONE TO FIRST AVAILABLE] *******************************************************************************
ok: [localhost]

TASK [aws_check_setup : grab information about AWS user] ******************************************************************************
ok: [localhost]

TASK [aws_check_setup : save username of AWS user] ************************************************************************************
ok: [localhost]

TASK [make sure we are not running with TESTWORKSHOP as the name so no overlap] *******************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure we are not using `ansible` as the password] ***************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [make sure packages required are installed on this control node] *****************************************************************
skipping: [localhost]

TASK [make sure (windows) packages required are installed on this control node] *******************************************************
skipping: [localhost]

TASK [fail if previous check has changed] *********************************************************************************************
ok: [localhost] => changed=false 
  msg: All assertions passed

TASK [Check that the provided license exists] *****************************************************************************************
ok: [localhost]

TASK [debug] **************************************************************************************************************************
ok: [localhost] => 
  stat_result:
    changed: false
    failed: false
    stat:
      atime: 1586199429.3575077
      attr_flags: ''
      attributes: []
      block_size: 4096
      blocks: 8
      charset: us-ascii
      checksum: fd5310be7a096ea383334fb7cd194e7d8faa50c7
      ctime: 1586199587.147025
      dev: 66306
      device_type: 0
      executable: false
      exists: true
      gid: 1000
      gr_name: ec2-user
      inode: 158397
      isblk: false
      ischr: false
      isdir: false
      isfifo: false
      isgid: false
      islnk: false
      isreg: true
      issock: false
      isuid: false
      mimetype: text/plain
      mode: '0644'
      mtime: 1586199429.3765078
      nlink: 1
      path: /home/ec2-user/workshops/provisioner/tower_license.json
      pw_name: ec2-user
      readable: true
      rgrp: true
      roth: true
      rusr: true
      size: 475
      uid: 1000
      version: '18446744073251928417'
      wgrp: false
      woth: false
      writeable: true
      wusr: true
      xgrp: false
      xoth: false
      xusr: false

TASK [fail] ***************************************************************************************************************************
skipping: [localhost]

TASK [required roles] *****************************************************************************************************************
skipping: [localhost] => (item=geerlingguy.repo-epel) 
skipping: [localhost] => (item=ansible_security.ids_config) 
skipping: [localhost] => (item=ansible_security.ids_install) 

TASK [check async role install] *******************************************************************************************************
skipping: [localhost] => (item={'skip_reason': u'Conditional result was False', 'item': u'geerlingguy.repo-epel', 'skipped': True, 'ansible_loop_var': u'item', 'changed': False}) 
skipping: [localhost] => (item={'skip_reason': u'Conditional result was False', 'item': u'ansible_security.ids_config', 'skipped': True, 'ansible_loop_var': u'item', 'changed': False}) 
skipping: [localhost] => (item={'skip_reason': u'Conditional result was False', 'item': u'ansible_security.ids_install', 'skipped': True, 'ansible_loop_var': u'item', 'changed': False}) 

PLAY [Create lab instances in AWS] ****************************************************************************************************

TASK [manage_ec2_instances : include_tasks] *******************************************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : provision aws resources and instances] *******************************************************************
included: /home/ec2-user/workshops/provisioner/roles/manage_ec2_instances/tasks/provision.yml for localhost

TASK [manage_ec2_instances : ensure workshop folder again exists] *********************************************************************
changed: [localhost]

TASK [manage_ec2_instances : provision aws resources] *********************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/manage_ec2_instances/tasks/resources.yml for localhost

TASK [manage_ec2_instances : Create AWS VPC again-vpc] ********************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : Create AWS VPC again-vpc (SECURITY MODE)] ****************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : Set the create_vpc fact with the correct VPC info] *******************************************************
ok: [localhost]

TASK [manage_ec2_instances : Create EC2 security group for VPC named again-vpc] *******************************************************
changed: [localhost]

TASK [manage_ec2_instances : Windows | Create security group] *************************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : Create subnet for again-vpc] *****************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : Create subnet2 for again-vpc (SECURITY MODE)] ************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : vpc internet gateway is present for vpc-08a8e249e1537646c] ***********************************************
changed: [localhost]

TASK [manage_ec2_instances : vpc public subnet route table is present for vpc-08a8e249e1537646c] **************************************
changed: [localhost]

TASK [manage_ec2_instances : set variables for instance creation dynamically since VPC was not supplied by user] **********************
ok: [localhost]

TASK [manage_ec2_instances : set variables for instance creation dynamically since VPC was not supplied by user (SECURITY MODE)] ******
skipping: [localhost]

TASK [manage_ec2_instances : Create ssh key pair for workshop again] ******************************************************************
changed: [localhost]

TASK [manage_ec2_instances : save private key] ****************************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : debugging all variables for ec2 instance creation VPC-1] *************************************************
skipping: [localhost]

TASK [manage_ec2_instances : debugging all variables for ec2 instance creation VPC-1 (SECURITY MODE)] *********************************
skipping: [localhost]

TASK [manage_ec2_instances : provision networking aws resources] **********************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : find ami for ansible control node] ***********************************************************************
ok: [localhost]

TASK [manage_ec2_instances : save ami for ansible control node] ***********************************************************************
ok: [localhost]

TASK [manage_ec2_instances : Create EC2 instances for ansible node (control node)] ****************************************************
changed: [localhost]

TASK [manage_ec2_instances : Ensure tags are present] *********************************************************************************
changed: [localhost] => (item=[0, {u'ramdisk': None, u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-128-88.ec2.internal', u'block_device_mapping': {u'/dev/sda1': {u'status': u'attached', u'delete_on_termination': True, u'volume_id': u'vol-02db59ad6557f522c'}}, u'key_name': u'again-key', u'public_ip': u'18.205.19.171', u'image_id': u'ami-09b947b170ccd0dbc', u'tenancy': u'default', u'private_ip': u'172.16.128.88', u'groups': {u'sg-0e5441f4cf6dad3f2': u'again-insecure_all'}, u'public_dns_name': u'ec2-18-205-19-171.compute-1.amazonaws.com', u'state_code': 16, u'id': u'i-065df54929f57e6d8', u'tags': {}, u'placement': u'us-east-1a', u'ami_launch_index': u'0', u'dns_name': u'ec2-18-205-19-171.compute-1.amazonaws.com', u'region': u'us-east-1', u'ebs_optimized': False, u'launch_time': u'2020-04-06T19:00:31.000Z', u'instance_type': u't2.medium', u'state': u'running', u'architecture': u'x86_64', u'hypervisor': u'xen', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1'}])

TASK [manage_ec2_instances : provision workshop instances] ****************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/manage_ec2_instances/tasks/instances_rhel.yml for localhost

TASK [manage_ec2_instances : find ami for node] ***************************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : save ami for node] ***************************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : Create EC2 instances for node1] **************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : Ensure tags are present for node1] ***********************************************************************
changed: [localhost] => (item=[0, {u'ramdisk': None, u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-173-144.ec2.internal', u'block_device_mapping': {u'/dev/sda1': {u'status': u'attaching', u'delete_on_termination': True, u'volume_id': u'vol-0c36c6ecce8e686f5'}}, u'key_name': u'again-key', u'public_ip': u'3.90.113.248', u'image_id': u'ami-09b947b170ccd0dbc', u'tenancy': u'default', u'private_ip': u'172.16.173.144', u'groups': {u'sg-0e5441f4cf6dad3f2': u'again-insecure_all'}, u'public_dns_name': u'ec2-3-90-113-248.compute-1.amazonaws.com', u'state_code': 0, u'id': u'i-093ca2b8f1c0413c1', u'tags': {}, u'placement': u'us-east-1a', u'ami_launch_index': u'0', u'dns_name': u'ec2-3-90-113-248.compute-1.amazonaws.com', u'region': u'us-east-1', u'ebs_optimized': False, u'launch_time': u'2020-04-06T19:01:05.000Z', u'instance_type': u't2.micro', u'state': u'pending', u'architecture': u'x86_64', u'hypervisor': u'xen', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1'}])

TASK [manage_ec2_instances : Create EC2 instances for node2] **************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : Ensure tags are present for node2] ***********************************************************************
changed: [localhost] => (item=[0, {u'ramdisk': None, u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-242-74.ec2.internal', u'block_device_mapping': {u'/dev/sda1': {u'status': u'attached', u'delete_on_termination': True, u'volume_id': u'vol-0de2bf59c6598c29c'}}, u'key_name': u'again-key', u'public_ip': u'54.83.73.16', u'image_id': u'ami-09b947b170ccd0dbc', u'tenancy': u'default', u'private_ip': u'172.16.242.74', u'groups': {u'sg-0e5441f4cf6dad3f2': u'again-insecure_all'}, u'public_dns_name': u'ec2-54-83-73-16.compute-1.amazonaws.com', u'state_code': 16, u'id': u'i-084bf253c9eee2493', u'tags': {}, u'placement': u'us-east-1a', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-83-73-16.compute-1.amazonaws.com', u'region': u'us-east-1', u'ebs_optimized': False, u'launch_time': u'2020-04-06T19:01:52.000Z', u'instance_type': u't2.micro', u'state': u'running', u'architecture': u'x86_64', u'hypervisor': u'xen', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1'}])

TASK [manage_ec2_instances : Create EC2 instances for node3] **************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : Ensure tags are present for node3] ***********************************************************************
changed: [localhost] => (item=[0, {u'ramdisk': None, u'kernel': None, u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-103-229.ec2.internal', u'block_device_mapping': {u'/dev/sda1': {u'status': u'attached', u'delete_on_termination': True, u'volume_id': u'vol-0a18053cecde659a6'}}, u'key_name': u'again-key', u'public_ip': u'54.164.118.1', u'image_id': u'ami-09b947b170ccd0dbc', u'tenancy': u'default', u'private_ip': u'172.16.103.229', u'groups': {u'sg-0e5441f4cf6dad3f2': u'again-insecure_all'}, u'public_dns_name': u'ec2-54-164-118-1.compute-1.amazonaws.com', u'state_code': 16, u'id': u'i-0e5ad0a2e26094bd2', u'tags': {}, u'placement': u'us-east-1a', u'ami_launch_index': u'0', u'dns_name': u'ec2-54-164-118-1.compute-1.amazonaws.com', u'region': u'us-east-1', u'ebs_optimized': False, u'launch_time': u'2020-04-06T19:02:17.000Z', u'instance_type': u't2.micro', u'state': u'running', u'architecture': u'x86_64', u'hypervisor': u'xen', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1'}])

TASK [manage_ec2_instances : create instructor_inventory, and student files] **********************************************************
included: /home/ec2-user/workshops/provisioner/roles/manage_ec2_instances/tasks/create_inventory.yml for localhost

TASK [manage_ec2_instances : grab facts for control_nodes] ****************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : add ansible node to control_nodes and managed_nodes group] ***********************************************
changed: [localhost] => (item={u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-128-88.ec2.internal', u'cpu_options': {u'threads_per_core': 1, u'core_count': 2}, u'security_groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'monitoring': {u'state': u'disabled'}, u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'ebs_optimized': False, u'state': {u'code': 16, u'name': u'running'}, u'source_dest_check': True, u'client_token': u'', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1', u'public_ip_address': u'18.205.19.171', u'tags': {u'Info': u'AWS_USERNAME that provisioned this-> Jason_Mcdonald', u'username': u'ec2-user', u'Workshop_ansible': u'again-ansible', u'Name': u'again-student1-ansible', u'short_name': u'ansible', u'Index': u'0', u'Students': u'1', u'AWS_USERNAME': u'Jason_Mcdonald', u'launch_time': u'2020-04-06T19:00:31.000Z', u'Workshop': u'again', u'dns': u'student1.again.lab-emergent360.com ', u'Student': u'student1', u'Ansible_Workshops': u'This was provisioned through the ansible workshops provisioner'}, u'key_name': u'again-key', u'image_id': u'ami-09b947b170ccd0dbc', u'ena_support': True, u'hibernation_options': {u'configured': False}, u'capacity_reservation_specification': {u'capacity_reservation_preference': u'open'}, u'public_dns_name': u'ec2-18-205-19-171.compute-1.amazonaws.com', u'block_device_mappings': [{u'ebs': {u'status': u'attached', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:00:36+00:00', u'volume_id': u'vol-02db59ad6557f522c'}, u'device_name': u'/dev/sda1'}], u'metadata_options': {u'http_endpoint': u'enabled', u'state': u'applied', u'http_tokens': u'optional', u'http_put_response_hop_limit': 1}, u'placement': {u'availability_zone': u'us-east-1a', u'tenancy': u'default', u'group_name': u''}, u'ami_launch_index': 0, u'hypervisor': u'xen', u'network_interfaces': [{u'status': u'in-use', u'description': u'', u'interface_type': u'interface', u'ipv6_addresses': [], u'groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'association': {u'public_ip': u'18.205.19.171', u'public_dns_name': u'ec2-18-205-19-171.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'source_dest_check': True, u'private_dns_name': u'ip-172-16-128-88.ec2.internal', u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'network_interface_id': u'eni-035bac24efe20314f', u'attachment': {u'status': u'attached', u'device_index': 0, u'attachment_id': u'eni-attach-05029dd427c060c23', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:00:31+00:00'}, u'private_ip_addresses': [{u'private_ip_address': u'172.16.128.88', u'private_dns_name': u'ip-172-16-128-88.ec2.internal', u'association': {u'public_ip': u'18.205.19.171', u'public_dns_name': u'ec2-18-205-19-171.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'primary': True}], u'mac_address': u'0a:27:de:9b:79:6d', u'private_ip_address': u'172.16.128.88', u'vpc_id': u'vpc-08a8e249e1537646c', u'owner_id': u'900714892670'}], u'launch_time': u'2020-04-06T19:00:31+00:00', u'instance_id': u'i-065df54929f57e6d8', u'instance_type': u't2.medium', u'architecture': u'x86_64', u'state_transition_reason': u'', u'private_ip_address': u'172.16.128.88', u'vpc_id': u'vpc-08a8e249e1537646c', u'product_codes': []})

TASK [manage_ec2_instances : RHEL mode - setup inventory] *****************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/manage_ec2_instances/tasks/addhost_rhel.yml for localhost

TASK [manage_ec2_instances : grab facts for node1 node] *******************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : grab facts for node2 node] *******************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : grab facts for node3 node] *******************************************************************************
ok: [localhost]

TASK [manage_ec2_instances : add hosts to groups (ANSIBLE RHEL MODE)] *****************************************************************
ok: [localhost] => (item={u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-173-144.ec2.internal', u'cpu_options': {u'threads_per_core': 1, u'core_count': 1}, u'security_groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'monitoring': {u'state': u'disabled'}, u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'ebs_optimized': False, u'state': {u'code': 16, u'name': u'running'}, u'source_dest_check': True, u'client_token': u'', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1', u'public_ip_address': u'3.90.113.248', u'tags': {u'username': u'ec2-user', u'Index': u'0', u'Name': u'again-student1-node1', u'short_name': u'node1', u'Students': u'1', u'AWS_USERNAME': u'Jason_Mcdonald', u'launch_time': u'2020-04-06T19:01:05.000Z', u'Workshop': u'again', u'Linklight': u'This was provisioned through the linklight provisioner', u'Info': u'AWS_USERNAME that provisioned this-> Jason_Mcdonald', u'Student': u'student1', u'Workshop_node1': u'again-node1'}, u'key_name': u'again-key', u'image_id': u'ami-09b947b170ccd0dbc', u'ena_support': True, u'hibernation_options': {u'configured': False}, u'capacity_reservation_specification': {u'capacity_reservation_preference': u'open'}, u'public_dns_name': u'ec2-3-90-113-248.compute-1.amazonaws.com', u'block_device_mappings': [{u'ebs': {u'status': u'attached', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:01:06+00:00', u'volume_id': u'vol-0c36c6ecce8e686f5'}, u'device_name': u'/dev/sda1'}], u'metadata_options': {u'http_endpoint': u'enabled', u'state': u'applied', u'http_tokens': u'optional', u'http_put_response_hop_limit': 1}, u'placement': {u'availability_zone': u'us-east-1a', u'tenancy': u'default', u'group_name': u''}, u'ami_launch_index': 0, u'hypervisor': u'xen', u'network_interfaces': [{u'status': u'in-use', u'description': u'', u'interface_type': u'interface', u'ipv6_addresses': [], u'groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'association': {u'public_ip': u'3.90.113.248', u'public_dns_name': u'ec2-3-90-113-248.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'source_dest_check': True, u'private_dns_name': u'ip-172-16-173-144.ec2.internal', u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'network_interface_id': u'eni-02efc96a047784198', u'attachment': {u'status': u'attached', u'device_index': 0, u'attachment_id': u'eni-attach-079ee4dcb1bdb6a22', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:01:05+00:00'}, u'private_ip_addresses': [{u'private_ip_address': u'172.16.173.144', u'private_dns_name': u'ip-172-16-173-144.ec2.internal', u'association': {u'public_ip': u'3.90.113.248', u'public_dns_name': u'ec2-3-90-113-248.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'primary': True}], u'mac_address': u'0a:e4:93:62:f6:c3', u'private_ip_address': u'172.16.173.144', u'vpc_id': u'vpc-08a8e249e1537646c', u'owner_id': u'900714892670'}], u'launch_time': u'2020-04-06T19:01:05+00:00', u'instance_id': u'i-093ca2b8f1c0413c1', u'instance_type': u't2.micro', u'architecture': u'x86_64', u'state_transition_reason': u'', u'private_ip_address': u'172.16.173.144', u'vpc_id': u'vpc-08a8e249e1537646c', u'product_codes': []})
ok: [localhost] => (item={u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-242-74.ec2.internal', u'cpu_options': {u'threads_per_core': 1, u'core_count': 1}, u'security_groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'monitoring': {u'state': u'disabled'}, u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'ebs_optimized': False, u'state': {u'code': 16, u'name': u'running'}, u'source_dest_check': True, u'client_token': u'', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1', u'public_ip_address': u'54.83.73.16', u'tags': {u'Info': u'AWS_USERNAME that provisioned this-> Jason_Mcdonald', u'username': u'ec2-user', u'Name': u'again-student1-node2', u'short_name': u'node2', u'Index': u'0', u'Students': u'1', u'AWS_USERNAME': u'Jason_Mcdonald', u'launch_time': u'2020-04-06T19:01:52.000Z', u'Workshop': u'again', u'Linklight': u'This was provisioned through the linklight provisioner', u'Student': u'student1', u'Workshop_node2': u'again-node2'}, u'key_name': u'again-key', u'image_id': u'ami-09b947b170ccd0dbc', u'ena_support': True, u'hibernation_options': {u'configured': False}, u'capacity_reservation_specification': {u'capacity_reservation_preference': u'open'}, u'public_dns_name': u'ec2-54-83-73-16.compute-1.amazonaws.com', u'block_device_mappings': [{u'ebs': {u'status': u'attached', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:01:53+00:00', u'volume_id': u'vol-0de2bf59c6598c29c'}, u'device_name': u'/dev/sda1'}], u'metadata_options': {u'http_endpoint': u'enabled', u'state': u'applied', u'http_tokens': u'optional', u'http_put_response_hop_limit': 1}, u'placement': {u'availability_zone': u'us-east-1a', u'tenancy': u'default', u'group_name': u''}, u'ami_launch_index': 0, u'hypervisor': u'xen', u'network_interfaces': [{u'status': u'in-use', u'description': u'', u'interface_type': u'interface', u'ipv6_addresses': [], u'groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'association': {u'public_ip': u'54.83.73.16', u'public_dns_name': u'ec2-54-83-73-16.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'source_dest_check': True, u'private_dns_name': u'ip-172-16-242-74.ec2.internal', u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'network_interface_id': u'eni-0115c1b5f80a92b95', u'attachment': {u'status': u'attached', u'device_index': 0, u'attachment_id': u'eni-attach-0a3d9f3c619595bad', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:01:52+00:00'}, u'private_ip_addresses': [{u'private_ip_address': u'172.16.242.74', u'private_dns_name': u'ip-172-16-242-74.ec2.internal', u'association': {u'public_ip': u'54.83.73.16', u'public_dns_name': u'ec2-54-83-73-16.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'primary': True}], u'mac_address': u'0a:0f:1f:8a:b9:15', u'private_ip_address': u'172.16.242.74', u'vpc_id': u'vpc-08a8e249e1537646c', u'owner_id': u'900714892670'}], u'launch_time': u'2020-04-06T19:01:52+00:00', u'instance_id': u'i-084bf253c9eee2493', u'instance_type': u't2.micro', u'architecture': u'x86_64', u'state_transition_reason': u'', u'private_ip_address': u'172.16.242.74', u'vpc_id': u'vpc-08a8e249e1537646c', u'product_codes': []})
ok: [localhost] => (item={u'root_device_type': u'ebs', u'private_dns_name': u'ip-172-16-103-229.ec2.internal', u'cpu_options': {u'threads_per_core': 1, u'core_count': 1}, u'security_groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'monitoring': {u'state': u'disabled'}, u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'ebs_optimized': False, u'state': {u'code': 16, u'name': u'running'}, u'source_dest_check': True, u'client_token': u'', u'virtualization_type': u'hvm', u'root_device_name': u'/dev/sda1', u'public_ip_address': u'54.164.118.1', u'tags': {u'username': u'ec2-user', u'Info': u'AWS_USERNAME that provisioned this-> Jason_Mcdonald', u'Name': u'again-student1-node3', u'short_name': u'node3', u'Index': u'0', u'Students': u'1', u'AWS_USERNAME': u'Jason_Mcdonald', u'launch_time': u'2020-04-06T19:02:17.000Z', u'Workshop': u'again', u'Linklight': u'This was provisioned through the linklight provisioner', u'Student': u'student1', u'Workshop_node3': u'again-node3'}, u'key_name': u'again-key', u'image_id': u'ami-09b947b170ccd0dbc', u'ena_support': True, u'hibernation_options': {u'configured': False}, u'capacity_reservation_specification': {u'capacity_reservation_preference': u'open'}, u'public_dns_name': u'ec2-54-164-118-1.compute-1.amazonaws.com', u'block_device_mappings': [{u'ebs': {u'status': u'attached', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:02:18+00:00', u'volume_id': u'vol-0a18053cecde659a6'}, u'device_name': u'/dev/sda1'}], u'metadata_options': {u'http_endpoint': u'enabled', u'state': u'applied', u'http_tokens': u'optional', u'http_put_response_hop_limit': 1}, u'placement': {u'availability_zone': u'us-east-1a', u'tenancy': u'default', u'group_name': u''}, u'ami_launch_index': 0, u'hypervisor': u'xen', u'network_interfaces': [{u'status': u'in-use', u'description': u'', u'interface_type': u'interface', u'ipv6_addresses': [], u'groups': [{u'group_id': u'sg-0e5441f4cf6dad3f2', u'group_name': u'again-insecure_all'}], u'association': {u'public_ip': u'54.164.118.1', u'public_dns_name': u'ec2-54-164-118-1.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'source_dest_check': True, u'private_dns_name': u'ip-172-16-103-229.ec2.internal', u'subnet_id': u'subnet-06d20fa8e5d2a2f1f', u'network_interface_id': u'eni-03a564c8716d124f8', u'attachment': {u'status': u'attached', u'device_index': 0, u'attachment_id': u'eni-attach-05429b3fc839b6ecd', u'delete_on_termination': True, u'attach_time': u'2020-04-06T19:02:17+00:00'}, u'private_ip_addresses': [{u'private_ip_address': u'172.16.103.229', u'private_dns_name': u'ip-172-16-103-229.ec2.internal', u'association': {u'public_ip': u'54.164.118.1', u'public_dns_name': u'ec2-54-164-118-1.compute-1.amazonaws.com', u'ip_owner_id': u'amazon'}, u'primary': True}], u'mac_address': u'0a:da:00:ce:72:93', u'private_ip_address': u'172.16.103.229', u'vpc_id': u'vpc-08a8e249e1537646c', u'owner_id': u'900714892670'}], u'launch_time': u'2020-04-06T19:02:17+00:00', u'instance_id': u'i-0e5ad0a2e26094bd2', u'instance_type': u't2.micro', u'architecture': u'x86_64', u'state_transition_reason': u'', u'private_ip_address': u'172.16.103.229', u'vpc_id': u'vpc-08a8e249e1537646c', u'product_codes': []})

TASK [manage_ec2_instances : Generate student inventories] ****************************************************************************
changed: [localhost] => (item=1)

TASK [manage_ec2_instances : Generate student etchosts] *******************************************************************************
changed: [localhost] => (item=1)

TASK [manage_ec2_instances : Generate instructor inventory] ***************************************************************************
changed: [localhost]

TASK [manage_ec2_instances : networking mode - setup inventory] ***********************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : f5 mode - setup inventory] *******************************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : DevOps mode - setup inventory] ***************************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : security mode - setup inventory] *************************************************************************
skipping: [localhost]

TASK [manage_ec2_instances : windows mode - setup inventory] **************************************************************************
skipping: [localhost]

PLAY [wait for all nodes to have SSH reachability] ************************************************************************************

TASK [connectivity_test : Wait 400 seconds (using wait_for_connection)] ***************************************************************
ok: [again-student1-ansible]
ok: [again-student1-node1]
ok: [again-student1-node2]
ok: [again-student1-node3]
[WARNING]: Could not match supplied host pattern, ignoring: security_connection_check

PLAY [wait for all security nodes to have SSH reachability] ***************************************************************************
skipping: no hosts matched

PLAY [Configure common options on managed nodes and control nodes] ********************************************************************

TASK [user_accounts : Create User Group] **********************************************************************************************
changed: [again-student1-node2]
changed: [again-student1-node1]
changed: [again-student1-ansible]
changed: [again-student1-node3]

TASK [user_accounts : Create User Account] ********************************************************************************************
changed: [again-student1-ansible]
changed: [again-student1-node2]
changed: [again-student1-node1]
changed: [again-student1-node3]

TASK [common : Configure sshd and sudoers] ********************************************************************************************
changed: [again-student1-node1] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?Port', u'line': u'Port 22', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node2] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?Port', u'line': u'Port 22', u'validate': u'sshd -t -f %s'})
changed: [again-student1-ansible] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?Port', u'line': u'Port 22', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node3] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?Port', u'line': u'Port 22', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node1] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?PasswordAuthentication', u'line': u'PasswordAuthentication yes', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node2] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?PasswordAuthentication', u'line': u'PasswordAuthentication yes', u'validate': u'sshd -t -f %s'})
changed: [again-student1-ansible] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?PasswordAuthentication', u'line': u'PasswordAuthentication yes', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node3] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?PasswordAuthentication', u'line': u'PasswordAuthentication yes', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node1] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?UseDNS', u'line': u'UseDNS no', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node2] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?UseDNS', u'line': u'UseDNS no', u'validate': u'sshd -t -f %s'})
changed: [again-student1-ansible] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?UseDNS', u'line': u'UseDNS no', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node3] => (item={u'dest': u'/etc/ssh/sshd_config', u'regexp': u'^#?UseDNS', u'line': u'UseDNS no', u'validate': u'sshd -t -f %s'})
changed: [again-student1-node1] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^student1', u'line': u'student1 ALL=(ALL) NOPASSWD: ALL', u'validate': u'visudo -cf %s'})
changed: [again-student1-node2] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^student1', u'line': u'student1 ALL=(ALL) NOPASSWD: ALL', u'validate': u'visudo -cf %s'})
changed: [again-student1-ansible] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^student1', u'line': u'student1 ALL=(ALL) NOPASSWD: ALL', u'validate': u'visudo -cf %s'})
changed: [again-student1-node2] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^Defaults.*requiretty', u'line': u'Defaults    !requiretty', u'validate': u'visudo -cf %s'})
changed: [again-student1-node1] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^Defaults.*requiretty', u'line': u'Defaults    !requiretty', u'validate': u'visudo -cf %s'})
changed: [again-student1-ansible] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^Defaults.*requiretty', u'line': u'Defaults    !requiretty', u'validate': u'visudo -cf %s'})
changed: [again-student1-node3] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^student1', u'line': u'student1 ALL=(ALL) NOPASSWD: ALL', u'validate': u'visudo -cf %s'})
changed: [again-student1-node3] => (item={u'dest': u'/etc/sudoers', u'regexp': u'^Defaults.*requiretty', u'line': u'Defaults    !requiretty', u'validate': u'visudo -cf %s'})

TASK [common : hostname] **************************************************************************************************************
changed: [again-student1-node3]
changed: [again-student1-node1]
changed: [again-student1-node2]
changed: [again-student1-ansible]

RUNNING HANDLER [common : restart ssh] ************************************************************************************************
changed: [again-student1-node1]
changed: [again-student1-node2]
changed: [again-student1-ansible]
changed: [again-student1-node3]

PLAY [configure ansible control node] *************************************************************************************************

TASK [Gathering Facts] ****************************************************************************************************************
ok: [again-student1-ansible]

TASK [control_node : hostname] ********************************************************************************************************
ok: [again-student1-ansible]

TASK [control_node : Install EPEL] ****************************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Install base packages] *******************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Install ansible.cfg and vimrc in home directory] *****************************************************************
changed: [again-student1-ansible]

TASK [control_node : Install vimrc in home directory] *********************************************************************************
changed: [again-student1-ansible]

TASK [control_node : setup /etc/hosts file per student] *******************************************************************************
changed: [again-student1-ansible]

TASK [control_node : make sure .ssh is created] ***************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : copy over ssh config file] ***************************************************************************************
changed: [again-student1-ansible] => (item=ec2-user)
changed: [again-student1-ansible] => (item=student1)

TASK [control_node : Put ssh-key in proper spot for student] **************************************************************************
changed: [again-student1-ansible] => (item=ec2-user)
changed: [again-student1-ansible] => (item=student1)

TASK [control_node : clean out /tmp/linklight] ****************************************************************************************
ok: [again-student1-ansible]

TASK [control_node : Clone workshops repo (NETWORKING MODE)] **************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Move relevant exercises to correct location] *********************************************************************
changed: [again-student1-ansible]

TASK [control_node : setup control node for workshop type] ****************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/control_node/tasks/rhel.yml for again-student1-ansible

TASK [control_node : Create lab inventory directory] **********************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Put student inventory in proper spot] ****************************************************************************
changed: [again-student1-ansible]

TASK [control_node : check to see if ansible tower is already up and running] *********************************************************
ok: [again-student1-ansible]

TASK [control_node : install tower if knob is set] ************************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/control_node/tasks/tower.yml for again-student1-ansible

TASK [control_node : Download Ansible Tower] ******************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Create directory for Ansible Tower] ******************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Extract Ansible Tower install] ***********************************************************************************
changed: [again-student1-ansible]

TASK [control_node : template inventory file for Ansible Tower Install] ***************************************************************
changed: [again-student1-ansible]

TASK [control_node : run the Ansible Tower installer] *********************************************************************************
changed: [again-student1-ansible]

TASK [control_node : install ansible-tower-cli and requests] **************************************************************************
changed: [again-student1-ansible]

TASK [control_node : wait for Ansible Tower to be up] *********************************************************************************
ok: [again-student1-ansible]

TASK [control_node : Display /api/v2/ping results] ************************************************************************************
ok: [again-student1-ansible] => 
  msg:
    active_node: localhost
    ha: false
    install_uuid: a37b7e43-70a9-4b76-a3a1-fb50435c517a
    instance_groups:
    - capacity: 17
      instances:
      - localhost
      name: tower
    instances:
    - capacity: 17
      heartbeat: '2020-04-06T19:13:55.813543Z'
      node: localhost
      uuid: b1fc2a4c-2f9a-47f4-90e4-57d9803c0712
      version: 3.6.3
    version: 3.6.3

TASK [control_node : Create directory for custom venvs] *******************************************************************************
changed: [again-student1-ansible]

TASK [control_node : specify in Tower which directory to look for custom venvs] *******************************************************
ok: [again-student1-ansible]

TASK [control_node : Install virtualenv via pip] **************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : install ansible development branch to venv] **********************************************************************
changed: [again-student1-ansible]

TASK [control_node : add student user] ************************************************************************************************
changed: [again-student1-ansible]

TASK [control_node : Ensure eula is accepted if posting license] **********************************************************************
changed: [again-student1-ansible -> localhost]

TASK [control_node : Post license key] ************************************************************************************************
ok: [again-student1-ansible]

TASK [control_node : INSTALL VSCODE AND XRDP] *****************************************************************************************
skipping: [again-student1-ansible]

TASK [code_server : remove dns entries for each vs code instance] *********************************************************************
skipping: [again-student1-ansible]

TASK [code_server : check to see if SSL cert already applied] *************************************************************************
ok: [again-student1-ansible -> localhost]

TASK [code_server : setup vscode for web browser access] ******************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/code_server/tasks/codeserver.yml for again-student1-ansible

TASK [code_server : install cerbot] ***************************************************************************************************
fatal: [again-student1-ansible]: FAILED! => changed=false 
  failures: []
  msg: |-
    Depsolve Error occured:
     Problem: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
      - conflicting requests
      - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
      - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
  rc: 1
  results: []

TASK [code_server : debug] ************************************************************************************************************
ok: [again-student1-ansible] => 
  msg: VS code integration has failed

TASK [code_server : remove additional nginx configuration because of failure] *********************************************************
ok: [again-student1-ansible]

TASK [code_server : make sure tower is on] ********************************************************************************************
changed: [again-student1-ansible]

TASK [code_server : appends] **********************************************************************************************************
ok: [again-student1-ansible -> localhost]

PLAY [add dns entires for all student control nodes] **********************************************************************************

TASK [aws_dns : REMOVE DNS ENTRIES FOR EACH TOWER NODE] *******************************************************************************
skipping: [again-student1-ansible]

TASK [aws_dns : CHECK TO SEE IF SSL CERT ALREADY APPLIED] *****************************************************************************
ok: [again-student1-ansible]

TASK [aws_dns : CREATE DNS ENTRIES FOR EACH TOWER NODE AND SSL CERT] ******************************************************************
included: /home/ec2-user/workshops/provisioner/roles/aws_dns/tasks/create.yml for again-student1-ansible

TASK [aws_dns : dns for student webpage] **********************************************************************************************
changed: [again-student1-ansible -> localhost]

TASK [aws_dns : CERTBOT FOR TOWER] ****************************************************************************************************
included: /home/ec2-user/workshops/provisioner/roles/aws_dns/tasks/tower.yml for again-student1-ansible

TASK [aws_dns : CHANGE TOWER BASE URL] ************************************************************************************************
changed: [again-student1-ansible]

TASK [aws_dns : INSTALL CERTBOT] ******************************************************************************************************
fatal: [again-student1-ansible]: FAILED! => changed=false 
  failures: []
  msg: |-
    Depsolve Error occured:
     Problem: package certbot-1.3.0-3.el8.noarch requires python3-certbot = 1.3.0-3.el8, but none of the providers can be installed
      - conflicting requests
      - nothing provides python3-mock needed by python3-certbot-1.3.0-3.el8.noarch
      - nothing provides python3.6dist(mock) needed by python3-certbot-1.3.0-3.el8.noarch
  rc: 1
  results: []

PLAY RECAP ****************************************************************************************************************************
again-student1-ansible     : ok=50   changed=31   unreachable=0    failed=1    skipped=3    rescued=1    ignored=0   
again-student1-node1       : ok=6    changed=5    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
again-student1-node2       : ok=6    changed=5    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
again-student1-node3       : ok=6    changed=5    unreachable=0    failed=0    skipped=0    rescued=0    ignored=0   
localhost                  : ok=54   changed=21   unreachable=0    failed=0    skipped=22   rescued=0    ignored=0   

@IPvSean
Copy link
Contributor

IPvSean commented Apr 6, 2020

thank you!

I am testing a fix for the provisioner/roles/aws_dns/tasks/tower.yml

looks like certbot has changed directions for RHEL8 in the last few days....

# directions found here https://certbot.eff.org/lets-encrypt/centosrhel8-other
- name: Download and install certbot
  get_url:
    url: https://dl.eff.org/certbot-auto
    dest: /usr/local/bin/certbot-auto
    mode: '0755'
    owner: "root"

# https://docs.ansible.com/ansible-tower/latest/html/administration/init_script.html
- name: TURN OFF TOWER
  shell: ansible-tower-service stop

# If this fails check out status of certbot: https://letsencrypt.status.io/
- name: ISSUE CERT
  shell: /usr/local/bin/certbot-auto certonly --standalone -d {{username}}.{{ec2_name_prefix|lower}}.{{workshop_dns_zone}} --email ansible-network@redhat.com --noninteractive --agree-tos
  register: issue_cert
  until: issue_cert is not failed
  retries: 5
  ignore_errors: true

@IPvSean IPvSean self-assigned this Apr 6, 2020
@IPvSean IPvSean added the bug Something isn't working label Apr 6, 2020
@IPvSean
Copy link
Contributor

IPvSean commented Apr 7, 2020

@EmergentWorkshop this issue has been fixed and merged to devel and a release has been done to master

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants