How To Install and Configure Ansible Tower on CentOS 8 / RHEL 8



What is Ansible Tower?

Ansible Tower is the easy-to-use UI and dashboard and REST API for Ansible. Centralize your Ansible infrastructure from a modern UI, featuring role-based access control, job scheduling, and graphical inventory management. Tower's REST API and CLI make it easy to embed Tower into existing tools and processes. Tower now includes real-time output of playbook runs, an all-new dashboard and expanded out-of-the-box cloud support
Ansible Tower is Ansible at a more enterprise level. It is a web-based solution for managing your organization with a very easy user interface that provides a dashboard with all of the state summaries of all the hosts, allows quick deployments, and monitors all configurations.
The tower allows you to share the SSH credentials without exposing them, logs all the jobs, manage inventories graphically and syncs them with a wide variety of cloud providers.

Prerequisites To Install Ansible Tower

The following are the pre-requisites to install Tower:
Ansible Tower is supported by the following operating systems:
  • Red Hat Enterprise Linux 6 64-bit
  • Red Hat Enterprise Linux 7 64-bit
  • CentOS 6 64-bit
  • CentOS 7 64-bit
  • Ubuntu 12.04 LTS 64-bit
  • Ubuntu 14.04 LTS 64-bit
  • Ubuntu 16.04 LTS 64 bit
You should have the latest stable release of Ansible.
64-bit support required (kernel and runtime) and 20 GB hard disk.
Minimum 2 GB RAM (4+ GB RAM recommended) is required.
  • 2 GB RAM (minimum and recommended for Vagrant trial installations
  • 4 GB RAM is recommended /100 forks
For Amazon EC2: Instance size of m3.medium or larger is required for less than 100 hosts and if you have more than 100 hosts, then you require an instance size of m3.xlarge or larger.
For HA MongoDB setups, you can use the below formula for a rough estimate of the amount of space required.
(NumberOfHostsIninventory)*(NumberOfScans)*(AverageModuleFactSize)*(NumberOfModulesScanning)
Subscribe to our youtube channel to get new updates..!

Ansible Tower Parameters

In this section of the blog, you will get an insight into the following parameters of the tower:
  • Tower Editions
  • Tower Pricing
  • Tower Features
Tower Editions
The Ansible Tower has 3 different editions; the self-support, standard, and the premium edition. Each of these editions varies with the capabilities they offer. You can do everything from application deployment to multi-tiered orchestrations, with control, security and logging capabilities.

SELF – SUPPORT STANDARD PREMIUM
Ansible Tower Dashboard Yes Yes Yes
Real-Time Job Outputs Yes Yes Yes
Remote Command Execution Yes Yes Yes
Job Scheduling Yes Yes Yes
Visual Inventory Management Yes Yes Yes
Workflows No Yes Yes
Built-In Notifications Yes Yes Yes
Role-Based Access Control Yes Yes Yes
Integration With Enterprise Accounts No Yes Yes
Audit Trail No Yes Yes
Logging and Analytics Integration No Yes Yes
Installation Support No Yes Yes
24*7 Support No No Yes
Maintenance and Upgrades Yes Yes Yes
Documented API &  Tower CLI Yes Yes Yes
Scale-Out Clustering No Yes Yes

 

Tower Pricing
As I mentioned before the tower has 3 editions, out of which the self-support one is the free trial version. For the other two edition’s pricing, you can refer to the below table:


In this article, we will cover the installation, configuration, and usage of Ansible Tower on RHEL 8 / CentOS 8 server. Ansible has been dominating as the standard tool for automating Infrastructure and Applications deployments in enterprises. Ansible is a simple, powerful, and easy to learn as compared to other configuration management tools such as
Ansible exists in two standards:
  • Ansible Core – Provides Ansible runtime for executing playbooks.
  • Ansible Tower – Provides management, visibility, job scheduling, credentials, RBAC, auditing/compliance e.t.c.
By installing Ansible Tower, Ansible core will be installed as a dependency. Below are the steps you’ll use to install Ansible Tower on a CentOS 7 server.

Step 1: Update system and add EPEL repository

We need the EPEL repository for this installation. Update your CentOS 7 system and add EPEL repository.
sudo yum -y update
sudo yum -y install epel-release
For CentOS / RHEL 8, use:

Install EPEL Repository on RHEL / CentOS 8

EPEL 8 has been released officially to the general public. Installation of EPEL repository is so easy as this is done by running the following command.
sudo dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
This will download the repository file to /etc/yum.repos.d/epel.repo and enables it. Here is the installation output.
Updating Subscription Management repositories.
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                    1.6 kB/s | 4.5 kB     00:02    
Red Hat Enterprise Linux 8 for x86_64 - AppStream (RPMs)                    673 kB/s | 8.7 MB     00:13    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                       1.6 kB/s | 4.0 kB     00:02    
Red Hat Enterprise Linux 8 for x86_64 - BaseOS (RPMs)                       562 kB/s | 6.4 MB     00:11    
skype (stable)                                                              1.3 kB/s | 2.9 kB     00:02    
skype (stable)                                                              1.4 kB/s | 4.2 kB     00:02    
slack                                                                       252  B/s | 1.0 kB     00:04    
slack                                                                       3.4 kB/s |  35 kB     00:10    
Sublime Text - x86_64 - Stable                                              1.3 kB/s | 2.9 kB     00:02    
Sublime Text - x86_64 - Stable                                              458  B/s | 2.0 kB     00:04    
Visual Studio Code                                                          1.4 kB/s | 2.9 kB     00:02    
Visual Studio Code                                                          212 kB/s | 2.2 MB     00:10    
epel-release-latest-8.noarch.rpm                                            7.3 kB/s |  21 kB     00:02    
Dependencies resolved.
============================================================================================================
 Package                     Arch                  Version                Repository                   Size
============================================================================================================
Installing:
 epel-release                noarch                8-5.el8                @commandline                 21 k

Transaction Summary
============================================================================================================
Install  1 Package

Total size: 21 k
Installed size: 30 k
Is this ok [y/N]: y
Downloading Packages:
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                    1/1 
  Installing       : epel-release-8-5.el8.noarch                                                        1/1 
  Running scriptlet: epel-release-8-5.el8.noarch                                                        1/1 
  Verifying        : epel-release-8-5.el8.noarch                                                        1/1 
Installed products updated.

Installed:
  epel-release-8-5.el8.noarch                                                                               

Complete!
For CentOS 8
On CentOS 8 it is recommended to also enable the PowerTools repository since EPEL packages may depend on packages from it:
sudo dnf config-manager --set-enabled PowerTools
For RHEL 8
  • on RHEL 8 it is required to also enable the codeready-builder-for-rhel-8-*-rpms repository since EPEL packages may depend on packages from it:
ARCH=$( /bin/arch )
sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-${ARCH}-rpms"

Confirm EPEL installation on CentOS 8 / RHEL 8

You can confirm EPEL repository addition and functionality by running the following command.
$ sudo dnf repolist epel
Updating Subscription Management repositories.
Last metadata expiration check: 0:10:06 ago on Fri 16 Aug 2019 12:50:54 AM EDT.
repo id                                        repo name                                                                              status
*epel                                          Extra Packages for Enterprise Linux 8 - x86_64                                         310
List packages available on EPEL repository.
sudo dnf --disablerepo="*" --enablerepo="epel" list available
You can filter further to check if the required package is available on EPEL repository.
sudo dnf --disablerepo="*" --enablerepo="epel" list available | grep <package>
Example:
$ sudo dnf --disablerepo="*" --enablerepo="epel" list available | grep chromium
 chromium.x86_64                                                     71.0.3578.98-2.el7                                            epel
 chromium-common.x86_64                                              71.0.3578.98-2.el7                                            epel
 chromium-headless.x86_64                                            71.0.3578.98-2.el7                                            epel
 chromium-libs.x86_64                                                71.0.3578.98-2.el7                                            epel
 chromium-libs-media.x86_64                                          71.0.3578.98-2.el7                                            epel
To install package from EPEL repository, just run
sudo dnf --enablerepo="epel" install <package>
Some dependencies may be installed from the Base repositories. There you have it, you can install your favorite packages from the EPEL repository. As of this writing, there are packages available on EPEL 7 repository but not yet on EPEL 8, you may need to be patient as more packages are added daily.

 

Ansible Tower uses Ansible playbook to deploy itself so we also need Ansible installed.
sudo yum -y install ansible vim curl

[root@localhost ~]# mkdir /tmp/tower && cd  /tmp/tower
[root@localhost tower]# sudo dnf -y install python3-pip
Last metadata expiration check: 0:09:59 ago on Wed 15 Jul 2020 07:44:27 AM EDT.
Package python3-pip-9.0.3-16.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost tower]# sudo pip3 install --upgrade pip
WARNING: Running pip install with root privileges is generally not a good idea. Try `pip3 install --user` instead.
Collecting pip
  Downloading https://files.pythonhosted.org/packages/43/84/23ed6a1796480a6f1a2d38f2802901d078266bda38388954d01d3f2e821d/pip-20.1.1-py2.py3-none-any.whl (1.5MB)
    100% |████████████████████████████████| 1.5MB 507kB/s
Installing collected packages: pip
Successfully installed pip-20.1.1

[root@localhost tower]# sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Last metadata expiration check: 0:11:17 ago on Wed 15 Jul 2020 07:44:27 AM EDT.
epel-release-latest-8.noarch.rpm                                                                                                         18 kB/s |  22 kB     00:01
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!


[root@localhost tower]# sudo dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Last metadata expiration check: 0:11:17 ago on Wed 15 Jul 2020 07:44:27 AM EDT.

epel-release-latest-8.noarch.rpm                                                                                                         18 kB/s |  22 kB     00:01
Package epel-release-8-8.el8.noarch is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[root@localhost tower]# sudo dnf install  --enablerepo epel-playground  ansible
Extra Packages for Enterprise Linux 8 - Playground - x86_64                                                                              13 kB/s | 5.7 MB     07:24
Last metadata expiration check: 0:07:14 ago on Wed 15 Jul 2020 07:56:27 AM EDT.
Package ansible-2.9.10-1.el8.noarch is already installed.
Dependencies resolved.
========================================================================================================================================================================
  Package                           Architecture                     Version                                             Repository                                 Size
========================================================================================================================================================================
Upgrading:
  ansible                           noarch                           2.9.10-1.epel8.playground                           epel-playground                            17 M
Transaction Summary
========================================================================================================================================================================
Upgrade  1 Package
Total download size: 17 M
Is this ok [y/N]: y
Downloading Packages:
ansible-2.9.10-1.epel8.playground.noarch.rpm                                                                                            421 kB/s |  17 MB     00:42
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Total                                                                                                                                   414 kB/s |  17 MB     00:42
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                                                                1/1
  Upgrading        : ansible-2.9.10-1.epel8.playground.noarch                                                                                                       1/2
  Cleanup          : ansible-2.9.10-1.el8.noarch                                                                                                                    2/2
  Running scriptlet: ansible-2.9.10-1.el8.noarch                                                                                                                    2/2
  Verifying        : ansible-2.9.10-1.epel8.playground.noarch                                                                                                       1/2
  Verifying        : ansible-2.9.10-1.el8.noarch                                                                                                                    2/2
Installed products updated.
Upgraded:
  ansible-2.9.10-1.epel8.playground.noarch
Complete!


Step 2: Download Ansible Tower archive

Download the latest Ansible Tower release.
mkdir /tmp/tower && cd  /tmp/tower
curl -k -O https://releases.ansible.com/ansible-tower/setup/ansible-tower-setup-latest.tar.gz
Extract downloaded archive.
tar xvf ansible-tower-setup-latest.tar.gz

Step 3: Install Ansible Tower

Navigate to the created directory.
cd ansible-tower-setup*/
Edit inventory file to set required credentials.
$ vim inventory
...........................
[tower]
localhost ansible_connection=local

[database]

[all:vars]
admin_password='AdminPassword'

pg_host=''
pg_port=''

pg_database='awx'
pg_username='awx'
pg_password='PgStrongPassword'

rabbitmq_username=tower
rabbitmq_password='RabbitmqPassword'
rabbitmq_cookie=cookiemonster

# Isolated Tower nodes automatically generate an RSA key for authentication;
# To disable this behavior, set this value to false
# isolated_key_generation=true
When done, start installation of Ansible Tower on CentOS 7.
sudo ./setup.sh
[root@localhost ansible-tower-setup-bundle-3.7.0-4]# ./setup.sh
Using /root/.ansible.cfg as config file
[WARNING]: Could not match supplied host pattern, ignoring: instance_group_*
[WARNING]: Could not match supplied host pattern, ignoring: isolated_group_*
PLAY [tower:database:instance_group_*:isolated_group_*] ****************************************************************************************************************
TASK [check_config_static : Ensure expected variables are defined] *****************************************************************************************************
skipping: [localhost] => (item=tower_package_name)  => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_name", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower_package_version)  => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_version", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower_package_release)  => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_release", "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure cluster hosts are not localhost] ****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that controller uses queue name and not group name] **********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that group names do not conflict with instance names] ********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Detect unsupported HA inventory file] ******************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure at least one tower host is defined] *************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that no instance groups are named tower] *********************************************************************************************
skipping: [localhost] => (item=all)  => {"ansible_loop_var": "item", "changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=ungrouped)  => {"ansible_loop_var": "item", "changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower)  => {"ansible_loop_var": "item", "changed": false, "item": "tower", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=database)  => {"ansible_loop_var": "item", "changed": false, "item": "database", "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure only one database host exists] ******************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure when postgres host is defined that the port is defined] *****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that when a database host is specified, that pg_host is defined] ********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that when a database host is specified, that pg_port is defined] ********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that pg_hashed_password is not set] *************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that if we have web cert, we also have key] *****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Preflight check - verify certificates for Postgres SSL install] ****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : HA mode requires an external postgres database with pg_host defined] ***********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : HA mode requires an external postgres database with pg_port defined] ***********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [config_dynamic : Set database to internal or external] ***********************************************************************************************************
ok: [localhost] => {"ansible_facts": {"config_dynamic_database": "internal"}, "changed": false}
TASK [config_dynamic : Database decision] ******************************************************************************************************************************
ok: [localhost] => {
    "config_dynamic_database": "internal"
}
TASK [config_dynamic : Set postgres host and port to local if not set] *************************************************************************************************
ok: [localhost] => {"ansible_facts": {"pg_host": "127.0.0.1", "pg_port": 5432}, "changed": false}
TASK [config_dynamic : Ensure connectivity to hosts and gather facts] **************************************************************************************************
ok: [localhost]
TASK [config_dynamic : Ensure user is root] ****************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Group nodes by OS distribution] **********************************************************************************************************************************
TASK [Gathering Facts] *************************************************************************************************************************************************
ok: [localhost]
TASK [group hosts by distribution] *************************************************************************************************************************************
ok: [localhost] => {"add_group": "CentOS_8", "changed": false, "parent_groups": ["all"]}
[WARNING]: Could not match supplied host pattern, ignoring: RedHat_7
[WARNING]: Could not match supplied host pattern, ignoring: CentOS_7
[WARNING]: Could not match supplied host pattern, ignoring: RedHat_8
PLAY [Group supported distributions] ***********************************************************************************************************************************
TASK [Retrieve the point in time version (CentOS)] *********************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["sed", "s/CentOS Linux release \\(.*\\)\\..*/\\1/", "/etc/redhat-release"], "delta": "0:00:00.003329", "end": "2020-07-15 07:43:50.669762", "rc": 0, "start": "2020-07-15 07:43:50.666433", "stderr": "", "stderr_lines": [], "stdout": "8.2", "stdout_lines": ["8.2"]}
TASK [Set the proper ansible_distribution_version fact (CentOS)] *******************************************************************************************************
ok: [localhost] => {"ansible_facts": {"ansible_distribution_version": "8.2"}, "changed": false}
TASK [group hosts for supported distributions] *************************************************************************************************************************
ok: [localhost] => {"add_group": "supported", "changed": false, "parent_groups": ["all"]}
[WARNING]: Could not match supplied host pattern, ignoring: none
PLAY [Group deprecated distributions] **********************************************************************************************************************************
skipping: no hosts matched
PLAY [Ensure all node OS distributions are supported] ******************************************************************************************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: deprecated
PLAY [Check for deprecated platforms] **********************************************************************************************************************************
skipping: no hosts matched
PLAY [Define role discovered variables, usable throughout the playbook] ************************************************************************************************
TASK [postgres : include_vars] *****************************************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/../vars/RedHat-8.yml) => {"ansible_facts": {"existing_pg_dir": "/var/lib/pgsql/data", "existing_pg_name": "@postgresql:9.6", "pg_bash": "", "pg_conf_bin": "/var/lib/pgsql/bin", "pg_conf_dir": "/var/lib/pgsql/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "/usr/bin/postgresql-setup initdb", "pg_systemd_name": "postgresql", "postgres_init_name": "postgresql"}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/RedHat-8.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/../vars/RedHat-8.yml"}
TASK [postgres : include_tasks] ****************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : include_tasks] ****************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Sanity check and prep Tower node(s)] *****************************************************************************************************************************
TASK [preflight : Preflight check - require new enough Ansible] ********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Fail if this machine lacks sufficient RAM.] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Get Hard Max FD limit] *************************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": "ulimit -H -n", "delta": "0:00:00.002907", "end": "2020-07-15 07:43:51.312756", "rc": 0, "start": "2020-07-15 07:43:51.309849", "stderr": "", "stderr_lines": [], "stdout": "262144", "stdout_lines": ["262144"]}
TASK [preflight : Preflight check - Verify minimum open fds] ***********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Get /var/log permissions] **********************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"atime": 1594537681.6644392, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 16, "charset": "binary", "ctime": 1594537681.6754394, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 601, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1594537681.6754394, "nlink": 19, "path": "/var/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "474106677", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
TASK [preflight : Preflight check - Does /var/log have appropriate permissions?] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Read in tower version] *************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/awx/.tower_version"}
...ignoring
TASK [preflight : Preflight check - Passwords must be defined for a fresh install] *************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Find mount options for /var, /var/tmp, and /tmp] *****************************************************************************************************
ok: [localhost] => (item=/var) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/var", "msg": ""}
ok: [localhost] => (item=/var/tmp) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/var/tmp", "msg": ""}
ok: [localhost] => (item=/tmp) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/tmp", "msg": ""}
TASK [preflight : Fail if the filesystem is mounted with noexec] *******************************************************************************************************
skipping: [localhost] => (item={'changed': False, 'found': 0, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/proc/mounts (content)', 'after_header': '/proc/mounts (content)'}, {'before_header': '/proc/mounts (file attributes)', 'after_header': '/proc/mounts (file attributes)'}], 'invocation': {'module_args': {'name': '/proc/mounts', 'regexp': ' /var .*noexec', 'state': 'absent', 'path': '/proc/mounts', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'follow': False, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'src': None, 'force': None, 'content': None, 'remote_src': None, 'delimiter': None, 'directory_mode': None, 'unsafe_writes': None}}, 'failed': False, 'item': '/var', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /var .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/var", "msg": ""}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={'changed': False, 'found': 0, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/proc/mounts (content)', 'after_header': '/proc/mounts (content)'}, {'before_header': '/proc/mounts (file attributes)', 'after_header': '/proc/mounts (file attributes)'}], 'invocation': {'module_args': {'name': '/proc/mounts', 'regexp': ' /var/tmp .*noexec', 'state': 'absent', 'path': '/proc/mounts', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'follow': False, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'src': None, 'force': None, 'content': None, 'remote_src': None, 'delimiter': None, 'directory_mode': None, 'unsafe_writes': None}}, 'failed': False, 'item': '/var/tmp', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /var/tmp .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/var/tmp", "msg": ""}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={'changed': False, 'found': 0, 'msg': '', 'backup': '', 'diff': [{'before': '', 'after': '', 'before_header': '/proc/mounts (content)', 'after_header': '/proc/mounts (content)'}, {'before_header': '/proc/mounts (file attributes)', 'after_header': '/proc/mounts (file attributes)'}], 'invocation': {'module_args': {'name': '/proc/mounts', 'regexp': ' /tmp .*noexec', 'state': 'absent', 'path': '/proc/mounts', 'backrefs': False, 'create': False, 'backup': False, 'firstmatch': False, 'follow': False, 'line': None, 'insertafter': None, 'insertbefore': None, 'validate': None, 'mode': None, 'owner': None, 'group': None, 'seuser': None, 'serole': None, 'selevel': None, 'setype': None, 'attributes': None, 'src': None, 'force': None, 'content': None, 'remote_src': None, 'delimiter': None, 'directory_mode': None, 'unsafe_writes': None}}, 'failed': False, 'item': '/tmp', 'ansible_loop_var': 'item'})  => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /tmp .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/tmp", "msg": ""}, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - User must be on Tower 3.5.x to upgrade] ********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license type] **********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license type (detailed)] ***********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license validity for upgrades] *****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license compliance for upgrades] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Ensure rabbitmq_host is not defined] ***********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Install custom CA certificate, if provided] **********************************************************************************************************************
TASK [ca_cert : Copy custom CA cert] ***********************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Prep installation repos] *****************************************************************************************************************************************
TASK [repos_el : include_vars] *****************************************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/repos_el/vars/../vars/default.yml) => {"ansible_facts": {}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/repos_el/vars/default.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/repos_el/vars/../vars/default.yml"}
TASK [repos_el : Check that tower_package_version is set] **************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Install yum repo keys] ********************************************************************************************************************************
TASK [repos_el : Install yum repos that arrive via release packages] ***************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
TASK [repos_el : Install subscription-manager-rhsm-certificates] *******************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
TASK [repos_el : Determine if AWS rhui repository exists] **************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Update rh-amazon-rhui-client (RHEL EC2 only)] *********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Determine RHUI version] *******************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : set_fact] *********************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : set_fact] *********************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Enable AWS rhui repositories] *************************************************************************************************************************
TASK [repos_el : Determine if rhui repository exists] ******************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Enable rhui repositories] *****************************************************************************************************************************
TASK [repos_el : Determine if rhsm repository exists] ******************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Determine if rhsm system cert exists] *****************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Enable rhsm repositories] *****************************************************************************************************************************
TASK [repos_el : Ensure rsync is installed] ****************************************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
TASK [repos_el : Copy bundle packages to repo source directory] ********************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "/usr/bin/rsync --delay-updates -F --compress --delete-after --archive --out-format=<<CHANGED>>%i %n%L /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/repos_el/files/../../../bundle/el8/repos/ /var/lib/tower-bundle", "msg": "cd+++++++++ ./\ncd+++++++++ ansible-tower-dependencies/\n>f+++++++++ ansible-tower-dependencies/ansible-2.9.7-1.el8ae.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/ansible-runner-1.4.6-1.el8ar.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/openshift-clients-4.1.34-202001310309.git.0.125a3c4.1.el8_0.x86_64.rpm\n>f+++++++++ ansible-tower-dependencies/python-meld3-1.0.2-10.el8at.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/python3-ansible-runner-1.4.6-1.el8ar.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/python3-daemon-2.1.2-9.el8ar.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/python3-lockfile-0.11.0-8.el8ar.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/python3-meld3-1.0.2-10.el8at.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/python3-pexpect-4.6-2.el8ar.noarch.rpm\n>f+++++++++ ansible-tower-dependencies/sshpass-1.06-3.el8ae.x86_64.rpm\n>f+++++++++ ansible-tower-dependencies/supervisor-4.0.0.dev0-2.el8at.noarch.rpm\ncd+++++++++ ansible-tower-dependencies/repodata/\n>f+++++++++ ansible-tower-dependencies/repodata/054695101cd3223346b655bbabe362622da38bea7501803e2a83867eea711a87-filelists.xml.gz\n>f+++++++++ ansible-tower-dependencies/repodata/51a3691cee6576c765c0f1cc70b4980eae4d5a0db2c3a7572a20d8ba7550f69a-primary.xml.gz\n>f+++++++++ ansible-tower-dependencies/repodata/5be3854f60463957f66db3a948ebf6911736ba5163692157d3ce6296c2b0d155-other.sqlite.bz2\n>f+++++++++ ansible-tower-dependencies/repodata/9c892c4197a532ef0cf0494209db049032d3f6fba022d0379bd0ce851795f1ff-other.xml.gz\n>f+++++++++ ansible-tower-dependencies/repodata/a885960d372605305a317ce0e74b70e8534adc0b5689394652272e614ebb55e5-filelists.sqlite.bz2\n>f+++++++++ ansible-tower-dependencies/repodata/f5440de58df2d21fa7fd08233a6e0da6fb1062c08dfd1de4092ff6ce20d4b1d0-primary.sqlite.bz2\n>f+++++++++ ansible-tower-dependencies/repodata/repomd.xml\ncd+++++++++ ansible-tower/\n>f+++++++++ ansible-tower/ansible-tower-3.7.0-4.el8at.x86_64.rpm\n>f+++++++++ ansible-tower/ansible-tower-isolated-3.7.0-4.el8at.x86_64.rpm\n>f+++++++++ ansible-tower/ansible-tower-server-3.7.0-4.el8at.x86_64.rpm\n>f+++++++++ ansible-tower/ansible-tower-ui-3.7.0-4.el8at.x86_64.rpm\n>f+++++++++ ansible-tower/ansible-tower-venv-ansible-3.7.0-4.el8at.x86_64.rpm\n>f+++++++++ ansible-tower/ansible-tower-venv-tower-3.7.0-4.el8at.x86_64.rpm\ncd+++++++++ ansible-tower/repodata/\n>f+++++++++ ansible-tower/repodata/0105fe3ed09c9e2b25e0f6408829067b0d6a050412904d792d1c55b053608846-filelists.sqlite.bz2\n>f+++++++++ ansible-tower/repodata/58e377e9697d4b5d4affb81b8f703d9e2a8cbc3a396cc85991a2163d28c8ec18-other.xml.gz\n>f+++++++++ ansible-tower/repodata/8e2e8970a416543c7532ab4ac5fd335e13e79699b2e37cb15413236673953c61-filelists.xml.gz\n>f+++++++++ ansible-tower/repodata/a4feca827ae315d5b4fd0f7b32c77c6e85e2440a87dd3c5c9f2307857f4e96f2-primary.xml.gz\n>f+++++++++ ansible-tower/repodata/ca83f73e41a278b53198b28b34728ecf39523bbc7aea80b9f54d84ad3b8c4a97-primary.sqlite.bz2\n>f+++++++++ ansible-tower/repodata/d9dd38875e5698cce0deba6b83bedf4f5128883cf66a94bf89cc302beb8a01a2-other.sqlite.bz2\n>f+++++++++ ansible-tower/repodata/repomd.xml\n", "rc": 0, "stdout_lines": ["cd+++++++++ ./", "cd+++++++++ ansible-tower-dependencies/", ">f+++++++++ ansible-tower-dependencies/ansible-2.9.7-1.el8ae.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/ansible-runner-1.4.6-1.el8ar.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/openshift-clients-4.1.34-202001310309.git.0.125a3c4.1.el8_0.x86_64.rpm", ">f+++++++++ ansible-tower-dependencies/python-meld3-1.0.2-10.el8at.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/python3-ansible-runner-1.4.6-1.el8ar.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/python3-daemon-2.1.2-9.el8ar.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/python3-lockfile-0.11.0-8.el8ar.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/python3-meld3-1.0.2-10.el8at.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/python3-pexpect-4.6-2.el8ar.noarch.rpm", ">f+++++++++ ansible-tower-dependencies/sshpass-1.06-3.el8ae.x86_64.rpm", ">f+++++++++ ansible-tower-dependencies/supervisor-4.0.0.dev0-2.el8at.noarch.rpm", "cd+++++++++ ansible-tower-dependencies/repodata/", ">f+++++++++ ansible-tower-dependencies/repodata/054695101cd3223346b655bbabe362622da38bea7501803e2a83867eea711a87-filelists.xml.gz", ">f+++++++++ ansible-tower-dependencies/repodata/51a3691cee6576c765c0f1cc70b4980eae4d5a0db2c3a7572a20d8ba7550f69a-primary.xml.gz", ">f+++++++++ ansible-tower-dependencies/repodata/5be3854f60463957f66db3a948ebf6911736ba5163692157d3ce6296c2b0d155-other.sqlite.bz2", ">f+++++++++ ansible-tower-dependencies/repodata/9c892c4197a532ef0cf0494209db049032d3f6fba022d0379bd0ce851795f1ff-other.xml.gz", ">f+++++++++ ansible-tower-dependencies/repodata/a885960d372605305a317ce0e74b70e8534adc0b5689394652272e614ebb55e5-filelists.sqlite.bz2", ">f+++++++++ ansible-tower-dependencies/repodata/f5440de58df2d21fa7fd08233a6e0da6fb1062c08dfd1de4092ff6ce20d4b1d0-primary.sqlite.bz2", ">f+++++++++ ansible-tower-dependencies/repodata/repomd.xml", "cd+++++++++ ansible-tower/", ">f+++++++++ ansible-tower/ansible-tower-3.7.0-4.el8at.x86_64.rpm", ">f+++++++++ ansible-tower/ansible-tower-isolated-3.7.0-4.el8at.x86_64.rpm", ">f+++++++++ ansible-tower/ansible-tower-server-3.7.0-4.el8at.x86_64.rpm", ">f+++++++++ ansible-tower/ansible-tower-ui-3.7.0-4.el8at.x86_64.rpm", ">f+++++++++ ansible-tower/ansible-tower-venv-ansible-3.7.0-4.el8at.x86_64.rpm", ">f+++++++++ ansible-tower/ansible-tower-venv-tower-3.7.0-4.el8at.x86_64.rpm", "cd+++++++++ ansible-tower/repodata/", ">f+++++++++ ansible-tower/repodata/0105fe3ed09c9e2b25e0f6408829067b0d6a050412904d792d1c55b053608846-filelists.sqlite.bz2", ">f+++++++++ ansible-tower/repodata/58e377e9697d4b5d4affb81b8f703d9e2a8cbc3a396cc85991a2163d28c8ec18-other.xml.gz", ">f+++++++++ ansible-tower/repodata/8e2e8970a416543c7532ab4ac5fd335e13e79699b2e37cb15413236673953c61-filelists.xml.gz", ">f+++++++++ ansible-tower/repodata/a4feca827ae315d5b4fd0f7b32c77c6e85e2440a87dd3c5c9f2307857f4e96f2-primary.xml.gz", ">f+++++++++ ansible-tower/repodata/ca83f73e41a278b53198b28b34728ecf39523bbc7aea80b9f54d84ad3b8c4a97-primary.sqlite.bz2", ">f+++++++++ ansible-tower/repodata/d9dd38875e5698cce0deba6b83bedf4f5128883cf66a94bf89cc302beb8a01a2-other.sqlite.bz2", ">f+++++++++ ansible-tower/repodata/repomd.xml"]}
TASK [repos_el : Install the Tower bundle repository] ******************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "3640f929e53b35403388cec7edda2362f1fdec64", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "md5sum": "6c1145071cd945631c5baeaa136b9b2c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_conf_t:s0", "size": 455, "src": "/root/.ansible/tmp/ansible-tmp-1594813445.7605722-1354140-79444716716729/source", "state": "file", "uid": 0}
TASK [repos_el : Remove legacy rabbitmq repository] ********************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Install the Tower yum repository.] ********************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Install postgres database node] **********************************************************************************************************************************
skipping: no hosts matched
PLAY [Install Tower node(s)] *******************************************************************************************************************************************
TASK [set_fact] ********************************************************************************************************************************************************
ok: [localhost] => {"ansible_facts": {"cluster_host": "localhost"}, "changed": false}
TASK [include_role : packages_el] **************************************************************************************************************************************
TASK [packages_el : include packages_el variables] *********************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/vars/../vars/RedHat-8.yml) => {"ansible_facts": {"dnf_modules": ["nginx:1.14"], "el_dependencies": ["python3-psycopg2", "python3-setuptools", "python3-libselinux", "python3-setools", "dnf-utils", "sudo", "acl"], "existing_pg_dir": "/var/lib/pgsql/data", "postgresql_packages": ["postgresql-contrib", "postgresql-server", "postgresql-upgrade96"], "upgrade_postgres": false}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/vars/RedHat-8.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/vars/../vars/RedHat-8.yml"}
TASK [packages_el : Make sure tower_package_version is set] ************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Install playbook dependencies] *********************************************************************************************************************
changed: [localhost] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: libpq-12.1-3.el8.x86_64", "Installed: python3-psycopg2-2.7.5-7.el8.x86_64"]}
TASK [packages_el : Enable required dnf modules] ***********************************************************************************************************************

changed: [localhost] => (item=nginx:1.14) => {"ansible_loop_var": "item", "changed": true, "cmd": "dnf module -y enable nginx:1.14\n", "delta": "0:00:02.538371", "end": "2020-07-15 07:44:18.354494", "item": "nginx:1.14", "rc": 0, "start": "2020-07-15 07:44:15.816123", "stderr": "", "stderr_lines": [], "stdout": "Last metadata expiration check: 0:03:56 ago on Wed 15 Jul 2020 07:40:21 AM EDT.\nDependencies resolved.\n================================================================================\n Package           Architecture     Version             Repository         Size\n================================================================================\nEnabling module streams:\n nginx                              1.14                                       \n\nTransaction Summary\n================================================================================\n\nComplete!", "stdout_lines": ["Last metadata expiration check: 0:03:56 ago on Wed 15 Jul 2020 07:40:21 AM EDT.", "Dependencies resolved.", "================================================================================", " Package           Architecture     Version             Repository         Size", "================================================================================", "Enabling module streams:", " nginx                              1.14                                       ", "", "Transaction Summary", "================================================================================", "", "Complete!"]}
TASK [packages_el : include_tasks] *************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/tasks/install_tower.yml for localhost
TASK [packages_el : Install the Tower RPM.] ****************************************************************************************************************************
changed: [localhost] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: nginx-filesystem-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch", "Installed: nginx-mod-http-image-filter-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: ansible-tower-3.7.0-4.el8at.x86_64", "Installed: nginx-mod-http-perl-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: ansible-tower-server-3.7.0-4.el8at.x86_64", "Installed: ansible-tower-ui-3.7.0-4.el8at.x86_64", "Installed: ansible-tower-venv-ansible-3.7.0-4.el8at.x86_64", "Installed: ansible-tower-venv-tower-3.7.0-4.el8at.x86_64", "Installed: nginx-mod-http-xslt-filter-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: nginx-mod-mail-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: openshift-clients-4.1.34-202001310309.git.0.125a3c4.1.el8_0.x86_64", "Installed: nginx-mod-stream-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: postgresql-10.6-1.module_el8.0.0+15+f57f353b.x86_64", "Installed: perl-Git-2.18.4-2.el8_2.noarch", "Installed: perl-TermReadKey-2.37-7.el8.x86_64", "Installed: libserf-1.3.9-8.module_el8.0.0+45+75bba4f4.x86_64", "Installed: git-2.18.4-2.el8_2.x86_64", "Installed: git-core-doc-2.18.4-2.el8_2.noarch", "Installed: redis-5.0.3-2.module_el8.2.0+318+3d7e67ea.x86_64", "Installed: utf8proc-2.1.1-4.module_el8.0.0+45+75bba4f4.x86_64", "Installed: memcached-1.5.9-3.el8.x86_64", "Installed: mercurial-4.8.2-1.module_el8.0.0+40+715dddeb.x86_64", "Installed: supervisor-4.2.0-1.el8.noarch", "Installed: libcgroup-tools-0.41-19.el8.x86_64", "Installed: perl-Error-1:0.17025-2.el8.noarch", "Installed: subversion-1.10.2-1.module_el8.0.0+45+75bba4f4.x86_64", "Installed: subversion-libs-1.10.2-1.module_el8.0.0+45+75bba4f4.x86_64", "Installed: nginx-1:1.14.1-9.module_el8.0.0+184+e34fea82.x86_64", "Installed: nginx-all-modules-1:1.14.1-9.module_el8.0.0+184+e34fea82.noarch"]}
TASK [packages_el : Upgrade Ansible] ***********************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Upgrade dependencies] ******************************************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
TASK [packages_el : include_tasks] *************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/tasks/uninstall_rabbit.yml for localhost
TASK [packages_el : Uninstall rabbitmq package] ************************************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "Nothing to do", "rc": 0, "results": []}
TASK [packages_el : Remove rabbitmq config directory (i.e. certs, config, etc.)] ***************************************************************************************
ok: [localhost] => {"changed": false, "path": "/etc/rabbitmq", "state": "absent"}
TASK [packages_el : include_tasks] *************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/packages_el/tasks/install_postgres.yml for localhost
TASK [packages_el : Check for old Postgres data] ***********************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [packages_el : Read PG_VERSION file contents] *********************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Check if Postgres has already been upgraded] *******************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [packages_el : Determine if we should upgrade Postgres] ***********************************************************************************************************
ok: [localhost] => {"ansible_facts": {"upgrade_postgres": false}, "changed": false}
TASK [packages_el : Install postgres [RHEL7]] **************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Enable Postgres SCL for login shells] **************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Enable postgresql 10 dnf modules] ******************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "dnf module -y enable 'postgresql:10'\n", "delta": "0:00:02.222683", "end": "2020-07-15 07:49:02.792105", "rc": 0, "start": "2020-07-15 07:49:00.569422", "stderr": "", "stderr_lines": [], "stdout": "Last metadata expiration check: 0:04:34 ago on Wed 15 Jul 2020 07:44:27 AM EDT.\nDependencies resolved.\nNothing to do.\nComplete!", "stdout_lines": ["Last metadata expiration check: 0:04:34 ago on Wed 15 Jul 2020 07:44:27 AM EDT.", "Dependencies resolved.", "Nothing to do.", "Complete!"]}
TASK [packages_el : Install Postgresql [RHEL8]] ************************************************************************************************************************
changed: [localhost] => {"changed": true, "msg": "", "rc": 0, "results": ["Installed: postgresql-server-10.6-1.module_el8.0.0+15+f57f353b.x86_64"]}
TASK [packages_el : include] *******************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [redis : include_vars] ********************************************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/redis/vars/../vars/default.yml) => {"ansible_facts": {"redis_conf_dir": "/var/lib/redis", "redis_conf_location": "/etc/redis.conf", "redis_conf_logfile": "/var/log/redis/redis.log", "redis_init_name": "redis"}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/redis/vars/default.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/redis/vars/../vars/default.yml"}
TASK [redis : Ensure redis socket directory exists] ********************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 971, "group": "redis", "mode": "0750", "owner": "redis", "path": "/var/run/redis", "secontext": "unconfined_u:object_r:var_run_t:s0", "size": 40, "state": "directory", "uid": 971}
TASK [redis : Ensure Redis socket directory has the correct SELinux context] *******************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "restorecon -R /var/run/redis", "delta": "0:00:00.014234", "end": "2020-07-15 07:49:17.750710", "rc": 0, "start": "2020-07-15 07:49:17.736476", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [redis : Create tmpfiles.d entry for redis socket directory] ******************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "c5d7385e785eaabd7bbafec54648dcbd472f8f13", "dest": "/etc/tmpfiles.d/redis.conf", "gid": 0, "group": "root", "md5sum": "065d29a09102fe6bc9ec2104d179ab7b", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813757.8584993-1375266-170851561705750/source", "state": "file", "uid": 0}
TASK [redis : add awx to the redis group so it can access the socket] **************************************************************************************************
changed: [localhost] => {"append": true, "changed": true, "comment": "", "group": 968, "groups": "redis", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 968}
TASK [redis : Install Tower redis.conf] ********************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "80d6adc3439589d28553a66ddbd5bbfb60d49812", "dest": "/etc/redis.conf", "gid": 0, "group": "root", "md5sum": "220c4e57c815672f466cf94c6c18f328", "mode": "0640", "owner": "redis", "secontext": "system_u:object_r:etc_t:s0", "size": 61887, "src": "/root/.ansible/tmp/ansible-tmp-1594813759.9032953-1376232-84327210307869/source", "state": "file", "uid": 971}
TASK [redis : start redis and configure to startup automatically] ******************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "redis", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target network.target systemd-journald.socket basic.target -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Redis persistent key-value database", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/redis.service.d/limit.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/redis-server ; argv[]=/usr/bin/redis-server /etc/redis.conf --supervised systemd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/libexec/redis-shutdown ; argv[]=/usr/libexec/redis-shutdown ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/redis.service", "GID": "[not set]", "Group": "redis", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "redis.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "10240", "LimitNOFILESoft": "10240", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "redis.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target -.mount", "RequiresMountsFor": "/run/redis", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "redis", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "redis", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [postgres : include_vars] *****************************************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/../vars/RedHat-8.yml) => {"ansible_facts": {"existing_pg_dir": "/var/lib/pgsql/data", "existing_pg_name": "@postgresql:9.6", "pg_bash": "", "pg_conf_bin": "/var/lib/pgsql/bin", "pg_conf_dir": "/var/lib/pgsql/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "/usr/bin/postgresql-setup initdb", "pg_systemd_name": "postgresql", "postgres_init_name": "postgresql"}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/RedHat-8.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/vars/../vars/RedHat-8.yml"}
TASK [postgres : include_tasks] ****************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/tasks/init.yml for localhost
TASK [postgres : init postgresql] **************************************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["/usr/bin/postgresql-setup", "initdb"], "delta": "0:00:20.522650", "end": "2020-07-15 07:49:43.014394", "rc": 0, "start": "2020-07-15 07:49:22.491744", "stderr": "WARNING: using obsoleted argument syntax, try --help\nWARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql\n * Initializing database in '/var/lib/pgsql/data'\n * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log", "stderr_lines": ["WARNING: using obsoleted argument syntax, try --help", "WARNING: arguments transformed to: postgresql-setup --initdb --unit postgresql", " * Initializing database in '/var/lib/pgsql/data'", " * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log"], "stdout": "", "stdout_lines": []}
TASK [postgres : Make sure PostgreSQL is started] **********************************************************************************************************************
changed: [localhost] => {"changed": true, "name": "postgresql", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [postgres : Wait for PostgreSQL to start if it wasnt] *************************************************************************************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "match_groupdict": {}, "match_groups": [], "path": null, "port": 5432, "search_regex": null, "state": "started"}
TASK [postgres : include_tasks] ****************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/postgres/tasks/conf.yml for localhost
TASK [postgres : Update postgresql authentication settings] ************************************************************************************************************

changed: [localhost] => {"changed": true, "checksum": "f55a86579e0e9a123b6c93f8317b83de1dc20d1a", "dest": "/var/lib/pgsql/data/pg_hba.conf", "gid": 26, "group": "postgres", "md5sum": "ec56982139414a104c26adf3a82d7a04", "mode": "0600", "owner": "postgres", "secontext": "unconfined_u:object_r:postgresql_db_t:s0", "size": 487, "src": "/root/.ansible/tmp/ansible-tmp-1594813784.5855272-1382073-44957452400221/source", "state": "file", "uid": 26}
TASK [postgres : Apply postgresql general settings] ********************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "d52c4f8ef70777fde9c49d391efc5dc3ada65b58", "dest": "/var/lib/pgsql/data/postgresql.conf", "gid": 26, "group": "postgres", "md5sum": "52b3f9122a9ca4dcbd26a6f12032979d", "mode": "0600", "owner": "postgres", "secontext": "unconfined_u:object_r:postgresql_db_t:s0", "size": 3907, "src": "/root/.ansible/tmp/ansible-tmp-1594813785.508019-1382277-227951658820086/source", "state": "file", "uid": 26}
TASK [postgres : Copy server SSL certificate] **************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : Copy server SSL private key] **************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : Create unix socket directory] *************************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 26, "group": "postgres", "mode": "02775", "owner": "postgres", "path": "/var/run/postgresql", "secontext": "system_u:object_r:postgresql_var_run_t:s0", "size": 80, "state": "directory", "uid": 26}
TASK [postgres : Configure postgresql tmpfiles.d] **********************************************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "241b3dff32ef1ee86c424ac3e1bf8a10217a55d5", "dest": "/usr/lib/tmpfiles.d/postgresql.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/usr/lib/tmpfiles.d/postgresql.conf", "secontext": "system_u:object_r:lib_t:s0", "size": 47, "state": "file", "uid": 0}
TASK [postgres : restart postgresql when authentication settings changed] **********************************************************************************************
changed: [localhost] => {"changed": true, "name": "postgresql", "state": "started", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:49:43 EDT", "ActiveEnterTimestampMonotonic": "661974140165", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:49:43 EDT", "AssertTimestampMonotonic": "661974010243", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:49:43 EDT", "ConditionTimestampMonotonic": "661974010243", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1381421", "ExecMainStartTimestamp": "Wed 2020-07-15 07:49:43 EDT", "ExecMainStartTimestampMonotonic": "661974023948", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:49:43 EDT] ; stop_time=[n/a] ; pid=1381421 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:49:43 EDT] ; stop_time=[Wed 2020-07-15 07:49:43 EDT] ; pid=1381418 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2020-07-15 07:49:43 EDT", "InactiveExitTimestampMonotonic": "661974012243", "InvocationID": "a3ab2bb1fcea4e58be3f5c97f0907561", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1381421", "MemoryAccounting": "yes", "MemoryCurrent": "17510400", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:49:43 EDT", "StateChangeTimestampMonotonic": "661974140165", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestamp": "Wed 2020-07-15 07:49:43 EDT", "WatchdogTimestampMonotonic": "661974140163", "WatchdogUSec": "0"}}
TASK [postgres : wait for postgresql restart] **************************************************************************************************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "match_groupdict": {}, "match_groups": [], "path": null, "port": 5432, "search_regex": null, "state": "started"}
TASK [postgres : configure postgresql to start automatically] **********************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "postgresql", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:49:48 EDT", "ActiveEnterTimestampMonotonic": "661978642002", "ActiveExitTimestamp": "Wed 2020-07-15 07:49:47 EDT", "ActiveExitTimestampMonotonic": "661978273951", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:49:47 EDT", "AssertTimestampMonotonic": "661978420191", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:49:47 EDT", "ConditionTimestampMonotonic": "661978420191", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1383181", "ExecMainStartTimestamp": "Wed 2020-07-15 07:49:47 EDT", "ExecMainStartTimestampMonotonic": "661978436667", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:49:47 EDT] ; stop_time=[n/a] ; pid=1383181 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:49:47 EDT] ; stop_time=[Wed 2020-07-15 07:49:47 EDT] ; pid=1383169 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2020-07-15 07:49:47 EDT", "InactiveEnterTimestampMonotonic": "661978418827", "InactiveExitTimestamp": "Wed 2020-07-15 07:49:47 EDT", "InactiveExitTimestampMonotonic": "661978422684", "InvocationID": "1043f5b1328047fdae46c1e3cab4f97f", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1383181", "MemoryAccounting": "yes", "MemoryCurrent": "47321088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:49:48 EDT", "StateChangeTimestampMonotonic": "661978642002", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestamp": "Wed 2020-07-15 07:49:48 EDT", "WatchdogTimestampMonotonic": "661978641999", "WatchdogUSec": "0"}}
TASK [postgres : check if pg user exists] ******************************************************************************************************************************

[WARNING]: could not parse environment value, skipping: ['{{ extra_env | default(omit) }}']
changed: [localhost] => {"changed": true, "cmd": ["psql", "-tAc", "SELECT COUNT(u.usename) FROM pg_catalog.pg_user u WHERE u.usename = 'awx';"], "delta": "0:00:00.034265", "end": "2020-07-15 07:49:50.048020", "rc": 0, "start": "2020-07-15 07:49:50.013755", "stderr": "", "stderr_lines": [], "stdout": "0", "stdout_lines": ["0"]}
TASK [postgres : create the awx postgres user if it does not exist and set the password] *******************************************************************************
[WARNING]: could not parse environment value, skipping: ['{{ extra_env | default(omit) }}']
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [postgres : Set postgres user password again to ensure scram-sha-256 is used (needed for upgrades from 3.5.x and earlier)] ****************************************
[WARNING]: could not parse environment value, skipping: ['{{ extra_env | default(omit) }}']
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [postgres : create the postgresql database for awx] ***************************************************************************************************************
changed: [localhost] => {"changed": true, "db": "awx"}
TASK [firewall : Determine if firewalld is running] ********************************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["firewall-cmd", "--state"], "delta": "0:00:00.511555", "end": "2020-07-15 07:49:53.232180", "failed_when_result": false, "rc": 0, "start": "2020-07-15 07:49:52.720625", "stderr": "", "stderr_lines": [], "stdout": "running", "stdout_lines": ["running"]}
TASK [firewall : Determine if firewalld is enabled] ********************************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["systemctl", "list-unit-files"], "delta": "0:00:02.470819", "end": "2020-07-15 07:49:56.194773", "rc": 0, "start": "2020-07-15 07:49:53.723954", "stderr": "", "stderr_lines": [], "stdout": "UNIT FILE                                     STATE    \nproc-sys-fs-binfmt_misc.automount             static   \n-.mount                                       generated\nboot.mount                                    generated\ndev-hugepages.mount                           static   \ndev-mqueue.mount                              static   \nproc-fs-nfsd.mount                            static   \nproc-sys-fs-binfmt_misc.mount                 static   \nsys-fs-fuse-connections.mount                 static   \nsys-kernel-config.mount                       static   \nsys-kernel-debug.mount                        static   \ntmp.mount                                     disabled \nvar-lib-machines.mount                        static   \nvar-lib-nfs-rpc_pipefs.mount                  static   \ncups.path                                     enabled  \nostree-finalize-staged.path                   disabled \nsystemd-ask-password-console.path             static   \nsystemd-ask-password-plymouth.path            static   \nsystemd-ask-password-wall.path                static   \nsession-15.scope                              transient\nsession-2.scope                               transient\nsession-5.scope                               transient\nsession-6.scope                               transient\nsession-9.scope                               transient\nsession-c1.scope                              transient\naccounts-daemon.service                       enabled  \nalsa-restore.service                          static   \nalsa-state.service                            static   \nanaconda-direct.service                       static   \nanaconda-nm-config.service                    static   \nanaconda-noshell.service                      static   \nanaconda-pre.service                          static   \nanaconda-shell@.service                       static   \nanaconda-sshd.service                         static   \nanaconda-tmux@.service                        static   \nanaconda.service                              static   \nansible-tower.service                         disabled \narp-ethers.service                            disabled \natd.service                                   enabled  \nauditd.service                                enabled  \nauth-rpcgss-module.service                    static   \nautofs.service                                disabled \nautovt@.service                               enabled  \navahi-daemon.service                          enabled  \nblivet.service                                static   \nblk-availability.service                      disabled \nbluetooth.service                             enabled  \nbolt.service                                  static   \nbrltty.service                                disabled \nbtattach-bcm@.service                         static   \ncanberra-system-bootup.service                disabled \ncanberra-system-shutdown-reboot.service       disabled \ncanberra-system-shutdown.service              disabled \ncertmonger.service                            disabled \ncgconfig.service                              disabled \nchrony-dnssrv@.service                        static   \nchrony-wait.service                           disabled \nchronyd.service                               enabled  \nclean-mount-point@.service                    static   \ncockpit-motd.service                          static   \ncockpit-wsinstance-http-redirect.service      static   \ncockpit-wsinstance-http.service               static   \ncockpit-wsinstance-https-factory@.service     static   \ncockpit-wsinstance-https@.service             static   \ncockpit.service                               static   \ncolord.service                                static   \nconfigure-printer@.service                    static   \nconsole-getty.service                         disabled \ncontainer-getty@.service                      static   \ncontainerd.service                            disabled \ncpupower.service                              disabled \ncrond.service                                 enabled  \ncups-browsed.service                          disabled \ncups.service                                  enabled  \ndbus-org.bluez.service                        enabled  \ndbus-org.fedoraproject.FirewallD1.service     enabled  \ndbus-org.freedesktop.Avahi.service            enabled  \ndbus-org.freedesktop.hostname1.service        static   \ndbus-org.freedesktop.import1.service          static   \ndbus-org.freedesktop.locale1.service          static   \ndbus-org.freedesktop.login1.service           static   \ndbus-org.freedesktop.machine1.service         static   \ndbus-org.freedesktop.ModemManager1.service    enabled  \ndbus-org.freedesktop.nm-dispatcher.service    enabled  \ndbus-org.freedesktop.portable1.service        static   \ndbus-org.freedesktop.resolve1.service         enabled  \ndbus-org.freedesktop.timedate1.service        enabled  \ndbus.service                                  static   \ndebug-shell.service                           disabled \ndisplay-manager.service                       enabled  \ndm-event.service                              static   \ndnf-makecache.service                         static   \ndnsmasq.service                               disabled \ndocker.service                                enabled  \ndracut-cmdline.service                        static   \ndracut-initqueue.service                      static   \ndracut-mount.service                          static   \ndracut-pre-mount.service                      static   \ndracut-pre-pivot.service                      static   \ndracut-pre-trigger.service                    static   \ndracut-pre-udev.service                       static   \ndracut-shutdown.service                       static   \nebtables.service                              disabled \nemergency.service                             static   \nfirewalld.service                             enabled  \nflatpak-system-helper.service                 static   \nfprintd.service                               static   \nfstrim.service                                static   \nfwupd-offline-update.service                  static   \nfwupd.service                                 static   \ngdm.service                                   enabled  \ngeoclue.service                               static   \ngetty@.service                                enabled  \ngrub-boot-indeterminate.service               static   \ngssproxy.service                              disabled \nhalt-local.service                            static   \nhypervfcopyd.service                          static   \nhypervkvpd.service                            static   \nhypervvssd.service                            static   \niio-sensor-proxy.service                      static   \nimport-state.service                          enabled  \ninitial-setup-reconfiguration.service         disabled \ninitial-setup.service                         disabled \ninitrd-cleanup.service                        static   \ninitrd-parse-etc.service                      static   \ninitrd-switch-root.service                    static   \ninitrd-udevadm-cleanup-db.service             static   \ninstperf.service                              static   \nio.podman.service                             disabled \niprdump.service                               disabled \niprinit.service                               disabled \niprupdate.service                             disabled \nirqbalance.service                            enabled  \niscsi-onboot.service                          enabled  \niscsi-shutdown.service                        static   \niscsi.service                                 enabled  \niscsid.service                                disabled \niscsiuio.service                              disabled \nkdump.service                                 enabled  \nkmod-static-nodes.service                     static   \nkpatch.service                                disabled \nksm.service                                   enabled  \nksmtuned.service                              enabled  \nldconfig.service                              static   \nledmon.service                                disabled \nlibstoragemgmt.service                        enabled  \nlibvirtd.service                              enabled  \nloadmodules.service                           enabled  \nlvm2-lvmpolld.service                         static   \nlvm2-monitor.service                          enabled  \nlvm2-pvscan@.service                          static   \nman-db-cache-update.service                   static   \nmcelog.service                                enabled  \nmdadm-grow-continue@.service                  static   \nmdadm-last-resort@.service                    static   \nmdcheck_continue.service                      static   \nmdcheck_start.service                         static   \nmdmon@.service                                static   \nmdmonitor-oneshot.service                     static   \nmdmonitor.service                             enabled  \nmemcached.service                             disabled \nmessagebus.service                            static   \nmicrocode.service                             enabled  \nmlocate-updatedb.service                      static   \nModemManager.service                          enabled  \nmultipathd.service                            enabled  \nndctl-monitor.service                         disabled \nnetcf-transaction.service                     enabled  \nNetworkManager-dispatcher.service             enabled  \nNetworkManager-wait-online.service            enabled  \nNetworkManager.service                        enabled  \nnfs-blkmap.service                            disabled \nnfs-convert.service                           enabled  \nnfs-idmapd.service                            static   \nnfs-mountd.service                            static   \nnfs-server.service                            disabled \nnfs-utils.service                             static   \nnftables.service                              disabled \nnginx.service                                 disabled \nnis-domainname.service                        enabled  \nnumad.service                                 disabled \noddjobd.service                               disabled \nostree-finalize-staged.service                static   \nostree-prepare-root.service                   static   \nostree-remount.service                        disabled \npackagekit-offline-update.service             static   \npackagekit.service                            static   \nplymouth-halt.service                         static   \nplymouth-kexec.service                        static   \nplymouth-poweroff.service                     static   \nplymouth-quit-wait.service                    static   \nplymouth-quit.service                         static   \nplymouth-read-write.service                   static   \nplymouth-reboot.service                       static   \nplymouth-start.service                        static   \nplymouth-switch-root.service                  static   \npolkit.service                                static   \npostfix.service                               disabled \npostgresql.service                            enabled  \npostgresql@.service                           disabled \nprometheus.service                            disabled \npsacct.service                                disabled \nqemu-guest-agent.service                      disabled \nqemu-pr-helper.service                        static   \nquotaon.service                               static   \nradvd.service                                 disabled \nras-mc-ctl.service                            disabled \nrasdaemon.service                             disabled \nrc-local.service                              static   \nrdisc.service                                 disabled \nrdma-load-modules@.service                    static   \nrdma-ndd.service                              static   \nrdma.service                                  disabled \nrealmd.service                                static   \nredis-sentinel.service                        disabled \nredis.service                                 enabled  \nrescue.service                                static   \nrhsm-facts.service                            disabled \nrhsm.service                                  disabled \nrhsmcertd.service                             enabled  \nrngd-wake-threshold.service                   disabled \nrngd.service                                  enabled  \nrpc-gssd.service                              static   \nrpc-statd-notify.service                      static   \nrpc-statd.service                             static   \nrpcbind.service                               enabled  \nrsyslog.service                               enabled  \nrtkit-daemon.service                          enabled  \nrun-r21ead6a6bb294dac892318c442b00be0.service transient\nrun-r7fb939a5435a42c2aaaef890533e0e41.service transient\nsaslauthd.service                             disabled \nselinux-autorelabel-mark.service              enabled  \nselinux-autorelabel.service                   static   \nserial-getty@.service                         disabled \nsmartd.service                                enabled  \nspeech-dispatcherd.service                    disabled \nspice-vdagentd.service                        indirect \nsshd-keygen@.service                          disabled \nsshd.service                                  enabled  \nsshd@.service                                 static   \nsssd-autofs.service                           indirect \nsssd-ifp.service                              static   \nsssd-kcm.service                              indirect \nsssd-nss.service                              indirect \nsssd-pac.service                              indirect \nsssd-pam.service                              indirect \nsssd-ssh.service                              indirect \nsssd-sudo.service                             indirect \nsssd.service                                  enabled  \nsupervisord.service                           disabled \nsvnserve.service                              disabled \nswitcheroo-control.service                    disabled \nsyslog.service                                enabled  \nsystem-update-cleanup.service                 static   \nsystemd-ask-password-console.service          static   \nsystemd-ask-password-plymouth.service         static   \nsystemd-ask-password-wall.service             static   \nsystemd-backlight@.service                    static   \nsystemd-binfmt.service                        static   \nsystemd-coredump@.service                     static   \nsystemd-exit.service                          static   \nsystemd-firstboot.service                     static   \nsystemd-fsck-root.service                     static   \nsystemd-fsck@.service                         static   \nsystemd-halt.service                          static   \nsystemd-hibernate-resume@.service             static   \nsystemd-hibernate.service                     static   \nsystemd-hostnamed.service                     static   \nsystemd-hwdb-update.service                   static   \nsystemd-hybrid-sleep.service                  static   \nsystemd-importd.service                       static   \nsystemd-initctl.service                       static   \nsystemd-journal-catalog-update.service        static   \nsystemd-journal-flush.service                 static   \nsystemd-journald.service                      static   \nsystemd-kexec.service                         static   \nsystemd-localed.service                       static   \nsystemd-logind.service                        static   \nsystemd-machine-id-commit.service             static   \nsystemd-machined.service                      static   \nsystemd-modules-load.service                  static   \nsystemd-nspawn@.service                       disabled \nsystemd-portabled.service                     static   \nsystemd-poweroff.service                      static   \nsystemd-quotacheck.service                    static   \nsystemd-random-seed.service                   static   \nsystemd-reboot.service                        static   \nsystemd-remount-fs.service                    static   \nsystemd-resolved.service                      enabled  \nsystemd-rfkill.service                        static   \nsystemd-suspend-then-hibernate.service        static   \nsystemd-suspend.service                       static   \nsystemd-sysctl.service                        static   \nsystemd-sysusers.service                      static   \nsystemd-timedated.service                     masked   \nsystemd-tmpfiles-clean.service                static   \nsystemd-tmpfiles-setup-dev.service            static   \nsystemd-tmpfiles-setup.service                static   \nsystemd-udev-settle.service                   static   \nsystemd-udev-trigger.service                  static   \nsystemd-udevd.service                         static   \nsystemd-update-done.service                   static   \nsystemd-update-utmp-runlevel.service          static   \nsystemd-update-utmp.service                   static   \nsystemd-user-sessions.service                 static   \nsystemd-vconsole-setup.service                static   \nsystemd-volatile-root.service                 static   \ntcsd.service                                  disabled \nteamd@.service                                static   \ntimedatex.service                             enabled  \ntuned.service                                 enabled  \nudisks2.service                               enabled  \nunbound-anchor.service                        static   \nupower.service                                disabled \nusb_modeswitch@.service                       static   \nusbmuxd.service                               static   \nuser-runtime-dir@.service                     static   \nuser@.service                                 static   \nvdo.service                                   enabled  \nvgauthd.service                               enabled  \nvirtlockd.service                             indirect \nvirtlogd.service                              indirect \nvmtoolsd.service                              enabled  \nwacom-inputattach@.service                    static   \nwpa_supplicant.service                        disabled \nzram.service                                  static   \nmachine.slice                                 static   \nsystem-cockpithttps.slice                     static   \nuser.slice                                    static   \navahi-daemon.socket                           enabled  \ncockpit-wsinstance-http-redirect.socket       static   \ncockpit-wsinstance-http.socket                static   \ncockpit-wsinstance-https-factory.socket       static   \ncockpit-wsinstance-https@.socket              static   \ncockpit.socket                                enabled  \ncups.socket                                   enabled  \ndbus.socket                                   static   \ndm-event.socket                               enabled  \ndocker.socket                                 disabled \nio.podman.socket                              enabled  \niscsid.socket                                 enabled  \niscsiuio.socket                               enabled  \nlvm2-lvmpolld.socket                          enabled  \nmultipathd.socket                             enabled  \nqemu-pr-helper.socket                         disabled \nrpcbind.socket                                enabled  \nspice-vdagentd.socket                         static   \nsshd.socket                                   disabled \nsssd-autofs.socket                            disabled \nsssd-kcm.socket                               enabled  \nsssd-nss.socket                               disabled \nsssd-pac.socket                               disabled \nsssd-pam-priv.socket                          disabled \nsssd-pam.socket                               disabled \nsssd-ssh.socket                               disabled \nsssd-sudo.socket                              disabled \nsyslog.socket                                 static   \nsystemd-coredump.socket                       static   \nsystemd-initctl.socket                        static   \nsystemd-journald-audit.socket                 static   \nsystemd-journald-dev-log.socket               static   \nsystemd-journald.socket                       static   \nsystemd-rfkill.socket                         static   \nsystemd-udevd-control.socket                  static   \nsystemd-udevd-kernel.socket                   static   \nvirtlockd-admin.socket                        disabled \nvirtlockd.socket                              enabled  \nvirtlogd-admin.socket                         disabled \nvirtlogd.socket                               enabled  \ndev-mapper-cl\\x2dswap.swap                    generated\nanaconda.target                               static   \nbasic.target                                  static   \nbluetooth.target                              static   \ncryptsetup-pre.target                         static   \ncryptsetup.target                             static   \nctrl-alt-del.target                           disabled \ndefault.target                                indirect \nemergency.target                              static   \nexit.target                                   disabled \nfinal.target                                  static   \ngetty-pre.target                              static   \ngetty.target                                  static   \ngraphical.target                              indirect \nhalt.target                                   disabled \nhibernate.target                              static   \nhybrid-sleep.target                           static   \ninitrd-fs.target                              static   \ninitrd-root-device.target                     static   \ninitrd-root-fs.target                         static   \ninitrd-switch-root.target                     static   \ninitrd.target                                 static   \niprutils.target                               disabled \nkexec.target                                  disabled \nlocal-fs-pre.target                           static   \nlocal-fs.target                               static   \nmachines.target                               disabled \nmulti-user.target                             static   \nnetwork-online.target                         static   \nnetwork-pre.target                            static   \nnetwork.target                                static   \nnfs-client.target                             enabled  \nnss-lookup.target                             static   \nnss-user-lookup.target                        static   \npaths.target                                  static   \npoweroff.target                               disabled \nprinter.target                                static   \nrdma-hw.target                                static   \nreboot.target                                 disabled \nremote-cryptsetup.target                      disabled \nremote-fs-pre.target                          static   \nremote-fs.target                              enabled  \nrescue.target                                 static   \nrpc_pipefs.target                             static   \nrpcbind.target                                static   \nrunlevel0.target                              disabled \nrunlevel1.target                              static   \nrunlevel2.target                              static   \nrunlevel3.target                              static   \nrunlevel4.target                              static   \nrunlevel5.target                              indirect \nrunlevel6.target                              disabled \nselinux-autorelabel.target                    static   \nshutdown.target                               static   \nsigpwr.target                                 static   \nsleep.target                                  static   \nslices.target                                 static   \nsmartcard.target                              static   \nsockets.target                                static   \nsound.target                                  static   \nsshd-keygen.target                            static   \nsuspend-then-hibernate.target                 static   \nsuspend.target                                static   \nswap.target                                   static   \nsysinit.target                                static   \nsystem-update-pre.target                      static   \nsystem-update.target                          static   \ntime-sync.target                              static   \ntimers.target                                 static   \numount.target                                 static   \nvirt-guest-shutdown.target                    static   \nchrony-dnssrv@.timer                          disabled \ndnf-makecache.timer                           enabled  \nfstrim.timer                                  disabled \nmdadm-last-resort@.timer                      static   \nmdcheck_continue.timer                        disabled \nmdcheck_start.timer                           disabled \nmdmonitor-oneshot.timer                       disabled \nmlocate-updatedb.timer                        disabled \nsystemd-tmpfiles-clean.timer                  static   \nunbound-anchor.timer                          enabled  \n\n449 unit files listed.", "stdout_lines": ["UNIT FILE                                     STATE    ", "proc-sys-fs-binfmt_misc.automount             static   ", "-.mount                                       generated", "boot.mount                                    generated", "dev-hugepages.mount                           static   ", "dev-mqueue.mount                              static   ", "proc-fs-nfsd.mount                            static   ", "proc-sys-fs-binfmt_misc.mount                 static   ", "sys-fs-fuse-connections.mount                 static   ", "sys-kernel-config.mount                       static   ", "sys-kernel-debug.mount                        static   ", "tmp.mount                                     disabled ", "var-lib-machines.mount                        static   ", "var-lib-nfs-rpc_pipefs.mount                  static   ", "cups.path                                     enabled  ", "ostree-finalize-staged.path                   disabled ", "systemd-ask-password-console.path             static   ", "systemd-ask-password-plymouth.path            static   ", "systemd-ask-password-wall.path                static   ", "session-15.scope                              transient", "session-2.scope                               transient", "session-5.scope                               transient", "session-6.scope                               transient", "session-9.scope                               transient", "session-c1.scope                              transient", "accounts-daemon.service                       enabled  ", "alsa-
restore.service                          static   ", "alsa-state.service                            static   ", "anaconda-direct.service                       static   ", "anaconda-nm-config.service                    static   ", "anaconda-noshell.service                      static   ", "anaconda-pre.service                          static   ", "anaconda-shell@.service                       static   ", "anaconda-sshd.service                         static   ", "anaconda-tmux@.service                        static   ", "anaconda.service                              static   ", "ansible-tower.service                         disabled ", "arp-ethers.service                            disabled ", "atd.service                                   enabled  ", "auditd.service                                enabled  ", "auth-rpcgss-module.service                    static   ", "autofs.service                                disabled ", "autovt@.service                               enabled  ", "avahi-daemon.service                          enabled  ", "blivet.service                                static   ", "blk-availability.service                      disabled ", "bluetooth.service                             enabled  ", "bolt.service                                  static   ", "brltty.service                                disabled ", "btattach-bcm@.service                         static   ", "canberra-system-bootup.service                disabled ", "canberra-system-shutdown-reboot.service       disabled ", "canberra-system-shutdown.service              disabled ", "certmonger.service                            disabled ", "cgconfig.service                              disabled ", "chrony-dnssrv@.service                        static   ", "chrony-wait.service                           disabled ", "chronyd.service                               enabled  ", "clean-mount-point@.service                    static   ", "cockpit-motd.service                          static   ", "cockpit-wsinstance-http-redirect.service      static   ", "cockpit-wsinstance-http.service               static   ", "cockpit-wsinstance-https-factory@.service     static   ", "cockpit-wsinstance-https@.service             static   ", "cockpit.service                               static   ", "colord.service                                static   ", "configure-printer@.service                    static   ", "console-getty.service                         disabled ", "container-getty@.service                      static   ", "containerd.service                            disabled ", "cpupower.service                              disabled ", "crond.service                                 enabled  ", "cups-browsed.service                          disabled ", "cups.service                                  enabled  ", "dbus-org.bluez.service                        enabled  ", "dbus-org.fedoraproject.FirewallD1.service     enabled  ", "dbus-org.freedesktop.Avahi.service            enabled  ", "dbus-org.freedesktop.hostname1.service        static   ", "dbus-org.freedesktop.import1.service          static   ", "dbus-org.freedesktop.locale1.service          static   ", "dbus-org.freedesktop.login1.service           static   ", "dbus-org.freedesktop.machine1.service         static   ", "dbus-org.freedesktop.ModemManager1.service    enabled  ", "dbus-org.freedesktop.nm-dispatcher.service    enabled  ", "dbus-org.freedesktop.portable1.service        static   ", "dbus-org.freedesktop.resolve1.service         enabled  ", "dbus-org.freedesktop.timedate1.service        enabled  ", "dbus.service                                  static   ", "debug-shell.service                           disabled ", "display-manager.service                       enabled  ", "dm-event.service                              static   ", "dnf-makecache.service                         static   ", "dnsmasq.service                               disabled ", "docker.service                                enabled  ", "dracut-cmdline.service                        static   ", "dracut-initqueue.service                      static   ", "dracut-mount.service                          static   ", "dracut-pre-mount.service                      static   ", "dracut-pre-pivot.service                      static   ", "dracut-pre-trigger.service                    static   ", "dracut-pre-udev.service                       static   ", "dracut-shutdown.service                       static   ", "ebtables.service                              disabled ", "emergency.service                             static   ", "firewalld.service                             enabled  ", "flatpak-system-helper.service                 static   ", "fprintd.service                               static   ", "fstrim.service                                static   ", "fwupd-offline-update.service                  static   ", "fwupd.service                                 static   ", "gdm.service                                   enabled  ", "geoclue.service                               static   ", "getty@.service                                enabled  ", "grub-boot-indeterminate.service               static   ", "gssproxy.service                              disabled ", "halt-local.service                            static   ", "hypervfcopyd.service                          static   ", "hypervkvpd.service                            static   ", "hypervvssd.service                            static   ", "iio-sensor-proxy.service                      static   ", "import-state.service                          enabled  ", "initial-setup-reconfiguration.service         disabled ", "initial-setup.service                         disabled ", "initrd-cleanup.service                        static   ", "initrd-parse-etc.service                      static   ", "initrd-switch-root.service                    static   ", "initrd-udevadm-cleanup-db.service             static   ", "instperf.service                              static   ", "io.podman.service                             disabled ", "iprdump.service                               disabled ", "iprinit.service                               disabled ", "iprupdate.service                             disabled ", "irqbalance.service                            enabled  ", "iscsi-onboot.service                          enabled  ", "iscsi-shutdown.service                        static   ", "iscsi.service                                 enabled  ", "iscsid.service                                disabled ", "iscsiuio.service                              disabled ", "kdump.service                                 enabled  ", "kmod-static-nodes.service                     static   ", "kpatch.service                                disabled ", "ksm.service                                   enabled  ", "ksmtuned.service                              enabled  ", "ldconfig.service                              static   ", "ledmon.service                                disabled ", "libstoragemgmt.service                        enabled  ", "libvirtd.service                              enabled  ", "loadmodules.service                           enabled  ", "lvm2-lvmpolld.service                         static   ", "lvm2-monitor.service                          enabled  ", "lvm2-pvscan@.service                          static   ", "man-db-cache-update.service                   static   ", "mcelog.service                                enabled  ", "mdadm-grow-continue@.service                  static   ", "mdadm-last-resort@.service                    static   ", "mdcheck_continue.service                      static   ", "mdcheck_start.service                         static   ", "mdmon@.service                                static   ", "mdmonitor-oneshot.service                     static   ", "mdmonitor.service                             enabled  ", "memcached.service                             disabled ", "messagebus.service                            static   ", "microcode.service                             enabled  ", "mlocate-updatedb.service                      static   ", "ModemManager.service                          enabled  ", "multipathd.service                            enabled  ", "ndctl-monitor.service                         disabled ", "netcf-transaction.service                     enabled  ", "NetworkManager-dispatcher.service             enabled  ", "NetworkManager-wait-online.service            enabled  ", "NetworkManager.service                        enabled  ", "nfs-blkmap.service                            disabled ", "nfs-convert.service                           enabled  ", "nfs-idmapd.service                            static   ", "nfs-mountd.service                            static   ", "nfs-server.service                            disabled ", "nfs-utils.service                             static   ", "nftables.service                              disabled ", "nginx.service                                 disabled ", "nis-domainname.service                        enabled  ", "numad.service                                 disabled ", "oddjobd.service                               disabled ", "ostree-finalize-staged.service                static   ", "ostree-prepare-root.service                   static   ", "ostree-remount.service                        disabled ", "packagekit-offline-update.service             static   ", "packagekit.service                            static   ", "plymouth-halt.service                         static   ", "plymouth-kexec.service                        static   ", "plymouth-poweroff.service                     static   ", "plymouth-quit-wait.service                    static   ", "plymouth-quit.service                         static   ", "plymouth-read-write.service                   static   ", "plymouth-reboot.service                       static   ", "plymouth-start.service                        static   ", "plymouth-switch-root.service                  static   ", "polkit.service                                static   ", "postfix.service                               disabled ", "postgresql.service                            enabled  ", "postgresql@.service                           disabled ", "prometheus.service                            disabled ", "psacct.service                                disabled ", "qemu-guest-agent.service                      disabled ", "qemu-pr-helper.service                        static   ", "quotaon.service                               static   ", "radvd.service                                 disabled ", "ras-mc-ctl.service                            disabled ", "rasdaemon.service                             disabled ", "rc-local.service                              static   ", "rdisc.service                                 disabled ", "rdma-load-modules@.service                    static   ", "rdma-ndd.service                              static   ", "rdma.service                                  disabled ", "realmd.service                                static   ", "redis-sentinel.service                        disabled ", "redis.service                                 enabled  ", "rescue.service                                static   ", "rhsm-facts.service                            disabled ", "rhsm.service                                  disabled ", "rhsmcertd.service                             enabled  ", "rngd-wake-threshold.service                   disabled ", "rngd.service                                  enabled  ", "rpc-gssd.service                              static   ", "rpc-statd-notify.service                      static   ", "rpc-statd.service                             static   ", "rpcbind.service                               enabled  ", "rsyslog.service                               enabled  ", "rtkit-daemon.service                          enabled  ", "run-r21ead6a6bb294dac892318c442b00be0.service transient", "run-r7fb939a5435a42c2aaaef890533e0e41.service transient", "saslauthd.service                             disabled ", "selinux-autorelabel-mark.service              enabled  ", "selinux-autorelabel.service                   static   ", "serial-getty@.service                         disabled ", "smartd.service                                enabled  ", "speech-dispatcherd.service                    disabled ", "spice-vdagentd.service                        indirect ", "sshd-keygen@.service                          disabled ", "sshd.service                                  enabled  ", "sshd@.service                                 static   ", "sssd-autofs.service                           indirect ", "sssd-ifp.service                              static   ", "sssd-kcm.service                              indirect ", "sssd-nss.service                              indirect ", "sssd-pac.service                              indirect ", "sssd-pam.service                              indirect ", "sssd-ssh.service                              indirect ", "sssd-sudo.service                             indirect ", "sssd.service                                  enabled  ", "supervisord.service                           disabled ", "svnserve.service                              disabled ", "switcheroo-control.service                    disabled ", "syslog.service                                enabled  ", "system-update-cleanup.service                 static   ", "systemd-ask-password-console.service          static   ", "systemd-ask-password-plymouth.service         static   ", "systemd-ask-password-wall.service             static   ", "systemd-backlight@.service                    static   ", "systemd-binfmt.service                        static   ", "systemd-coredump@.service                     static   ", "systemd-exit.service                          static   ", "systemd-firstboot.service                     static   ", "systemd-fsck-root.service                     static   ", "systemd-fsck@.service                         static   ", "systemd-halt.service                          static   ", "systemd-hibernate-resume@.service             static   ", "systemd-hibernate.service                     static   ", "systemd-hostnamed.service                     static   ", "systemd-hwdb-update.service                   static   ", "systemd-hybrid-sleep.service                  static   ", "systemd-importd.service                       static   ", "systemd-initctl.service                       static   ", "systemd-journal-catalog-update.service        static   ", "systemd-journal-flush.service                 static   ", "systemd-journald.service                      static   ", "systemd-kexec.service                         static   ", "systemd-localed.service                       static   ", "systemd-logind.service                        static   ", "systemd-machine-id-commit.service             static   ", "systemd-machined.service                      static   ", "systemd-modules-load.service                  static   ", "systemd-nspawn@.service                       disabled ", "systemd-portabled.service                     static   ", "systemd-poweroff.service                      static   ", "systemd-quotacheck.service                    static   ", "systemd-random-seed.service                   static   ", "systemd-reboot.service                        static   ", "systemd-remount-fs.service                    static   ", "systemd-resolved.service                      enabled  ", "systemd-rfkill.service                        static   ", "systemd-suspend-then-hibernate.service        static   ", "systemd-suspend.service                       static   ", "systemd-sysctl.service                        static   ", "systemd-sysusers.service                      static   ", "systemd-timedated.service                     masked   ", "systemd-tmpfiles-clean.service                static   ", "systemd-tmpfiles-setup-dev.service            static   ", "systemd-tmpfiles-setup.service                static   ", "systemd-udev-settle.service                   static   ", "systemd-udev-trigger.service                  static   ", "systemd-udevd.service                         static   ", "systemd-update-done.service                   static   ", "systemd-update-utmp-runlevel.service          static   ", "systemd-update-utmp.service                   static   ", "systemd-user-sessions.service                 static   ", "systemd-vconsole-setup.service                static   ", "systemd-volatile-root.service                 static   ", "tcsd.service                                  disabled ", "teamd@.service                                static   ", "timedatex.service                             enabled  ", "tuned.service                                 enabled  ", "udisks2.service                               enabled  ", "unbound-anchor.service                        static   ", "upower.service                                disabled ", "usb_modeswitch@.service                       static   ", "usbmuxd.service                               static   ", "user-runtime-dir@.service                     static   ", "user@.service                                 static   ", "vdo.service                                   enabled  ", "vgauthd.service                               enabled  ", "virtlockd.service                             indirect ", "virtlogd.service                              indirect ", "vmtoolsd.service                              enabled  ", "wacom-inputattach@.service                    static   ", "wpa_supplicant.service                        disabled ", "zram.service                                  static   ", "machine.slice                                 static   ", "system-cockpithttps.slice                     static   ", "user.slice                                    static   ", "avahi-daemon.socket                           enabled  ", "cockpit-wsinstance-http-redirect.socket       static   ", "cockpit-wsinstance-http.socket                static   ", "cockpit-wsinstance-https-factory.socket       static   ", "cockpit-wsinstance-https@.socket              static   ", "cockpit.socket                                enabled  ", "cups.socket                                   enabled  ", "dbus.socket                                   static   ", "dm-event.socket                               enabled  ", "docker.socket                                 disabled ", "io.podman.socket                              enabled  ", "iscsid.socket                                 enabled  ", "iscsiuio.socket                               enabled  ", "lvm2-lvmpolld.socket                          enabled  ", "multipathd.socket                             enabled  ", "qemu-pr-helper.socket                         disabled ", "rpcbind.socket                                enabled  ", "spice-vdagentd.socket                         static   ", "sshd.socket                                   disabled ", "sssd-autofs.socket                            disabled ", "sssd-kcm.socket                               enabled  ", "sssd-nss.socket                               disabled ", "sssd-pac.socket                               disabled ", "sssd-pam-priv.socket                          disabled ", "sssd-pam.socket                               disabled ", "sssd-ssh.socket                               disabled ", "sssd-sudo.socket                              disabled ", "syslog.socket                                 static   ", "systemd-coredump.socket                       static   ", "systemd-initctl.socket                        static   ", "systemd-journald-audit.socket                 static   ", "systemd-journald-dev-log.socket               static   ", "systemd-journald.socket                       static   ", "systemd-rfkill.socket                         static   ", "systemd-udevd-control.socket                  static   ", "systemd-udevd-kernel.socket                   static   ", "virtlockd-admin.socket                        disabled ", "virtlockd.socket                              enabled  ", "virtlogd-admin.socket                         disabled ", "virtlogd.socket                               enabled  ", "dev-mapper-cl\\x2dswap.swap                    generated", "anaconda.target                               static   ", "basic.target                                  static   ", "bluetooth.target                              static   ", "cryptsetup-pre.target                         static   ", "cryptsetup.target                             static   ", "ctrl-alt-del.target                           disabled ", "default.target                                indirect ", "emergency.target                              static   ", "exit.target                                   disabled ", "final.target                                  static   ", "getty-pre.target                              static   ", "getty.target                                  static   ", "graphical.target                              indirect ", "halt.target                                   disabled ", "hibernate.target                              static   ", "hybrid-sleep.target                           static   ", "initrd-fs.target                              static   ", "initrd-root-device.target                     static   ", "initrd-root-fs.target                         static   ", "initrd-switch-root.target                     static   ", "initrd.target                                 static   ", "iprutils.target                               disabled ", "kexec.target                                  disabled ", "local-fs-pre.target                           static   ", "local-fs.target                               static   ", "machines.target                               disabled ", "multi-user.target                             static   ", "network-online.target                         static   ", "network-pre.target                            static   ", "network.target                                static   ", "nfs-client.target                             enabled  ", "nss-lookup.target                             static   ", "nss-user-lookup.target                        static   ", "paths.target                                  static   ", "poweroff.target                               disabled ", "printer.target                                static   ", "rdma-hw.target                                static   ", "reboot.target                                 disabled ", "remote-cryptsetup.target                      disabled ", "remote-fs-pre.target                          static   ", "remote-fs.target                              enabled  ", "rescue.target                                 static   ", "rpc_pipefs.target                             static   ", "rpcbind.target                                static   ", "runlevel0.target                              disabled ", "runlevel1.target                              static   ", "runlevel2.target                              static   ", "runlevel3.target                              static   ", "runlevel4.target                              static   ", "runlevel5.target                              indirect ", "runlevel6.target                              disabled ", "selinux-autorelabel.target                    static   ", "shutdown.target                               static   ", "sigpwr.target                                 static   ", "sleep.target                                  static   ", "slices.target                                 static   ", "smartcard.target                              static   ", "sockets.target                                static   ", "sound.target                                  static   ", "sshd-keygen.target                            static   ", "suspend-then-hibernate.target                 static   ", "suspend.target                                static   ", "swap.target                                   static   ", "sysinit.target                                static   ", "system-update-pre.target                      static   ", "system-update.target                          static   ", "time-sync.target                              static   ", "timers.target                                 static   ", "umount.target                                 static   ", "virt-guest-shutdown.target                    static   ", "chrony-dnssrv@.timer                          disabled ", "dnf-makecache.timer                           enabled  ", "fstrim.timer                                  disabled ", "mdadm-last-resort@.timer                      static   ", "mdcheck_continue.timer                        disabled ", "mdcheck_start.timer                           disabled ", "mdmonitor-oneshot.timer                       disabled ", "mlocate-updatedb.timer                        disabled ", "systemd-tmpfiles-clean.timer                  static   ", "unbound-anchor.timer                          enabled  ", "", "449 unit files listed."]}
TASK [firewall : Determine if iptables is installed] *******************************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["iptables", "--version"], "delta": "0:00:00.004552", "end": "2020-07-15 07:49:56.599748", "failed_when_result": false, "rc": 0, "start": "2020-07-15 07:49:56.595196", "stderr": "", "stderr_lines": [], "stdout": "iptables v1.8.4 (nf_tables)", "stdout_lines": ["iptables v1.8.4 (nf_tables)"]}
TASK [firewall : Determine if iptables service is installed] ***********************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [firewall : Check to see if there is an iptables config file] *****************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [firewall : Select firewalld] *************************************************************************************************************************************
ok: [localhost] => {"ansible_facts": {"tower_firewall_type": "firewalld"}, "changed": false}
TASK [firewall : Select iptables] **************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [firewall : Include firewalld tasks] ******************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/firewall/tasks/firewalld.yml for localhost
TASK [firewall : Start firewalld if it is enabled and not running] *****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [firewall : Enable base Tower firewall ports] *********************************************************************************************************************
changed: [localhost] => (item=80) => {"ansible_loop_var": "item", "changed": true, "item": "80", "msg": "Permanent and Non-Permanent(immediate) operation, Changed port 80/tcp to enabled"}
changed: [localhost] => (item=443) => {"ansible_loop_var": "item", "changed": true, "item": "443", "msg": "Permanent and Non-Permanent(immediate) operation, Changed port 443/tcp to enabled"}
TASK [firewall : Enable HA Tower firewall ports] ***********************************************************************************************************************
TASK [firewall : Disable HA Tower firewall management and RabbitMQ ports] **********************************************************************************************
skipping: [localhost] => (item=4369)  => {"ansible_loop_var": "item", "changed": false, "item": 4369, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=25672)  => {"ansible_loop_var": "item", "changed": false, "item": 25672, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=15672)  => {"ansible_loop_var": "item", "changed": false, "item": 15672, "skip_reason": "Conditional result was False"}
TASK [firewall : Enable Standalone Database firewall ports] ************************************************************************************************************
skipping: [localhost] => (item=5432)  => {"ansible_loop_var": "item", "changed": false, "item": 5432, "skip_reason": "Conditional result was False"}
TASK [memcached : ensure /var/run/memcached exists] ********************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 969, "group": "memcached", "mode": "0750", "owner": "memcached", "path": "/var/run/memcached", "secontext": "unconfined_u:object_r:var_run_t:s0", "size": 40, "state": "directory", "uid": 969}
TASK [memcached : ensure /var/run/memcached has the correct SELinux context] *******************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "restorecon -R /var/run/memcached", "delta": "0:00:00.012277", "end": "2020-07-15 07:50:00.374225", "rc": 0, "start": "2020-07-15 07:50:00.361948", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [memcached : Create tmpfiles.d entry for memcached socket directory] **********************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "2f4704ab9a5751a771da9fab78c584aba81e692f", "dest": "/etc/tmpfiles.d/memcached.conf", "gid": 0, "group": "root", "md5sum": "afc58080b5bde7909663447e49e64547", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 48, "src": "/root/.ansible/tmp/ansible-tmp-1594813800.4746442-1388529-212529968302400/source", "state": "file", "uid": 0}
TASK [memcached : bind memcached to a unix domain socket] **************************************************************************************************************
changed: [localhost] => {"backup": "", "changed": true, "msg": "line replaced"}
TASK [memcached : restart memcached when bind settings changed] ********************************************************************************************************
changed: [localhost] => {"changed": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "tmp.mount basic.target systemd-tmpfiles-setup.service sysinit.target systemd-journald.socket network.target system.slice -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "httpd.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_setgid cap_setuid cap_sys_resource", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "memcached daemon", "DevicePolicy": "closed", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/memcached (ignore_errors=no)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/memcached ; argv[]=/usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/memcached.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "memcached.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "memcached.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "yes", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "full", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [memcached : add awx to the memcached group so it can access the socket] ******************************************************************************************
changed: [localhost] => {"append": true, "changed": true, "comment": "", "group": 968, "groups": "memcached", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 968}
TASK [memcached : Start Memcached and enable it at startup] ************************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:50:02 EDT", "ActiveEnterTimestampMonotonic": "661992445707", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount systemd-tmpfiles-setup.service sysinit.target system.slice systemd-journald.socket network.target basic.target tmp.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:50:01 EDT", "AssertTimestampMonotonic": "661992441925", "Before": "httpd.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_setgid cap_setuid cap_sys_resource", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:50:01 EDT", "ConditionTimestampMonotonic": "661992441925", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/memcached.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "memcached daemon", "DevicePolicy": "closed", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "EnvironmentFiles": "/etc/sysconfig/memcached (ignore_errors=no)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1389359", "ExecMainStartTimestamp": "Wed 2020-07-15 07:50:02 EDT", "ExecMainStartTimestampMonotonic": "661992445650", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/memcached ; argv[]=/usr/bin/memcached -p ${PORT} -u ${USER} -m ${CACHESIZE} -c ${MAXCONN} $OPTIONS ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:50:02 EDT] ; stop_time=[n/a] ; pid=1389359 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/memcached.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "memcached.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2020-07-15 07:50:02 EDT", "InactiveExitTimestampMonotonic": "661992445707", "InvocationID": "155510d94d3e4a59b6111bd6d7aa6362", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1389359", "MemoryAccounting": "yes", "MemoryCurrent": "1822720", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "memcached.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "yes", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "yes", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "full", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:50:02 EDT", "StateChangeTimestampMonotonic": "661992445707", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestamp": "Wed 2020-07-15 07:50:02 EDT", "WatchdogTimestampMonotonic": "661992445705", "WatchdogUSec": "0"}}
TASK [rsyslog : Configure the Rsyslog socket directory.] ***************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/run/awx-rsyslog", "secontext": "unconfined_u:object_r:var_run_t:s0", "size": 40, "state": "directory", "uid": 968}
TASK [rsyslog : Create tmpfiles.d entry for rsyslog socket directory] **************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "3f6540ba0855064c82cc2f8eea298d57da22b1e7", "dest": "/etc/tmpfiles.d/rsyslog.conf", "gid": 0, "group": "root", "md5sum": "345a0b049e66872c49a3274ab037a1b8", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 38, "src": "/root/.ansible/tmp/ansible-tmp-1594813803.9704866-1389574-204841516214306/source", "state": "file", "uid": 0}
TASK [awx_install : include_tasks] *************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/awx_install/tasks/tasks.yml for localhost
TASK [awx_install : Ensure awx is in the nginx group] ******************************************************************************************************************
changed: [localhost] => {"append": true, "changed": true, "comment": "", "group": 968, "groups": "nginx", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 968}
TASK [awx_install : Configure the Tower settings directory.] ***********************************************************************************************************
ok: [localhost] => {"changed": false, "gid": 968, "group": "awx", "mode": "0755", "owner": "root", "path": "/etc/tower", "secontext": "system_u:object_r:etc_t:s0", "size": 24, "state": "directory", "uid": 0}
TASK [awx_install : Configure the Tower socket directory.] *************************************************************************************************************
ok: [localhost] => {"changed": false, "gid": 970, "group": "nginx", "mode": "02775", "owner": "nginx", "path": "/var/run/tower", "secontext": "system_u:object_r:httpd_var_run_t:s0", "size": 40, "state": "directory", "uid": 970}
TASK [awx_install : Configure the Tower socket directory for tmpfiles.d] ***********************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "253caabec97cc797f3e2a99db6869636f747e0b1", "dest": "/etc/tmpfiles.d/tower.conf", "gid": 0, "group": "root", "md5sum": "c17f9680a626839ec3457ebadf976885", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813806.1546316-1389659-257281480704819/source", "state": "file", "uid": 0}
TASK [awx_install : Configure the Tower system user's home directory.] *************************************************************************************************
ok: [localhost] => {"changed": false, "gid": 968, "group": "awx", "mode": "0755", "owner": "awx", "path": "/var/lib/awx", "secontext": "system_u:object_r:var_lib_t:s0", "size": 99, "state": "directory", "uid": 968}
TASK [awx_install : Configure the Tower system user's .ssh directory.] *************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0700", "owner": "awx", "path": "/var/lib/awx/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 6, "state": "directory", "uid": 968}
TASK [awx_install : Configure the Tower projects directory.] ***********************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/projects", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 968}
TASK [awx_install : Configure the Tower job output directory.] *********************************************************************************************************
ok: [localhost] => {"changed": false, "gid": 968, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/job_status", "secontext": "system_u:object_r:public_content_t:s0", "size": 6, "state": "directory", "uid": 968}
TASK [awx_install : Configure the Tower static directory.] *************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0755", "owner": "root", "path": "/var/lib/awx/public/static", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [awx_install : Add Towers `conf.d` directory.] ********************************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0750", "owner": "root", "path": "/etc/tower/conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [awx_install : configure tower log directory] *********************************************************************************************************************
ok: [localhost] => {"changed": false, "gid": 968, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "secontext": "system_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 968}
TASK [awx_install : Update ansible-tower-service configuration] ********************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "cc540d6ac3834d69ea465cddb8a2f405aeeadc9f", "dest": "/etc/sysconfig/ansible-tower", "gid": 0, "group": "root", "md5sum": "97f827861c0efd8c393b9f089fec186e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 200, "src": "/root/.ansible/tmp/ansible-tmp-1594813809.3887632-1389804-191297249509301/source", "state": "file", "uid": 0}
TASK [awx_install : Update ansible-tower systemd configuration] ********************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "030af8f38b3330dade0096528b6040eafa1fb691", "dest": "/lib/systemd/system/ansible-tower.service", "gid": 0, "group": "root", "md5sum": "1d0e20a0bb5b3009adf7b3fcaa157285", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 341, "src": "/root/.ansible/tmp/ansible-tmp-1594813809.9456491-1389829-82263733537640/source", "state": "file", "uid": 0}
TASK [awx_install : Update dependent service configuration] ************************************************************************************************************
changed: [localhost] => (item=memcached) => {"ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "memcached", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/memcached.service.d", "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0", "size": 6, "state": "directory", "uid": 0}
ok: [localhost] => (item=nginx) => {"ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "nginx", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/nginx.service.d", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 6, "state": "directory", "uid": 0}
changed: [localhost] => (item=supervisord) => {"ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "supervisord", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/supervisord.service.d", "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0", "size": 6, "state": "directory", "uid": 0}
ok: [localhost] => (item=redis) => {"ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": "redis", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/redis.service.d", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 24, "state": "directory", "uid": 0}
changed: [localhost] => (item=postgresql) => {"ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": "postgresql", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/postgresql.service.d", "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [awx_install : Update dependent service configuration] ************************************************************************************************************
changed: [localhost] => (item=memcached) => {"ansible_loop_var": "item", "changed": true, "checksum": "d7cd07b8a7ccc8bfefcd7a4447adc05544c0dcdc", "dest": "/etc/systemd/system/memcached.service.d/override.conf", "gid": 0, "group": "root", "item": "memcached", "md5sum": "837e69cca8c407b6b0478e066ae81b69", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813812.0944607-1389928-219178882149113/source", "state": "file", "uid": 0}
changed: [localhost] => (item=nginx) => {"ansible_loop_var": "item", "changed": true, "checksum": "d7cd07b8a7ccc8bfefcd7a4447adc05544c0dcdc", "dest": "/etc/systemd/system/nginx.service.d/override.conf", "gid": 0, "group": "root", "item": "nginx", "md5sum": "837e69cca8c407b6b0478e066ae81b69", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:httpd_unit_file_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813812.6183755-1389928-28055394268511/source", "state": "file", "uid": 0}
changed: [localhost] => (item=supervisord) => {"ansible_loop_var": "item", "changed": true, "checksum": "d7cd07b8a7ccc8bfefcd7a4447adc05544c0dcdc", "dest": "/etc/systemd/system/supervisord.service.d/override.conf", "gid": 0, "group": "root", "item": "supervisord", "md5sum": "837e69cca8c407b6b0478e066ae81b69", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813813.1585336-1389928-176883890455397/source", "state": "file", "uid": 0}
changed: [localhost] => (item=redis) => {"ansible_loop_var": "item", "changed": true, "checksum": "d7cd07b8a7ccc8bfefcd7a4447adc05544c0dcdc", "dest": "/etc/systemd/system/redis.service.d/override.conf", "gid": 0, "group": "root", "item": "redis", "md5sum": "837e69cca8c407b6b0478e066ae81b69", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:redis_unit_file_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813813.6876676-1389928-9481356412242/source", "state": "file", "uid": 0}
changed: [localhost] => (item=postgresql) => {"ansible_loop_var": "item", "changed": true, "checksum": "d7cd07b8a7ccc8bfefcd7a4447adc05544c0dcdc", "dest": "/etc/systemd/system/postgresql.service.d/override.conf", "gid": 0, "group": "root", "item": "postgresql", "md5sum": "837e69cca8c407b6b0478e066ae81b69", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:postgresql_unit_file_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1594813814.2056777-1389928-35677958881852/source", "state": "file", "uid": 0}
TASK [awx_install : Reload systemd configuration] **********************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["systemctl", "daemon-reload"], "delta": "0:00:00.228883", "end": "2020-07-15 07:50:15.205759", "rc": 0, "start": "2020-07-15 07:50:14.976876", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [awx_install : Enable the ansible-tower service] ******************************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "ansible-tower", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "supervisord.service systemd-journald.socket memcached.service nginx.service postgresql.service sysinit.target redis.service basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "memcached.service postgresql.service redis.service supervisord.service nginx.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Ansible Tower service", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/bin/true ; argv[]=/bin/true ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ansible-tower.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "ansible-tower.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "ansible-tower.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "Wants": "postgresql.service supervisord.service redis.service nginx.service memcached.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [awx_install : Check if this is a fresh installation] *************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [awx_install : Replace the secret key if secret_key_override is defined and installation is new] ******************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Fetch the secret key from the primary node.] *******************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Fail play when grabbing SECRET_KEY fails] **********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [awx_install : Place the secret key on secondary nodes.] **********************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Get tower db settings] *****************************************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Ingest database settings] **************************************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Set database vars] *********************************************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Set database vars] *********************************************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Configure Towers database settings.] ***************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "50daf811855d14177e2d231980d1710892d4ca8f", "dest": "/etc/tower/conf.d/postgres.py", "gid": 968, "group": "awx", "md5sum": "cd02f37ef3217ec3b3ea00304a32bf9e", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 410, "src": "/root/.ansible/tmp/ansible-tmp-1594813818.0266922-1390203-19902920464138/source", "state": "file", "uid": 0}
TASK [awx_install : Generate broadcast websocket secret] ***************************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [awx_install : Configure Towers channels settings.] ***************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "e6d9b4886d8d05da9e46bb6fd0b712bdcb5f93f5", "dest": "/etc/tower/conf.d/channels.py", "gid": 968, "group": "awx", "md5sum": "66e0a008a3f1f619e8139683dc042d03", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 60, "src": "/root/.ansible/tmp/ansible-tmp-1594813818.6858618-1390230-181997454385552/source", "state": "file", "uid": 0}
TASK [awx_install : Configure the Insights URL] ************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "86553cdbd2721e0df3b0840f29c6ff40a0185eb0", "dest": "/etc/tower/conf.d/insights.py", "gid": 968, "group": "awx", "md5sum": "24c7b3d4dde4cf2560c123c264a388ec", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 309, "src": "/root/.ansible/tmp/ansible-tmp-1594813819.363734-1390265-160839676324201/source", "state": "file", "uid": 0}
TASK [awx_install : Initialize instance groups for host] ***************************************************************************************************************
ok: [localhost] => {"ansible_facts": {"awx_instance_groups": []}, "changed": false}
TASK [awx_install : Determine instance groups for host] ****************************************************************************************************************
skipping: [localhost] => (item=CentOS_8)  => {"ansible_loop_var": "item", "changed": false, "item": "CentOS_8", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"ansible_loop_var": "item", "changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
ok: [localhost] => (item=tower) => {"ansible_facts": {"awx_instance_groups": ["tower"]}, "ansible_loop_var": "item", "changed": false, "item": "tower"}
TASK [awx_install : Remove Tower rabbitmq settings] ********************************************************************************************************************
ok: [localhost] => {"changed": false, "path": "/etc/tower/conf.d/rabbitmq.py", "state": "absent"}
TASK [awx_install : Configure Tower CLUSTER_HOST_ID setting] ***********************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "69279d2e2e5440d713d5d33287cbfab7f8d3131e", "dest": "/etc/tower/conf.d/cluster_host_id.py", "gid": 968, "group": "awx", "md5sum": "9aad0d186a3b001adf4f0a2ea84927a1", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 192, "src": "/root/.ansible/tmp/ansible-tmp-1594813820.3876655-1390310-90158901058362/source", "state": "file", "uid": 0}
TASK [awx_install : Install Tower cache settings] **********************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "2a7f23140faab158980325168a1dabbf9ea7643a", "dest": "/etc/tower/conf.d/caching.py", "gid": 968, "group": "awx", "md5sum": "0f09b9047f60870e930c6085c679cf3c", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 209, "src": "/root/.ansible/tmp/ansible-tmp-1594813820.957773-1390335-142552027662248/source", "state": "file", "uid": 0}
TASK [awx_install : Set default image for Container Groups] ************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "6c55af3df041ff814ba6aaf321bce52ecf13917e", "dest": "/etc/tower/conf.d/container_groups.py", "gid": 968, "group": "awx", "md5sum": "3d4501c5a7b8e166002c75835a945b74", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 80, "src": "/root/.ansible/tmp/ansible-tmp-1594813821.5738142-1390360-250015315400064/source", "state": "file", "uid": 0}
TASK [awx_install : Install Tower's settings file if it doesn't already exist.] ****************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "9b9ddc448358a151403f47a476fcc7c90c78f72b", "dest": "/etc/tower/settings.py", "gid": 968, "group": "awx", "md5sum": "d783764205236029ac324cf811605609", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1603, "src": "/root/.ansible/tmp/ansible-tmp-1594813822.1592078-1390385-197880325809037/source", "state": "file", "uid": 0}
TASK [awx_install : Stop supervisor] ***********************************************************************************************************************************
ok: [localhost] => {"changed": false, "name": "supervisord", "state": "stopped", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "rc-local.service systemd-journald.socket sysinit.target basic.target system.slice -.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "ansible-tower.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/supervisord.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/supervisord ; argv[]=/usr/bin/supervisord -c /etc/supervisord.conf ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/supervisord.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/run/supervisor", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "supervisor", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:50:15 EDT", "StateChangeTimestampMonotonic": "662006271086", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WantedBy": "ansible-tower.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [awx_install : Wait for supervisor to stop.] **********************************************************************************************************************
ok: [localhost] => {"attempts": 1, "changed": false, "stat": {"exists": false}}
TASK [awx_install : Migrate the Tower database schema (may take awhile when upgrading).] *******************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["awx-manage", "migrate", "--noinput"], "delta": "0:02:50.317282", "end": "2020-07-15 07:53:14.138573", "rc": 0, "start": "2020-07-15 07:50:23.821291", "stderr": "", "stderr_lines": [], "stdout": "Operations to perform:\n  Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit\nRunning migrations:\n  Applying contenttypes.0001_initial... OK\n  Applying contenttypes.0002_remove_content_type_name... OK\n  Applying taggit.0001_initial... OK\n  Applying taggit.0002_auto_20150616_2121... OK\n  Applying auth.0001_initial... OK\n  Applying main.0001_initial... OK\n  Applying main.0002_squashed_v300_release... OK\n  Applying main.0003_squashed_v300_v303_updates... OK\n  Applying main.0004_squashed_v310_release... OK\n  Applying conf.0001_initial... OK\n  Applying conf.0002_v310_copy_tower_settings... OK\n  Applying main.0005_squashed_v310_v313_updates... OK\n  Applying main.0006_v320_release... OK\n  Applying main.0007_v320_data_migrations... OK\n  Applying main.0008_v320_drop_v1_credential_fields... OK\n  Applying main.0009_v322_add_setting_field_for_activity_stream... OK\n  Applying main.0010_v322_add_ovirt4_tower_inventory... OK\n  Applying main.0011_v322_encrypt_survey_passwords... OK\n  Applying main.0012_v322_update_cred_types... OK\n  Applying main.0013_v330_multi_credential... OK\n  Applying auth.0002_alter_permission_name_max_length... OK\n  Applying auth.0003_alter_user_email_max_length... OK\n  Applying auth.0004_alter_user_username_opts... OK\n  Applying auth.0005_alter_user_last_login_null... OK\n  Applying auth.0006_require_contenttypes_0002... OK\n  Applying auth.0007_alter_validators_add_error_messages... OK\n  Applying auth.0008_alter_user_username_max_length... OK\n  Applying auth.0009_alter_user_last_name_max_length... OK\n  Applying auth.0010_alter_group_name_max_length... OK\n  Applying auth.0011_update_proxy_permissions... OK\n  Applying conf.0003_v310_JSONField_changes... OK\n  Applying conf.0004_v320_reencrypt... OK\n  Applying conf.0005_v330_rename_two_session_settings... OK\n  Applying conf.0006_v331_ldap_group_type... OK\n  Applying sessions.0001_initial... OK\n  Applying main.0014_v330_saved_launchtime_configs... OK\n  Applying main.0015_v330_blank_start_args... OK\n  Applying main.0016_v330_non_blank_workflow... OK\n  Applying main.0017_v330_move_deprecated_stdout... OK\n  Applying main.0018_v330_add_additional_stdout_events... OK\n  Applying main.0019_v330_custom_virtualenv... OK\n  Applying main.0020_v330_instancegroup_policies... OK\n  Applying main.0021_v330_declare_new_rbac_roles... OK\n  Applying main.0022_v330_create_new_rbac_roles... OK\n  Applying main.0023_v330_inventory_multicred... OK\n  Applying main.0024_v330_create_user_session_membership... OK\n  Applying main.0025_v330_add_oauth_activity_stream_registrar... OK\n  Applying oauth2_provider.0001_initial... OK\n  Applying main.0026_v330_delete_authtoken... OK\n  Applying main.0027_v330_emitted_events... OK\n  Applying main.0028_v330_add_tower_verify... OK\n  Applying main.0030_v330_modify_application... OK\n  Applying main.0031_v330_encrypt_oauth2_secret... OK\n  Applying main.0032_v330_polymorphic_delete... OK\n  Applying main.0033_v330_oauth_help_text... OK\n  Applying main.0034_v330_delete_user_role... OK\n  Applying main.0035_v330_more_oauth2_help_text... OK\n  Applying main.0036_v330_credtype_remove_become_methods... OK\n  Applying main.0037_v330_remove_legacy_fact_cleanup... OK\n  Applying main.0038_v330_add_deleted_activitystream_actor... OK\n  Applying main.0039_v330_custom_venv_help_text... OK\n  Applying main.0040_v330_unifiedjob_controller_node... OK\n  Applying main.0041_v330_update_oauth_refreshtoken... OK\n  Applying main.0042_v330_org_member_role_deparent... OK\n  Applying main.0043_v330_oauth2accesstoken_modified... OK\n  Applying main.0044_v330_add_inventory_update_inventory... OK\n  Applying main.0045_v330_instance_managed_by_policy... OK\n  Applying main.0046_v330_remove_client_credentials_grant... OK\n  Applying main.0047_v330_activitystream_instance... OK\n  Applying main.0048_v330_django_created_modified_by_model_name... OK\n  Applying main.0049_v330_validate_instance_capacity_adjustment... OK\n  Applying main.0050_v340_drop_celery_tables... OK\n  Applying main.0051_v340_job_slicing... OK\n  Applying main.0052_v340_remove_project_scm_delete_on_next_update... OK\n  Applying main.0053_v340_workflow_inventory... OK\n  Applying main.0054_v340_workflow_convergence... OK\n  Applying main.0055_v340_add_grafana_notification... OK\n  Applying main.0056_v350_custom_venv_history... OK\n  Applying main.0057_v350_remove_become_method_type... OK\n  Applying main.0058_v350_remove_limit_limit... OK\n  Applying main.0059_v350_remove_adhoc_limit... OK\n  Applying main.0060_v350_update_schedule_uniqueness_constraint... OK\n  Applying main.0061_v350_track_native_credentialtype_source... OK\n  Applying main.0062_v350_new_playbook_stats... OK\n  Applying main.0063_v350_org_host_limits... OK\n  Applying main.0064_v350_analytics_state... OK\n  Applying main.0065_v350_index_job_status... OK\n  Applying main.0066_v350_inventorysource_custom_virtualenv... OK\n  Applying main.0067_v350_credential_plugins... OK\n  Applying main.0068_v350_index_event_created... OK\n  Applying main.0069_v350_generate_unique_install_uuid... OK\n  Applying main.0070_v350_gce_instance_id... OK\n  Applying main.0071_v350_remove_system_tracking... OK\n  Applying main.0072_v350_deprecate_fields... OK\n  Applying main.0073_v360_create_instance_group_m2m... OK\n  Applying main.0074_v360_migrate_instance_group_relations... OK\n  Applying main.0075_v360_remove_old_instance_group_relations... OK\n  Applying main.0076_v360_add_new_instance_group_relations... OK\n  Applying main.0077_v360_add_default_orderings... OK\n  Applying main.0078_v360_clear_sessions_tokens_jt... OK\n  Applying main.0079_v360_rm_implicit_oauth2_apps... OK\n  Applying main.0080_v360_replace_job_origin... OK\n  Applying main.0081_v360_notify_on_start... OK\n  Applying main.0082_v360_webhook_http_method... OK\n  Applying main.0083_v360_job_branch_override... OK\n  Applying main.0084_v360_token_description... OK\n  Applying main.0085_v360_add_notificationtemplate_messages... OK\n  Applying main.0086_v360_workflow_approval... OK\n  Applying main.0087_v360_update_credential_injector_help_text... OK\n  Applying main.0088_v360_dashboard_optimizations... OK\n  Applying main.0089_v360_new_job_event_types... OK\n  Applying main.0090_v360_WFJT_prompts... OK\n  Applying main.0091_v360_approval_node_notifications... OK\n  Applying main.0092_v360_webhook_mixin... OK\n  Applying main.0093_v360_personal_access_tokens... OK\n  Applying main.0094_v360_webhook_mixin2... OK\n  Applying main.0095_v360_increase_instance_version_length... OK\n  Applying main.0096_v360_container_groups... OK\n  Applying main.0097_v360_workflowapproval_approved_or_denied_by... OK\n  Applying main.0098_v360_rename_cyberark_aim_credential_type... OK\n  Applying main.0099_v361_license_cleanup... OK\n  Applying main.0100_v370_projectupdate_job_tags... OK\n  Applying main.0101_v370_generate_new_uuids_for_iso_nodes... OK\n  Applying main.0102_v370_unifiedjob_canceled... OK\n  Applying main.0103_v370_remove_computed_fields... OK\n  Applying main.0104_v370_cleanup_old_scan_jts... OK\n  Applying main.0105_v370_remove_jobevent_parent_and_hosts... OK\n  Applying main.0106_v370_remove_inventory_groups_with_active_failures... OK\n  Applying main.0107_v370_workflow_convergence_api_toggle... OK\n  Applying main.0108_v370_unifiedjob_dependencies_processed... OK\n  Applying main.0109_v370_job_template_organization_field... OK\n  Applying main.0110_v370_instance_ip_address... OK\n  Applying main.0111_v370_delete_channelgroup... OK\n  Applying main.0112_v370_workflow_node_identifier... OK\n  Applying main.0113_v370_event_bigint... OK\n  Applying main.0114_v370_remove_deprecated_manual_inventory_sources... OK\n  Applying main.0115_v370_schedule_set_null... OK\n  Applying oauth2_provider.0002_08_updates... OK\n  Applying oauth2_provider.0003_auto_20160316_1503... OK\n  Applying oauth2_provider.0004_auto_20160525_1623... OK\n  Applying oauth2_provider.0005_auto_20170514_1141... OK\n  Applying oauth2_provider.0006_auto_20171214_2232... OK\n  Applying sites.0001_initial... OK\n  Applying sites.0002_alter_domain_unique... OK\n  Applying social_django.0001_initial... OK\n  Applying social_django.0002_add_related_name... OK\n  Applying social_django.0003_alter_email_max_length... OK\n  Applying social_django.0004_auto_20160423_0400... OK\n  Applying social_django.0005_auto_20160727_2333... OK\n  Applying social_django.0006_partial... OK\n  Applying social_django.0007_code_timestamp... OK\n  Applying social_django.0008_partial_timestamp... OK\n  Applying sso.0001_initial... OK\n  Applying sso.0002_expand_provider_options... OK\n  Applying taggit.0003_taggeditem_add_unique_index... OK", "stdout_lines": ["Operations to perform:", "  Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit", "Running migrations:", "  Applying contenttypes.0001_initial... OK", "  Applying contenttypes.0002_remove_content_type_name... OK", "  Applying taggit.0001_initial... OK", "  Applying taggit.0002_auto_20150616_2121... OK", "  Applying auth.0001_initial... OK", "  Applying main.0001_initial... OK", "  Applying main.0002_squashed_v300_release... OK", "  Applying main.0003_squashed_v300_v303_updates... OK", "  Applying main.0004_squashed_v310_release... OK", "  Applying conf.0001_initial... OK", "  Applying conf.0002_v310_copy_tower_settings... OK", "  Applying main.0005_squashed_v310_v313_updates... OK", "  Applying main.0006_v320_release... OK", "  Applying main.0007_v320_data_migrations... OK", "  Applying main.0008_v320_drop_v1_credential_fields... OK", "  Applying main.0009_v322_add_setting_field_for_activity_stream... OK", "  Applying main.0010_v322_add_ovirt4_tower_inventory... OK", "  Applying main.0011_v322_encrypt_survey_passwords... OK", "  Applying main.0012_v322_update_cred_types... OK", "  Applying main.0013_v330_multi_credential... OK", "  Applying auth.0002_alter_permission_name_max_length... OK", "  Applying auth.0003_alter_user_email_max_length... OK", "  Applying auth.0004_alter_user_username_opts... OK", "  Applying auth.0005_alter_user_last_login_null... OK", "  Applying auth.0006_require_contenttypes_0002... OK", "  Applying auth.0007_alter_validators_add_error_messages... OK", "  Applying auth.0008_alter_user_username_max_length... OK", "  Applying auth.0009_alter_user_last_name_max_length... OK", "  Applying auth.0010_alter_group_name_max_length... OK", "  Applying auth.0011_update_proxy_permissions... OK", "  Applying conf.0003_v310_JSONField_changes... OK", "  Applying conf.0004_v320_reencrypt... OK", "  Applying conf.0005_v330_rename_two_session_settings... OK", "  Applying conf.0006_v331_ldap_group_type... OK", "  Applying sessions.0001_initial... OK", "  Applying main.0014_v330_saved_launchtime_configs... OK", "  Applying main.0015_v330_blank_start_args... OK", "  Applying main.0016_v330_non_blank_workflow... OK", "  Applying main.0017_v330_move_deprecated_stdout... OK", "  Applying main.0018_v330_add_additional_stdout_events... OK", "  Applying main.0019_v330_custom_virtualenv... OK", "  Applying main.0020_v330_instancegroup_policies... OK", "  Applying main.0021_v330_declare_new_rbac_roles... OK", "  Applying main.0022_v330_create_new_rbac_roles... OK", "  Applying main.0023_v330_inventory_multicred... OK", "  Applying main.0024_v330_create_user_session_membership... OK", "  Applying main.0025_v330_add_oauth_activity_stream_registrar... OK", "  Applying oauth2_provider.0001_initial... OK", "  Applying main.0026_v330_delete_authtoken... OK", "  Applying main.0027_v330_emitted_events... OK", "  Applying main.0028_v330_add_tower_verify... OK", "  Applying main.0030_v330_modify_application... OK", "  Applying main.0031_v330_encrypt_oauth2_secret... OK", "  Applying main.0032_v330_polymorphic_delete... OK", "  Applying main.0033_v330_oauth_help_text... OK", "  Applying main.0034_v330_delete_user_role... OK", "  Applying main.0035_v330_more_oauth2_help_text... OK", "  Applying main.0036_v330_credtype_remove_become_methods... OK", "  Applying main.0037_v330_remove_legacy_fact_cleanup... OK", "  Applying main.0038_v330_add_deleted_activitystream_actor... OK", "  Applying main.0039_v330_custom_venv_help_text... OK", "  Applying main.0040_v330_unifiedjob_controller_node... OK", "  Applying main.0041_v330_update_oauth_refreshtoken... OK", "  Applying main.0042_v330_org_member_role_deparent... OK", "  Applying main.0043_v330_oauth2accesstoken_modified... OK", "  Applying main.0044_v330_add_inventory_update_inventory... OK", "  Applying main.0045_v330_instance_managed_by_policy... OK", "  Applying main.0046_v330_remove_client_credentials_grant... OK", "  Applying main.0047_v330_activitystream_instance... OK", "  Applying main.0048_v330_django_created_modified_by_model_name... OK", "  Applying main.0049_v330_validate_instance_capacity_adjustment... OK", "  Applying main.0050_v340_drop_celery_tables... OK", "  Applying main.0051_v340_job_slicing... OK", "  Applying main.0052_v340_remove_project_scm_delete_on_next_update... OK", "  Applying main.0053_v340_workflow_inventory... OK", "  Applying main.0054_v340_workflow_convergence... OK", "  Applying main.0055_v340_add_grafana_notification... OK", "  Applying main.0056_v350_custom_venv_history... OK", "  Applying main.0057_v350_remove_become_method_type... OK", "  Applying main.0058_v350_remove_limit_limit... OK", "  Applying main.0059_v350_remove_adhoc_limit... OK", "  Applying main.0060_v350_update_schedule_uniqueness_constraint... OK", "  Applying main.0061_v350_track_native_credentialtype_source... OK", "  Applying main.0062_v350_new_playbook_stats... OK", "  Applying main.0063_v350_org_host_limits... OK", "  Applying main.0064_v350_analytics_state... OK", "  Applying main.0065_v350_index_job_status... OK", "  Applying main.0066_v350_inventorysource_custom_virtualenv... OK", "  Applying main.0067_v350_credential_plugins... OK", "  Applying main.0068_v350_index_event_created... OK", "  Applying main.0069_v350_generate_unique_install_uuid... OK", "  Applying main.0070_v350_gce_instance_id... OK", "  Applying main.0071_v350_remove_system_tracking... OK", "  Applying main.0072_v350_deprecate_fields... OK", "  Applying main.0073_v360_create_instance_group_m2m... OK", "  Applying main.0074_v360_migrate_instance_group_relations... OK", "  Applying main.0075_v360_remove_old_instance_group_relations... OK", "  Applying main.0076_v360_add_new_instance_group_relations... OK", "  Applying main.0077_v360_add_default_orderings... OK", "  Applying main.0078_v360_clear_sessions_tokens_jt... OK", "  Applying main.0079_v360_rm_implicit_oauth2_apps... OK", "  Applying main.0080_v360_replace_job_origin... OK", "  Applying main.0081_v360_notify_on_start... OK", "  Applying main.0082_v360_webhook_http_method... OK", "  Applying main.0083_v360_job_branch_override... OK", "  Applying main.0084_v360_token_description... OK", "  Applying main.0085_v360_add_notificationtemplate_messages... OK", "  Applying main.0086_v360_workflow_approval... OK", "  Applying main.0087_v360_update_credential_injector_help_text... OK", "  Applying main.0088_v360_dashboard_optimizations... OK", "  Applying main.0089_v360_new_job_event_types... OK", "  Applying main.0090_v360_WFJT_prompts... OK", "  Applying main.0091_v360_approval_node_notifications... OK", "  Applying main.0092_v360_webhook_mixin... OK", "  Applying main.0093_v360_personal_access_tokens... OK", "  Applying main.0094_v360_webhook_mixin2... OK", "  Applying main.0095_v360_increase_instance_version_length... OK", "  Applying main.0096_v360_container_groups... OK", "  Applying main.0097_v360_workflowapproval_approved_or_denied_by... OK", "  Applying main.0098_v360_rename_cyberark_aim_credential_type... OK", "  Applying main.0099_v361_license_cleanup... OK", "  Applying main.0100_v370_projectupdate_job_tags... OK", "  Applying main.0101_v370_generate_new_uuids_for_iso_nodes... OK", "  Applying main.0102_v370_unifiedjob_canceled... OK", "  Applying main.0103_v370_remove_computed_fields... OK", "  Applying main.0104_v370_cleanup_old_scan_jts... OK", "  Applying main.0105_v370_remove_jobevent_parent_and_hosts... OK", "  Applying main.0106_v370_remove_inventory_groups_with_active_failures... OK", "  Applying main.0107_v370_workflow_convergence_api_toggle... OK", "  Applying main.0108_v370_unifiedjob_dependencies_processed... OK", "  Applying main.0109_v370_job_template_organization_field... OK", "  Applying main.0110_v370_instance_ip_address... OK", "  Applying main.0111_v370_delete_channelgroup... OK", "  Applying main.0112_v370_workflow_node_identifier... OK", "  Applying main.0113_v370_event_bigint... OK", "  Applying main.0114_v370_remove_deprecated_manual_inventory_sources... OK", "  Applying main.0115_v370_schedule_set_null... OK", "  Applying oauth2_provider.0002_08_updates... OK", "  Applying oauth2_provider.0003_auto_20160316_1503... OK", "  Applying oauth2_provider.0004_auto_20160525_1623... OK", "  Applying oauth2_provider.0005_auto_20170514_1141... OK", "  Applying oauth2_provider.0006_auto_20171214_2232... OK", "  Applying sites.0001_initial... OK", "  Applying sites.0002_alter_domain_unique... OK", "  Applying social_django.0001_initial... OK", "  Applying social_django.0002_add_related_name... OK", "  Applying social_django.0003_alter_email_max_length... OK", "  Applying social_django.0004_auto_20160423_0400... OK", "  Applying social_django.0005_auto_20160727_2333... OK", "  Applying social_django.0006_partial... OK", "  Applying social_django.0007_code_timestamp... OK", "  Applying social_django.0008_partial_timestamp... OK", "  Applying sso.0001_initial... OK", "  Applying sso.0002_expand_provider_options... OK", "  Applying taggit.0003_taggeditem_add_unique_index... OK"]}
TASK [awx_install : Checking for RBAC migration log] *******************************************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [awx_install : Moving RBAC migration log] *************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [awx_install : get the tower version] *****************************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage version", "delta": "0:00:00.740628", "end": "2020-07-15 07:53:15.582439", "rc": 0, "start": "2020-07-15 07:53:14.841811", "stderr": "", "stderr_lines": [], "stdout": "3.7.0", "stdout_lines": ["3.7.0"]}
TASK [awx_install : store the tower version] ***************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "decfe4a741808ff162a3556af7bda411d3d2454a", "dest": "/var/lib/awx/.tower_version", "gid": 0, "group": "root", "md5sum": "6bcc3684f18aa21874fa709f122723cf", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:var_lib_t:s0", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1594813995.670107-1390854-32800064828500/source", "state": "file", "uid": 0}
TASK [awx_install : Get configuration files to set permissions on] *****************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": "ls /etc/tower/conf.d/*.py", "delta": "0:00:00.004617", "end": "2020-07-15 07:53:16.437240", "rc": 0, "start": "2020-07-15 07:53:16.432623", "stderr": "", "stderr_lines": [], "stdout": "/etc/tower/conf.d/caching.py\n/etc/tower/conf.d/channels.py\n/etc/tower/conf.d/cluster_host_id.py\n/etc/tower/conf.d/container_groups.py\n/etc/tower/conf.d/insights.py\n/etc/tower/conf.d/postgres.py", "stdout_lines": ["/etc/tower/conf.d/caching.py", "/etc/tower/conf.d/channels.py", "/etc/tower/conf.d/cluster_host_id.py", "/etc/tower/conf.d/container_groups.py", "/etc/tower/conf.d/insights.py", "/etc/tower/conf.d/postgres.py"]}
TASK [awx_install : Clean up any poorly-permissioned Tower configuration files on upgrade] *****************************************************************************
ok: [localhost] => (item=/etc/tower/conf.d/caching.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/caching.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/caching.py", "secontext": "system_u:object_r:etc_t:s0", "size": 209, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/channels.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/channels.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/channels.py", "secontext": "system_u:object_r:etc_t:s0", "size": 60, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/cluster_host_id.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/cluster_host_id.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/cluster_host_id.py", "secontext": "system_u:object_r:etc_t:s0", "size": 192, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/container_groups.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/container_groups.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/container_groups.py", "secontext": "system_u:object_r:etc_t:s0", "size": 80, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/insights.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/insights.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/insights.py", "secontext": "system_u:object_r:etc_t:s0", "size": 309, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/postgres.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/conf.d/postgres.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/postgres.py", "secontext": "system_u:object_r:etc_t:s0", "size": 410, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/settings.py) => {"ansible_loop_var": "item", "changed": false, "gid": 968, "group": "awx", "item": "/etc/tower/settings.py", "mode": "0640", "owner": "root", "path": "/etc/tower/settings.py", "secontext": "system_u:object_r:etc_t:s0", "size": 1603, "state": "file", "uid": 0}
TASK [awx_install : Check for Tower Super users] ***********************************************************************************************************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "echo \"from django.contrib.auth.models import User; nsu = User.objects.filter(is_superuser=True).count(); exit(0 if nsu > 0 else 1)\" | awx-manage shell", "delta": "0:00:02.734184", "end": "2020-07-15 07:53:21.607740", "msg": "non-zero return code", "rc": 1, "start": "2020-07-15 07:53:18.873556", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
...ignoring
TASK [awx_install : create django super user if it does not exist] *****************************************************************************************************
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [awx_install : update django super user password] *****************************************************************************************************************
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [awx_install : Collect static files for Tower.] *******************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "umask 022 && awx-manage collectstatic --noinput --clear -v0", "delta": "0:00:02.841266", "end": "2020-07-15 07:53:32.997958", "rc": 0, "start": "2020-07-15 07:53:30.156692", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [awx_install : Fixup tower log directory permissions post-migration] **********************************************************************************************
changed: [localhost] => {"changed": true, "gid": 968, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "secontext": "system_u:object_r:var_log_t:s0", "size": 229, "state": "directory", "uid": 968}
TASK [awx_install : Add ansible-runner cgroup config] ******************************************************************************************************************
changed: [localhost] => {"changed": true, "msg": "Block inserted"}
TASK [awx_install : Enable, start cgconfig service] ********************************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "cgconfig", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "basic.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "no", "Delegate": "yes", "DelegateControllers": "cpu cpuacct cpuset io blkio memory devices pids", "Description": "Control Group configuration service", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/cgconfigparser ; argv[]=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -s 1664 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/cgclear ; argv[]=/usr/sbin/cgclear -l /etc/cgconfig.conf -e ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/cgconfig.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "cgconfig.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "cgconfig.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [supervisor : include supervisor variables] ***********************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/supervisor/vars/../vars/default.yml) => {"ansible_facts": {"uwsgi_bash": "bash -c"}, "ansible_included_var_files": ["/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/supervisor/vars/default.yml"], "ansible_loop_var": "item", "changed": false, "item": "/root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/supervisor/vars/../vars/default.yml"}
TASK [supervisor : include_tasks] **************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/supervisor/tasks/tasks.yml for localhost
TASK [supervisor : install supervisor config] **************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "24bc2c586c83a05d5c2824f3f82d608c0036b009", "dest": "/etc/supervisord.d/tower.ini", "gid": 0, "group": "root", "md5sum": "69907666f78fc497efdab85849580fa1", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 2896, "src": "/root/.ansible/tmp/ansible-tmp-1594814014.7883997-1391234-21686193919798/source", "state": "file", "uid": 0}
TASK [supervisor : Recreate systemd tmp files] *************************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["systemd-tmpfiles", "--create"], "delta": "0:00:00.060420", "end": "2020-07-15 07:53:35.608863", "rc": 0, "start": "2020-07-15 07:53:35.548443", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [supervisor : start/enable supervisord process] *******************************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "supervisord", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target systemd-journald.socket sysinit.target -.mount rc-local.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target ansible-tower.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/supervisord.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/supervisord ; argv[]=/usr/bin/supervisord -c /etc/supervisord.conf ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/supervisord.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/run/supervisor", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "supervisor", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:50:15 EDT", "StateChangeTimestampMonotonic": "662006271086", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WantedBy": "ansible-tower.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [supervisor : Wait for the supervisor socket] *********************************************************************************************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "gid": 968, "group": "awx", "match_groupdict": {}, "match_groups": [], "mode": "0700", "owner": "awx", "path": "/var/run/supervisor/supervisor.sock", "port": null, "search_regex": null, "secontext": "system_u:object_r:var_run_t:s0", "size": 0, "state": "file", "uid": 968}
TASK [supervisor : reload supervisord configuration via supervisorctl] *************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["supervisorctl", "reload"], "delta": "0:00:00.369051", "end": "2020-07-15 07:53:37.661005", "rc": 0, "start": "2020-07-15 07:53:37.291954", "stderr": "", "stderr_lines": [], "stdout": "Restarted supervisord", "stdout_lines": ["Restarted supervisord"]}
TASK [nginx : include_tasks] *******************************************************************************************************************************************
included: /root/ansible-tower-setup-bundle-3.7.0-4/ansible-tower-setup-bundle-3.7.0-4/roles/nginx/tasks/tasks.yml for localhost
TASK [nginx : Open up permissions on nginx.] ***************************************************************************************************************************
changed: [localhost] => (item=httpd_can_network_connect) => {"ansible_loop_var": "item", "changed": true, "item": "httpd_can_network_connect", "name": "httpd_can_network_connect", "persistent": true, "state": true}
TASK [nginx : Copy SSL certificate] ************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : Copy SSL private key] ************************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : Create temporary directory for openssl config] ***********************************************************************************************************
changed: [localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.zobs63ugtower_openssl", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [nginx : copy openssl config] *************************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "e9d7965fb9e0b6cada153445cd5cd585cf9e0909", "dest": "/tmp/ansible.zobs63ugtower_openssl/openssl.cnf", "gid": 968, "group": "awx", "md5sum": "07469edc6d400509cb4dbc55de8c31b0", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 300, "src": "/root/.ansible/tmp/ansible-tmp-1594814022.9776666-1391452-219201889453997/source", "state": "file", "uid": 0}
TASK [nginx : create self signed SSL certificates] *********************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["openssl", "req", "-x509", "-nodes", "-sha256", "-days", "824", "-newkey", "rsa:2048", "-keyout", "/etc/tower/tower.key", "-out", "/etc/tower/tower.cert", "-config", "/tmp/ansible.zobs63ugtower_openssl/openssl.cnf"], "delta": "0:00:00.129508", "end": "2020-07-15 07:53:44.987212", "rc": 0, "start": "2020-07-15 07:53:44.857704", "stderr": "Generating a RSA private key\n.............+++++\n............+++++\nwriting new private key to '/etc/tower/tower.key'\n-----", "stderr_lines": ["Generating a RSA private key", ".............+++++", "............+++++", "writing new private key to '/etc/tower/tower.key'", "-----"], "stdout": "", "stdout_lines": []}
TASK [nginx : set permissions on self-signed SSL certificate] **********************************************************************************************************
changed: [localhost] => (item=/etc/tower/tower.cert) => {"ansible_loop_var": "item", "changed": true, "gid": 968, "group": "awx", "item": "/etc/tower/tower.cert", "mode": "0600", "owner": "root", "path": "/etc/tower/tower.cert", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1078, "state": "file", "uid": 0}
changed: [localhost] => (item=/etc/tower/tower.key) => {"ansible_loop_var": "item", "changed": true, "gid": 968, "group": "awx", "item": "/etc/tower/tower.key", "mode": "0600", "owner": "root", "path": "/etc/tower/tower.key", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1704, "state": "file", "uid": 0}
TASK [nginx : slurp self-signed SSL certificate] ***********************************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [nginx : slurp self-signed SSL key] *******************************************************************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [nginx : Remove the temporary openssl config directory and file] **************************************************************************************************
changed: [localhost] => {"changed": true, "path": "/tmp/ansible.zobs63ugtower_openssl", "state": "absent"}
TASK [nginx : place self-signed SSL certificates] **********************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : place self-signed SSL key file] **************************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : Install Tower nginx.conf] ********************************************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "55b6687e289a40e6171158e8d2ca4ac56cc6506d", "dest": "/etc/nginx/nginx.conf", "gid": 0, "group": "root", "md5sum": "0e432cf1109f55e473b294740d635242", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:httpd_config_t:s0", "size": 5127, "src": "/root/.ansible/tmp/ansible-tmp-1594814028.5093215-1391595-126969677044408/source", "state": "file", "uid": 0}
TASK [nginx : start nginx and configure to startup automatically] ******************************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "nginx", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target nss-lookup.target systemd-tmpfiles-setup.service -.mount system.slice tmp.mount remote-fs.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target ansible-tower.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The nginx HTTP and reverse proxy server", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/nginx.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -t ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/nginx.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "nginx.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "3", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "nginx.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/nginx.pid", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice -.mount", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:50:15 EDT", "StateChangeTimestampMonotonic": "662006260758", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "5s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "UtmpMode": "init", "WantedBy": "ansible-tower.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [misc : If Ansible does not provide a system UUID, get a random one.] *********************************************************************************************
ok: [localhost] => {"changed": false, "cmd": "echo 'import uuid; print(uuid.uuid4())' | awx-python", "delta": "0:00:00.078968", "end": "2020-07-15 07:53:50.285709", "rc": 0, "start": "2020-07-15 07:53:50.206741", "stderr": "", "stderr_lines": [], "stdout": "479a79e3-3423-45ea-b221-d737cc14fcf2", "stdout_lines": ["479a79e3-3423-45ea-b221-d737cc14fcf2"]}
TASK [misc : Remove the old celeryd.py config file (if it exists)] *****************************************************************************************************
ok: [localhost] => {"changed": false, "path": "/etc/tower/conf.d/celeryd.py", "state": "absent"}
TASK [misc : Write a ha.conf file to /etc/tower that contains the system UUID.] ****************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "26824825253ab3aff7944c1260656c1bfbac651d", "dest": "/etc/tower/conf.d/ha.py", "gid": 968, "group": "awx", "md5sum": "e034c5a6ff39a7a6fa27718448fc2f6f", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 97, "src": "/root/.ansible/tmp/ansible-tmp-1594814030.682119-1391713-85234235386869/source", "state": "file", "uid": 0}
TASK [misc : Register the tower instance in the database.] *************************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage provision_instance --hostname=\"localhost\"", "delta": "0:00:04.286196", "end": "2020-07-15 07:53:55.771763", "rc": 0, "start": "2020-07-15 07:53:51.485567", "stderr": "", "stderr_lines": [], "stdout": "Successfully registered instance localhost\n(changed: True)", "stdout_lines": ["Successfully registered instance localhost", "(changed: True)"]}
TASK [misc : Register tower instance groups.] **************************************************************************************************************************
skipping: [localhost] => (item=all)  => {"ansible_loop_var": "item", "changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=ungrouped)  => {"ansible_loop_var": "item", "changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
changed: [localhost] => (item=tower) => {"ansible_loop_var": "item", "changed": true, "cmd": "awx-manage register_queue --queuename=\"tower\" --hostnames=\"localhost\"\n", "delta": "0:00:07.614681", "end": "2020-07-15 07:54:04.283603", "item": "tower", "rc": 0, "start": "2020-07-15 07:53:56.668922", "stderr": "", "stderr_lines": [], "stdout": "Creating instance group tower\nAdded instance localhost to tower\n(changed: True)", "stdout_lines": ["Creating instance group tower", "Added instance localhost to tower", "(changed: True)"]}
skipping: [localhost] => (item=database)  => {"ansible_loop_var": "item", "changed": false, "item": "database", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=CentOS_8)  => {"ansible_loop_var": "item", "changed": false, "item": "CentOS_8", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"ansible_loop_var": "item", "changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
TASK [misc : Create the default organization if it is needed.] *********************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage create_preload_data", "delta": "0:00:15.616073", "end": "2020-07-15 07:54:20.801145", "rc": 0, "start": "2020-07-15 07:54:05.185072", "stderr": "", "stderr_lines": [], "stdout": "Default organization added.\nDemo Credential, Inventory, and Job Template added.\n(changed: True)", "stdout_lines": ["Default organization added.", "Demo Credential, Inventory, and Job Template added.", "(changed: True)"]}
RUNNING HANDLER [supervisor : restart supervisor] **********************************************************************************************************************
changed: [localhost] => {
    "msg": "Restarting supervisor."
}
RUNNING HANDLER [supervisor : Stop supervisor.] ************************************************************************************************************************
changed: [localhost] => {"changed": true, "name": "supervisord", "state": "stopped", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ActiveEnterTimestampMonotonic": "662207118538", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice -.mount systemd-journald.socket rc-local.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:53:36 EDT", "AssertTimestampMonotonic": "662206773943", "Before": "shutdown.target multi-user.target ansible-tower.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ConditionTimestampMonotonic": "662206773943", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/supervisord.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/supervisord.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1391329", "ExecMainStartTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ExecMainStartTimestampMonotonic": "662207118515", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/supervisord ; argv[]=/usr/bin/supervisord -c /etc/supervisord.conf ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/supervisord.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2020-07-15 07:53:36 EDT", "InactiveExitTimestampMonotonic": "662206776234", "InvocationID": "a2c5cd6922074b8d89fcabb0b8f0a80c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1391329", "MemoryAccounting": "yes", "MemoryCurrent": "1127059456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/run/supervisor", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "supervisor", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:53:36 EDT", "StateChangeTimestampMonotonic": "662207118538", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "34", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target ansible-tower.service", "WatchdogTimestamp": "Wed 2020-07-15 07:53:36 EDT", "WatchdogTimestampMonotonic": "662207118537", "WatchdogUSec": "0"}}
RUNNING HANDLER [supervisor : Wait for supervisor to stop.] ************************************************************************************************************
ok: [localhost] => {"attempts": 1, "changed": false, "stat": {"exists": false}}
RUNNING HANDLER [supervisor : Start supervisor.] ***********************************************************************************************************************
changed: [localhost] => {"changed": true, "name": "supervisord", "state": "started", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ActiveEnterTimestampMonotonic": "662207118538", "ActiveExitTimestamp": "Wed 2020-07-15 07:54:21 EDT", "ActiveExitTimestampMonotonic": "662252227332", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice -.mount systemd-journald.socket rc-local.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:53:36 EDT", "AssertTimestampMonotonic": "662206773943", "Before": "shutdown.target multi-user.target ansible-tower.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ConditionTimestampMonotonic": "662206773943", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/supervisord.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "1", "ExecMainExitTimestamp": "Wed 2020-07-15 07:54:24 EDT", "ExecMainExitTimestampMonotonic": "662255284212", "ExecMainPID": "1391329", "ExecMainStartTimestamp": "Wed 2020-07-15 07:53:36 EDT", "ExecMainStartTimestampMonotonic": "662207118515", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/supervisord ; argv[]=/usr/bin/supervisord -c /etc/supervisord.conf ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/supervisord.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Wed 2020-07-15 07:54:24 EDT", "InactiveEnterTimestampMonotonic": "662255284357", "InactiveExitTimestamp": "Wed 2020-07-15 07:53:36 EDT", "InactiveExitTimestampMonotonic": "662206776234", "InvocationID": "a2c5cd6922074b8d89fcabb0b8f0a80c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice -.mount sysinit.target", "RequiresMountsFor": "/run/supervisor", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectory": "supervisor", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:54:24 EDT", "StateChangeTimestampMonotonic": "662255284357", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target ansible-tower.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
RUNNING HANDLER [nginx : restart nginx] ********************************************************************************************************************************
changed: [localhost] => {"changed": true, "name": "nginx", "state": "started", "status": {"ActiveEnterTimestamp": "Wed 2020-07-15 07:53:49 EDT", "ActiveEnterTimestampMonotonic": "662220334901", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket remote-fs.target sysinit.target system.slice nss-lookup.target systemd-tmpfiles-setup.service network.target -.mount basic.target tmp.mount", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2020-07-15 07:53:49 EDT", "AssertTimestampMonotonic": "662220279922", "Before": "shutdown.target multi-user.target ansible-tower.service", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2020-07-15 07:53:49 EDT", "ConditionTimestampMonotonic": "662220279921", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/nginx.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The nginx HTTP and reverse proxy server", "DevicePolicy": "auto", "DropInPaths": "/etc/systemd/system/nginx.service.d/override.conf", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "1391669", "ExecMainStartTimestamp": "Wed 2020-07-15 07:53:49 EDT", "ExecMainStartTimestampMonotonic": "662220334875", "ExecMainStatus": "0",
"ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -s HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:53:49 EDT] ; stop_time=[Wed 2020-07-15 07:53:49 EDT] ; pid=1391668 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -t ; ignore_errors=no ; start_time=[Wed 2020-07-15 07:53:49 EDT] ; stop_time=[Wed 2020-07-15 07:53:49 EDT] ; pid=1391666 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/nginx.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "nginx.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2020-07-15 07:53:49 EDT", "InactiveExitTimestampMonotonic": "662220282212", "InvocationID": "6ab8d713ec854a31b834d914f9d95570", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "3", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "1391669", "MemoryAccounting": "yes", "MemoryCurrent": "5996544", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "nginx.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/nginx.pid", "PartOf": "ansible-tower.service", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target -.mount system.slice", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:53:49 EDT", "StateChangeTimestampMonotonic": "662220334901", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "5", "TasksMax": "49625", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "5s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target ansible-tower.service", "WatchdogTimestamp": "Wed 2020-07-15 07:53:49 EDT", "WatchdogTimestampMonotonic": "662220334899", "WatchdogUSec": "0"}}
TASK [Start the ansible-tower service] *********************************************************************************************************************************
changed: [localhost] => {"changed": true, "name": "ansible-tower", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket nginx.service basic.target postgresql.service network.target supervisord.service redis.service sysinit.target memcached.service", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ConsistsOf": "supervisord.service postgresql.service memcached.service redis.service nginx.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Ansible Tower service", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/bin/true ; argv[]=/bin/true ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/ansible-tower.service", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "ansible-tower.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "31016", "LimitNPROCSoft": "31016", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "31016", "LimitSIGPENDINGSoft": "31016", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "ansible-tower.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "yes", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Wed 2020-07-15 07:50:15 EDT", "StateChangeTimestampMonotonic": "662006277462", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "49625", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "UtmpMode": "init", "WantedBy": "multi-user.target", "Wants": "postgresql.service nginx.service memcached.service supervisord.service redis.service", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
PLAY [Install Tower isolated node(s)] **********************************************************************************************************************************
skipping: no hosts matched
PLAY RECAP *************************************************************************************************************************************************************
localhost                  : ok=159  changed=85   unreachable=0    failed=0    skipped=66   rescued=0    ignored=2
The setup process completed successfully.
Setup log saved to /var/log/tower/setup-2020-07-15-07:43:45.log.




Step 4: Configure Ansible Tower
You can configure Ansible Tower using:
  • CLI
  • RESTful API
  • Web UI
We will use the Web UI since this is the most preferred method by most new Ansible Tower users. Open your favorite browser point to your Ansible Tower server IP or hostname via https protocol.
image

Login as admin user and password set in the inventory file.
Once you are logged in, you need to configure Ansible Tower license. Browse to the license file and accept the terms. If you don’t have a license, get trial one here.
image

Ansible Tower offers various REST API to integrate with other tools. I had come across the scenario where the playbook needs to update tower inventory after provisioning cloud instance. tower-cli is one of the methods to update/import inventory on ansible tower but at the time of writing this article, tower-cli is not supported by Red Hat. After a few research, I found the way to update inventory using API and also adding the host in multiple groups.
Add a new ansible client on Tower using API:
1. Login to Ansible tower and navigate to inventory to find out the group id. Just hover the mouse on the inventory group to know the group id.
2. Let’s assume that group id is 1. Here is the ansible task block which will add the passing variables in tower inventory. Return code is going to be 201 for adding the host for the first time on the tower. Create the playbook with the following content. (add_ansible_tower.yaml). Replace tower host URL with yours.

---
- hosts: localhost

  tasks:
    - name: Update Ansible Tower inventory
      uri:
       url: https://tower.example.com/api/v2/groups/{{GROUP1}}/hosts/
       user: admin
       password: test@123
       method: POST
       body: '{ "name" : "{{FQDN}}" }'
       force_basic_auth: yes
       status_code: 201
       body_format: son
       validate_certs: no
3. Execute the playbook with required variables.
# ansible-playbook add_ansible_tower.yaml -e FQDN=test4.example.com -e GROUP1=1
How to add the host into multiple ansible tower groups?
1. Here is the block of code which adds the hosts in to multiple group. URI status code should be 204 for invoking api for second time to add the host in to other groups.
---
- hosts: localhost

  tasks:
   - name: Update Ansible Tower inventory to the first group
     uri:
      url: https://tower.example.com/api/v2/groups/{{GROUP1}}/hosts/
      user: admin
      password: test@123
      method: POST
      body: '{ "name" : "{{FQDN}}" }'
      force_basic_auth: yes
      status_code: 201
      body_format: json
      validate_certs: no
   
   - name: Update Ansible Tower inventory to other groups
     uri:
      url: https://unixarena.tower.com/api/v2/groups/{{item}}/hosts/
      user: admin
      password: test@123
      method: POST
      body: '{ "name" : "{{FQDN}}" }'
      force_basic_auth: yes
      status_code: 204
      body_format: json
      validate_certs: no
     with_items:
            - "{{GROUP2}}"
            - "{{GROUP3}}"

2. Execute the playbook to add the new ansible client in to multiple groups.
$ ansible-playbook add_hosts_multiple_towergroup.yaml -e  FQDN=test1.example.com -e GROUP1=1 -e GROUP2=4 -e GROUP3=6
Struggling to find group id’s ?

Option: 1
Navigate to API URL for groups to find the group id. https://tower.example.com/api/v2/groups/
Option: 2
Login to tower and hover the mouse on top the group to know the group id.


Tower inventory – Find Group ID

1 Comments

  1. How To Install And Configure Ansible Tower On Centos 8 / Rhel 8 ~ System Admin Share >>>>> Download Now

    >>>>> Download Full

    How To Install And Configure Ansible Tower On Centos 8 / Rhel 8 ~ System Admin Share >>>>> Download LINK

    >>>>> Download Now

    How To Install And Configure Ansible Tower On Centos 8 / Rhel 8 ~ System Admin Share >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete
Previous Post Next Post