ANSIBLE TOWER SETUP



[root@localhost ansible-tower-setup-3.3.2-1]# ./setup.sh
Using /etc/ansible/ansible.cfg as config file
/root/ansible-tower-setup-3.3.2-1/inventory did not meet host_list requirements, check plugin documentation if this is unexpected
/root/ansible-tower-setup-3.3.2-1/inventory did not meet script requirements, check plugin documentation if this is unexpected
 [WARNING]: Could not match supplied host pattern, ignoring: instance_group_*


                                         1.9 MB/s | 105 MB  00:55     \nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7\nRetrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-ansible-release\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n  Installing : 1:perl-Error-0.17020-2.el7.noarch                           1/31 \n  Installing : perl-TermReadKey-2.30-20.el7.x86_64                         2/31 \n  Installing : git-1.8.3.1-20.el7.x86_64                                   3/31 \n  Installing : perl-Git-1.8.3.1-20.el7.noarch                              4/31 \n  Installing : libtommath-0.42.0-6.el7.x86_64                              5/31 \n  Installing : libtomcrypt-1.17-26.el7.x86_64                              6/31 \n  Installing : python2-crypto-2.6.1-15.el7.x86_64                          7/31 \n  Installing : 1:nginx-filesystem-1.12.2-2.el7.noarch                      8/31 \n  Installing : 1:nginx-mod-http-xslt-filter-1.12.2-2.el7.x86_64            9/31 \n  Installing : 1:nginx-mod-stream-1.12.2-2.el7.x86_64                     10/31 \n  Installing : 1:nginx-mod-mail-1.12.2-2.el7.x86_64                       11/31 \n  Installing : 1:nginx-mod-http-image-filter-1.12.2-2.el7.x86_64          12/31 \n  Installing : 1:nginx-mod-http-perl-1.12.2-2.el7.x86_64                  13/31 \n  Installing : 1:nginx-1.12.2-2.el7.x86_64                                14/31 \n  Installing : 1:nginx-mod-http-geoip-1.12.2-2.el7.x86_64                 15/31 \n  Installing : 1:nginx-all-modules-1.12.2-2.el7.noarch                    16/31 \n  Installing : bubblewrap-0.3.0-1.el7.x86_64                              17/31 \n  Installing : postgresql96-9.6.11-1PGDG.rhel7.x86_64                     18/31 \n  Installing : python-meld3-0.6.10-1.el7.x86_64                           19/31 \n  Installing : supervisor-3.1.4-1.el7.noarch                              20/31 \n  Installing : python-devel-2.7.5-76.el7.x86_64                           21/31 \n  Installing : python-virtualenv-15.1.0-2.el7.noarch                      22/31 \n  Installing : ansible-tower-venv-ansible-3.3.2-1.el7.x86_64              23/31 \n  Installing : ansible-tower-venv-tower-3.3.2-1.el7.x86_64                24/31 \n  Installing : memcached-1.4.15-10.el7_3.1.x86_64                         25/31 \n  Installing : mercurial-2.6.2-8.el7_4.x86_64                             26/31 \n  Installing : subversion-libs-1.7.14-14.el7.x86_64                       27/31 \n  Installing : subversion-1.7.14-14.el7.x86_64                            28/31 \n  Installing : ansible-tower-server-3.3.2-1.el7.x86_64                    29/31 \ntower not found\n  Installing : ansible-tower-ui-3.3.2-1.el7.x86_64                        30/31 \n  Installing : ansible-tower-3.3.2-1.el7.x86_64                           31/31 \n  Verifying  : subversion-libs-1.7.14-14.el7.x86_64                        1/31 \n  Verifying  : mercurial-2.6.2-8.el7_4.x86_64                              2/31 \n  Verifying  : 1:nginx-mod-http-geoip-1.12.2-2.el7.x86_64                  3/31 \n  Verifying  : ansible-tower-3.3.2-1.el7.x86_64                            4/31 \n  Verifying  : 1:nginx-1.12.2-2.el7.x86_64                                 5/31 \n  Verifying  : 1:nginx-mod-http-xslt-filter-1.12.2-2.el7.x86_64            6/31 \n  Verifying  : 1:nginx-mod-stream-1.12.2-2.el7.x86_64                      7/31 \n  Verifying  : subversion-1.7.14-14.el7.x86_64                             8/31 \n  Verifying  : ansible-tower-venv-ansible-3.3.2-1.el7.x86_64               9/31 \n  Verifying  : memcached-1.4.15-10.el7_3.1.x86_64                         10/31 \n  Verifying  : python-devel-2.7.5-76.el7.x86_64                           11/31 \n  Verifying  : perl-Git-1.8.3.1-20.el7.noarch                             12/31 \n  Verifying  : python-meld3-0.6.10-1.el7.x86_64                           13/31 \n  Verifying  : postgresql96-9.6.11-1PGDG.rhel7.x86_64                     14/31 \n  Verifying  : ansible-tower-venv-tower-3.3.2-1.el7.x86_64                15/31 \n  Verifying  : bubblewrap-0.3.0-1.el7.x86_64                              16/31 \n  Verifying  : 1:nginx-all-modules-1.12.2-2.el7.noarch                    17/31 \n  Verifying  : 1:nginx-filesystem-1.12.2-2.el7.noarch                     18/31 \n  Verifying  : supervisor-3.1.4-1.el7.noarch                              19/31 \n  Verifying  : 1:perl-Error-0.17020-2.el7.noarch                          20/31 \n  Verifying  : git-1.8.3.1-20.el7.x86_64                                  21/31 \n  Verifying  : libtommath-0.42.0-6.el7.x86_64                             22/31 \n  Verifying  : 1:nginx-mod-mail-1.12.2-2.el7.x86_64                       23/31 \n  Verifying  : python-virtualenv-15.1.0-2.el7.noarch                      24/31 \n  Verifying  : 1:nginx-mod-http-image-filter-1.12.2-2.el7.x86_64          25/31 \n  Verifying  : ansible-tower-server-3.3.2-1.el7.x86_64                    26/31 \n  Verifying  : python2-crypto-2.6.1-15.el7.x86_64                         27/31 \n  Verifying  : perl-TermReadKey-2.30-20.el7.x86_64                        28/31 \n  Verifying  : 1:nginx-mod-http-perl-1.12.2-2.el7.x86_64                  29/31 \n  Verifying  : ansible-tower-ui-3.3.2-1.el7.x86_64                        30/31 \n  Verifying  : libtomcrypt-1.17-26.el7.x86_64                             31/31 \n\nInstalled:\n  ansible-tower.x86_64 0:3.3.2-1.el7                                            \n\nDependency Installed:\n  ansible-tower-server.x86_64 0:3.3.2-1.el7                                     \n  ansible-tower-ui.x86_64 0:3.3.2-1.el7                                         \n  ansible-tower-venv-ansible.x86_64 0:3.3.2-1.el7                               \n  ansible-tower-venv-tower.x86_64 0:3.3.2-1.el7                                 \n  bubblewrap.x86_64 0:0.3.0-1.el7                                               \n  git.x86_64 0:1.8.3.1-20.el7                                                   \n  libtomcrypt.x86_64 0:1.17-26.el7                                              \n  libtommath.x86_64 0:0.42.0-6.el7                                              \n  memcached.x86_64 0:1.4.15-10.el7_3.1                                          \n  mercurial.x86_64 0:2.6.2-8.el7_4                                              \n  nginx.x86_64 1:1.12.2-2.el7                                                   \n  nginx-all-modules.noarch 1:1.12.2-2.el7                                       \n  nginx-filesystem.noarch 1:1.12.2-2.el7                                        \n  nginx-mod-http-geoip.x86_64 1:1.12.2-2.el7                                    \n  nginx-mod-http-image-filter.x86_64 1:1.12.2-2.el7                             \n  nginx-mod-http-perl.x86_64 1:1.12.2-2.el7                                     \n  nginx-mod-http-xslt-filter.x86_64 1:1.12.2-2.el7                              \n  nginx-mod-mail.x86_64 1:1.12.2-2.el7                                          \n  nginx-mod-stream.x86_64 1:1.12.2-2.el7                                        \n  perl-Error.noarch 1:0.17020-2.el7                                             \n  perl-Git.noarch 0:1.8.3.1-20.el7                                              \n  perl-TermReadKey.x86_64 0:2.30-20.el7                                         \n  postgresql96.x86_64 0:9.6.11-1PGDG.rhel7                                      \n  python-devel.x86_64 0:2.7.5-76.el7                                            \n  python-meld3.x86_64 0:0.6.10-1.el7                                            \n  python-virtualenv.noarch 0:15.1.0-2.el7                                       \n  python2-crypto.x86_64 0:2.6.1-15.el7                                          \n  subversion.x86_64 0:1.7.14-14.el7                                             \n  subversion-libs.x86_64 0:1.7.14-14.el7                                        \n  supervisor.noarch 0:3.1.4-1.el7                                               \n\nComplete!\n"]}

TASK [packages_el : Upgrade Ansible] *******************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : Check to see if Postgres is installed] *********************************************************************************
fatal: [localhost]: FAILED! => {"msg": "Failed to change ownership of the temporary files Ansible needs to create despite connecting as a privileged user. Unprivileged become user would be unable to read the file."}
...ignoring

TASK [packages_el : Set upgrade flag if Postgres is installed and not at version 9.6] ******************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|failed` use `result is failed`. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : Install postgres] ******************************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: u'{{ postgresql_packages }}'` and remove the loop. This feature will be
 removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => (item=[u'postgresql96-server', u'postgresql96-contrib']) => {"changed": false, "item": ["postgresql96-server", "postgresql96-contrib"], "msg": "Existing lock /var/run/yum.pid: another copy is running as pid 26470.\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:04 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:06 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:08 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:10 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:12 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 161 M RSS (535 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:14 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 158 M RSS (533 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:16 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 207 M RSS (581 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:18 ago\n    State  : Running, pid: 26470\nAnother app is currently holding the yum lock; waiting for it to exit...\n  The other application is: yum\n    Memory : 221 M RSS (596 MB VSZ)\n    Started: Tue Dec 18 10:54:19 2018 - 01:20 ago\n    State  : Running, pid: 26470\n", "rc": 0, "results": ["Loaded plugins: langpacks, product-id, search-disabled-repos, subscription-\n              : manager\nPackage postgresql96-server-9.6.11-1PGDG.rhel7.x86_64 already installed and latest version\nPackage postgresql96-contrib-9.6.11-1PGDG.rhel7.x86_64 already installed and latest version\nNothing to do\n"]}

TASK [packages_el : Stop postgres 9.4] *****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : init postgresql (el-only)] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : pg_upgrade] ************************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_el : Uninstall Postgres 9.4] ************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : include_vars] ******************************************************************************************************
skipping: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/packages_ubuntu/vars/../vars/default.yml)  => {"changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/packages_ubuntu/vars/../vars/default.yml", "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Remove Django if installed via. apt.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : install apt repository keys] ***************************************************************************************

TASK [packages_ubuntu : Install apt repositories] ******************************************************************************************

TASK [packages_ubuntu : Install playbook dependencies] *************************************************************************************

TASK [packages_ubuntu : Check for custom ui logo] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Check for custom ui settings] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Move away custom ui logo] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Move away custom ui settings] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Install ubuntu Tower apt repository.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : A secret key may already exist; test if it does.] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : If a secret key already exists, read it into memory.] **************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Install Tower package with the apt module.] ************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Upgrade Ansible] ***************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Restore the secret key.] *******************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Remove Tower apt repository configuration.] ************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Update apt cache] **************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Check to see if Postgres is installed] *****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Set upgrade flag if Postgres is installed and not at version 9.6] **************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Install postgres] **************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: [u'postgresql-9.6']` and remove the loop. This feature will be removed
in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[])  => {"changed": false, "item": [], "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Stop postgres] *****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Symlink pg config] *************************************************************************************************
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.4/main/postgresql.conf', u'src': u'/etc/postgresql/9.4/main/postgresql.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.4/main/postgresql.conf", "src": "/etc/postgresql/9.4/main/postgresql.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.4/main/pg_hba.conf', u'src': u'/etc/postgresql/9.4/main/pg_hba.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.4/main/pg_hba.conf", "src": "/etc/postgresql/9.4/main/pg_hba.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.6/main/postgresql.conf', u'src': u'/etc/postgresql/9.6/main/postgresql.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.6/main/postgresql.conf", "src": "/etc/postgresql/9.6/main/postgresql.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.6/main/pg_hba.conf', u'src': u'/etc/postgresql/9.6/main/pg_hba.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.6/main/pg_hba.conf", "src": "/etc/postgresql/9.6/main/pg_hba.conf"}, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Ensure conf.d directories exists] **********************************************************************************
skipping: [localhost] => (item=/var/lib/postgresql/9.4/main/conf.d)  => {"changed": false, "item": "/var/lib/postgresql/9.4/main/conf.d", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=/var/lib/postgresql/9.6/main/conf.d)  => {"changed": false, "item": "/var/lib/postgresql/9.6/main/conf.d", "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : pg_upgrade] ********************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Uninstall Postgresql 9.4] ******************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: [u'postgresql-9.4', u'postgresql-client-9.4', u'postgresql-
contrib-9.4']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[])  => {"changed": false, "item": [], "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Make sure Postgres starts on the expected port] ********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : include_vars] *************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"pg_conf_dir": "/var/lib/pgsql/9.6/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "postgres_init_name": "postgresql-9.6"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml"}

TASK [postgres : init postgresql (el-only)] ************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["/usr/pgsql-9.6/bin/postgresql96-setup", "initdb"], "delta": "0:00:04.432824", "end": "2018-12-18 10:55:52.055578", "rc": 0, "start": "2018-12-18 10:55:47.622754", "stderr": "", "stderr_lines": [], "stdout": "Initializing database ... OK", "stdout_lines": ["Initializing database ... OK"]}

TASK [postgres : Make sure PostgreSQL is started] ******************************************************************************************
changed: [localhost] => {"changed": true, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "syslog.target network.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "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/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/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/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; 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-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "Wants": "system.slice", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}

TASK [postgres : Wait for PostgreSQL to start if it wasnt] *********************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => {"changed": false, "elapsed": 0, "path": null, "port": 5432, "search_regex": null, "state": "started"}

TASK [postgres : Update postgresql authentication settings] ********************************************************************************
changed: [localhost] => {"changed": true, "checksum": "d050f8274268b3bd4037e9516b2255ff93431545", "dest": "/var/lib/pgsql/9.6/data/pg_hba.conf", "gid": 26, "group": "postgres", "md5sum": "474c18732641bbaabeeb94654d8ef50c", "mode": "0600", "owner": "postgres", "size": 451, "src": "/root/.ansible/tmp/ansible-tmp-1545110753.69-109953942326281/source", "state": "file", "uid": 26}

TASK [postgres : Apply postgresql general settings] ****************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "aed338b7fc9c9ac23bb7960a51e03062d3d5c74a", "dest": "/var/lib/pgsql/9.6/data/postgresql.conf", "gid": 26, "group": "postgres", "md5sum": "d49f6cb90573c6741721d47784bf0f47", "mode": "0600", "owner": "postgres", "size": 3223, "src": "/root/.ansible/tmp/ansible-tmp-1545110754.29-11802814310941/source", "state": "file", "uid": 26}

TASK [postgres : Create unix socket directory] *********************************************************************************************
changed: [localhost] => {"changed": true, "gid": 26, "group": "postgres", "mode": "02775", "owner": "postgres", "path": "/var/run/postgresql", "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", "size": 47, "state": "file", "uid": 0}

TASK [postgres : restart postgresql when authentication settings changed] ******************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
changed: [localhost] => {"changed": true, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:55:52 IST", "ActiveEnterTimestampMonotonic": "2876964187", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice syslog.target basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:55:52 IST", "AssertTimestampMonotonic": "2876907318", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:55:52 IST", "ConditionTimestampMonotonic": "2876907318", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql-9.6.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26824", "ExecMainStartTimestamp": "Tue 2018-12-18 10:55:52 IST", "ExecMainStartTimestampMonotonic": "2876921279", "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/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:55:52 IST] ; stop_time=[n/a] ; pid=26824 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:55:52 IST] ; stop_time=[Tue 2018-12-18 10:55:52 IST] ; pid=26819 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-12-18 10:55:52 IST", "InactiveExitTimestampMonotonic": "2876908167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26824", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "7", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "Wants": "system.slice", "WatchdogTimestamp": "Tue 2018-12-18 10:55:52 IST", "WatchdogTimestampMonotonic": "2876964140", "WatchdogUSec": "0"}}

TASK [postgres : wait for postgresql restart] **********************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => {"changed": false, "elapsed": 0, "path": null, "port": 5432, "search_regex": null, "state": "started"}

TASK [postgres : configure postgresql to start automatically] ******************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "postgresql-9.6", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveEnterTimestampMonotonic": "2880748415", "ActiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveExitTimestampMonotonic": "2880664079", "ActiveState": "active", "After": "system.slice syslog.target basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:55:56 IST", "AssertTimestampMonotonic": "2880680663", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:55:56 IST", "ConditionTimestampMonotonic": "2880680663", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql-9.6.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27022", "ExecMainStartTimestamp": "Tue 2018-12-18 10:55:56 IST", "ExecMainStartTimestampMonotonic": "2880696675", "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/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:55:56 IST] ; stop_time=[n/a] ; pid=27022 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:55:56 IST] ; stop_time=[Tue 2018-12-18 10:55:56 IST] ; pid=27017 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveEnterTimestampMonotonic": "2880679878", "InactiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveExitTimestampMonotonic": "2880681433", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27022", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "7", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "Wants": "system.slice", "WatchdogTimestamp": "Tue 2018-12-18 10:55:56 IST", "WatchdogTimestampMonotonic": "2880748370", "WatchdogUSec": "0"}}

TASK [postgres : create the postgres user and set the 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 [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.843939", "end": "2018-12-18 10:56:01.041986", "failed_when_result": false, "msg": "non-zero return code", "rc": 252, "start": "2018-12-18 10:56:00.198047", "stderr": "not running", "stderr_lines": ["not running"], "stdout": "", "stdout_lines": []}

TASK [firewall : Determine if firewalld is enabled] ****************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["systemctl", "list-unit-files"], "delta": "0:00:01.449422", "end": "2018-12-18 10:56:02.857523", "rc": 0, "start": "2018-12-18 10:56:01.408101", "stderr": "", "stderr_lines": [], "stdout": "UNIT FILE                                     STATE   \nproc-sys-fs-binfmt_misc.automount             static  \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-nfs-rpc_pipefs.mount                  static  \nbrandbot.path                                 enabled \ncups.path                                     enabled \nsystemd-ask-password-console.path             static  \nsystemd-ask-password-plymouth.path            static  \nsystemd-ask-password-wall.path                static  \nsession-2.scope                               static  \nabrt-ccpp.service                             enabled \nabrt-oops.service                             enabled \nabrt-pstoreoops.service                       disabled\nabrt-vmcore.service                           enabled \nabrt-xorg.service                             enabled \nabrtd.service                                 enabled \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  \narp-ethers.service                            disabled\natd.service                                   enabled \nauditd.service                                enabled \nauth-rpcgss-module.service                    static  \nautovt@.service                               enabled \navahi-daemon.service                          enabled \nblk-availability.service                      disabled\nbluetooth.service                             enabled \nbolt.service                                  static  \nbrandbot.service                              static  \nbrltty.service                                disabled\ncanberra-system-bootup.service                disabled\ncanberra-system-shutdown-reboot.service       disabled\ncanberra-system-shutdown.service              disabled\nchrony-dnssrv@.service                        static  \nchrony-wait.service                           disabled\nchronyd.service                               enabled \nclean-mount-point@.service                    static  \ncolord.service                                static  \nconfigure-printer@.service                    static  \nconsole-getty.service                         disabled\nconsole-shell.service                         disabled\ncontainer-getty@.service                      static  \ncpupower.service                              disabled\ncrond.service                                 enabled \ncups-browsed.service                          disabled\ncups.service                                  enabled \ndbus-org.bluez.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.NetworkManager.service   enabled \ndbus-org.freedesktop.nm-dispatcher.service    enabled \ndbus-org.freedesktop.timedate1.service        static  \ndbus.service                                  static  \ndebug-shell.service                           disabled\ndisplay-manager.service                       enabled \ndm-event.service                              static  \ndmraid-activation.service                     enabled \ndnsmasq.service                               disabled\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  \nfcoe.service                                  disabled\nfirewalld.service                             disabled\nfirstboot-graphical.service                   disabled\nflatpak-system-helper.service                 static  \nfprintd.service                               static  \nfstrim.service                                static  \nfwupd-offline-update.service                  static  \nfwupd.service                                 static  \nfwupdate-cleanup.service                      static  \ngarb.service                                  disabled\ngdm.service                                   enabled \ngeoclue.service                               static  \ngetty@.service                                enabled \ngssproxy.service                              disabled\nhalt-local.service                            static  \nhtcacheclean.service                          static  \nhttpd.service                                 enabled \nhypervfcopyd.service                          static  \nhypervkvpd.service                            static  \nhypervvssd.service                            static  \ninitial-setup-graphical.service               disabled\ninitial-setup-reconfiguration.service         enabled \ninitial-setup-text.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  \niprdump.service                               disabled\niprinit.service                               disabled\niprupdate.service                             disabled\nipsec.service                                 disabled\nirqbalance.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 \nlibstoragemgmt.service                        enabled \nlibvirtd.service                              enabled \nlldpad.service                                disabled\nlvm2-lvmetad.service                          static  \nlvm2-lvmpolld.service                         static  \nlvm2-monitor.service                          enabled \nlvm2-pvscan@.service                          static  \nmariadb.service                               disabled\nmaxscale.service                              enabled \nmcelog.service                                enabled \nmdadm-grow-continue@.service                  static  \nmdadm-last-resort@.service                    static  \nmdmon@.service                                static  \nmdmonitor.service                             enabled \nmemcached.service                             disabled\nmessagebus.service                            static  \nmicrocode.service                             enabled \nModemManager.service                          enabled \nmultipathd.service                            enabled \nndctl-monitor.service                         disabled\nnetcf-transaction.service                     disabled\nNetworkManager-dispatcher.service             enabled \nNetworkManager-wait-online.service            enabled \nNetworkManager.service                        enabled \nnfs-blkmap.service                            disabled\nnfs-config.service                            static  \nnfs-idmap.service                             static  \nnfs-idmapd.service                            static  \nnfs-lock.service                              static  \nnfs-mountd.service                            static  \nnfs-rquotad.service                           disabled\nnfs-secure.service                            static  \nnfs-server.service                            disabled\nnfs-utils.service                             static  \nnfs.service                                   disabled\nnfslock.service                               static  \nnginx.service                                 disabled\nntpdate.service                               disabled\nnumad.service                                 disabled\noddjobd.service                               disabled\npackagekit-offline-update.service             static  \npackagekit.service                            static  \npgpool.service                                disabled\nplymouth-halt.service                         disabled\nplymouth-kexec.service                        disabled\nplymouth-poweroff.service                     disabled\nplymouth-quit-wait.service                    disabled\nplymouth-quit.service                         disabled\nplymouth-read-write.service                   disabled\nplymouth-reboot.service                       disabled\nplymouth-start.service                        disabled\nplymouth-switch-root.service                  static  \npolkit.service                                static  \npostfix.service                               enabled \npostgresql-9.6.service                        enabled \npostgresql.service                            disabled\npsacct.service                                disabled\nqemu-guest-agent.service                      enabled \nquotaon.service                               static  \nrabbitmq-server.service                       disabled\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  \nrescue.service                                static  \nrhel-autorelabel-mark.service                 enabled \nrhel-autorelabel.service                      enabled \nrhel-configure.service                        enabled \nrhel-dmesg.service                            enabled \nrhel-domainname.service                       enabled \nrhel-import-state.service                     enabled \nrhel-loadmodules.service                      enabled \nrhel-readonly.service                         enabled \nrhsm-facts.service                            disabled\nrhsm.service                                  disabled\nrhsmcertd.service                             enabled \nrngd.service                                  enabled \nrpc-gssd.service                              static  \nrpc-rquotad.service                           disabled\nrpc-statd-notify.service                      static  \nrpc-statd.service                             static  \nrpcbind.service                               enabled \nrpcgssd.service                               static  \nrpcidmapd.service                             static  \nrsyncd.service                                disabled\nrsyncd@.service                               static  \nrsyslog.service                               enabled \nrtkit-daemon.service                          enabled \nsaned@.service                                indirect\nsaslauthd.service                             disabled\nselinux-policy-migrate-local-changes@.service static  \nserial-getty@.service                         disabled\nsmartd.service                                enabled \nspeech-dispatcherd.service                    disabled\nspice-vdagentd.service                        indirect\nsshd-keygen.service                           static  \nsshd.service                                  enabled \nsshd@.service                                 static  \nsupervisord.service                           disabled\nsvnserve.service                              disabled\nsysstat.service                               enabled \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-bootchart.service                     disabled\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-poweroff.service                      static  \nsystemd-quotacheck.service                    static  \nsystemd-random-seed.service                   static  \nsystemd-readahead-collect.service             enabled \nsystemd-readahead-done.service                indirect\nsystemd-readahead-drop.service                enabled \nsystemd-readahead-replay.service              enabled \nsystemd-reboot.service                        static  \nsystemd-remount-fs.service                    static  \nsystemd-rfkill@.service                       static  \nsystemd-shutdownd.service                     static  \nsystemd-suspend.service                       static  \nsystemd-sysctl.service                        static  \nsystemd-timedated.service                     static  \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  \ntcsd.service                                  disabled\nteamd@.service                                static  \ntuned.service                                 enabled \nudisks2.service                               enabled \nunbound-anchor.service                        static  \nupower.service                                disabled\nusb_modeswitch@.service                       static  \nusbmuxd.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  \n-.slice                                       static  \nmachine.slice                                 static  \nsystem.slice                                  static  \nuser-0.slice                                  static  \nuser.slice                                    static  \navahi-daemon.socket                           enabled \ncups.socket                                   enabled \ndbus.socket                                   static  \ndm-event.socket                               enabled \niscsid.socket                                 enabled \niscsiuio.socket                               enabled \nlldpad.socket                                 disabled\nlvm2-lvmetad.socket                           enabled \nlvm2-lvmpolld.socket                          enabled \nrpcbind.socket                                enabled \nrsyncd.socket                                 disabled\nsaned.socket                                  disabled\nspice-vdagentd.socket                         enabled \nsshd.socket                                   disabled\nsyslog.socket                                 static  \nsystemd-initctl.socket                        static  \nsystemd-journald.socket                       static  \nsystemd-shutdownd.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 \nanaconda.target                               static  \nbasic.target                                  static  \nbluetooth.target                              static  \ncryptsetup-pre.target                         static  \ncryptsetup.target                             static  \nctrl-alt-del.target                           disabled\ndefault.target                                enabled \nemergency.target                              static  \nfinal.target                                  static  \ngetty-pre.target                              static  \ngetty.target                                  static  \ngraphical.target                              enabled \nhalt.target                                   disabled\nhibernate.target                              static  \nhybrid-sleep.target                           static  \ninitrd-fs.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                                 disabled\nrpc_pipefs.target                             static  \nrpcbind.target                                static  \nrunlevel0.target                              disabled\nrunlevel1.target                              disabled\nrunlevel2.target                              static  \nrunlevel3.target                              static  \nrunlevel4.target                              static  \nrunlevel5.target                              enabled \nrunlevel6.target                              disabled\nshutdown.target                               static  \nsigpwr.target                                 static  \nsleep.target                                  static  \nslices.target                                 static  \nsmartcard.target                              static  \nsockets.target                                static  \nsound.target                                  static  \nsuspend.target                                static  \nswap.target                                   static  \nsysinit.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\nfstrim.timer                                  disabled\nmdadm-last-resort@.timer                      static  \nsystemd-readahead-done.timer                  indirect\nsystemd-tmpfiles-clean.timer                  static  \nunbound-anchor.timer                          enabled \n\n403 unit files listed.", "stdout_lines": ["UNIT FILE                                     STATE   ", "proc-sys-fs-binfmt_misc.automount             static  ", "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-nfs-rpc_pipefs.mount                  static  ", "brandbot.path                                 enabled ", "cups.path                                     enabled ", "systemd-ask-password-console.path             static  ", "systemd-ask-password-plymouth.path            static  ", "systemd-ask-password-wall.path                static  ", "session-2.scope                               static  ", "abrt-ccpp.service                             enabled ", "abrt-oops.service                             enabled ", "abrt-pstoreoops.service                       disabled", "abrt-vmcore.service                           enabled ", "abrt-xorg.service                             enabled ", "abrtd.service                                 enabled ", "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  ", "arp-ethers.service                            disabled", "atd.service                                   enabled ", "auditd.service                                enabled ", "auth-rpcgss-module.service                    static  ", "autovt@.service                               enabled ", "avahi-daemon.service                          enabled ", "blk-availability.service                      disabled", "bluetooth.service                             enabled ", "bolt.service                                  static  ", "brandbot.service                              static  ", "brltty.service                                disabled", "canberra-system-bootup.service                disabled", "canberra-system-shutdown-reboot.service       disabled", "canberra-system-shutdown.service              disabled", "chrony-dnssrv@.service                        static  ", "chrony-wait.service                           disabled", "chronyd.service                               enabled ", "clean-mount-point@.service                    static  ", "colord.service                                static  ", "configure-printer@.service                    static  ", "console-getty.service                         disabled", "console-shell.service                         disabled", "container-getty@.service                      static  ", "cpupower.service                              disabled", "crond.service                                 enabled ", "cups-browsed.service                          disabled", "cups.service                                  enabled ", "dbus-org.bluez.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.NetworkManager.service   enabled ", "dbus-org.freedesktop.nm-dispatcher.service    enabled ", "dbus-org.freedesktop.timedate1.service        static  ", "dbus.service                                  static  ", "debug-shell.service                           disabled", "display-manager.service                       enabled ", "dm-event.service                              static  ", "dmraid-activation.service                     enabled ", "dnsmasq.service                               disabled", "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  ", "fcoe.service                                  disabled", "firewalld.service                             disabled", "firstboot-graphical.service                   disabled", "flatpak-system-helper.service                 static  ", "fprintd.service                               static  ", "fstrim.service                                static  ", "fwupd-offline-update.service                  static  ", "fwupd.service                                 static  ", "fwupdate-cleanup.service                      static  ", "garb.service                                  disabled", "gdm.service                                   enabled ", "geoclue.service                               static  ", "getty@.service                                enabled ", "gssproxy.service                              disabled", "halt-local.service                            static  ", "htcacheclean.service                          static  ", "httpd.service                                 enabled ", "hypervfcopyd.service                          static  ", "hypervkvpd.service                            static  ", "hypervvssd.service                            static  ", "initial-setup-graphical.service               disabled", "initial-setup-reconfiguration.service         enabled ", "initial-setup-text.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  ", "iprdump.service                               disabled", "iprinit.service                               disabled", "iprupdate.service                             disabled", "ipsec.service                                 disabled", "irqbalance.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 ", "libstoragemgmt.service                        enabled ", "libvirtd.service                              enabled ", "lldpad.service                                disabled", "lvm2-lvmetad.service                          static  ", "lvm2-lvmpolld.service                         static  ", "lvm2-monitor.service                          enabled ", "lvm2-pvscan@.service                          static  ", "mariadb.service                               disabled", "maxscale.service                              enabled ", "mcelog.service                                enabled ", "mdadm-grow-continue@.service                  static  ", "mdadm-last-resort@.service                    static  ", "mdmon@.service                                static  ", "mdmonitor.service                             enabled ", "memcached.service                             disabled", "messagebus.service                            static  ", "microcode.service                             enabled ", "ModemManager.service                          enabled ", "multipathd.service                            enabled ", "ndctl-monitor.service                         disabled", "netcf-transaction.service                     disabled", "NetworkManager-dispatcher.service             enabled ", "NetworkManager-wait-online.service            enabled ", "NetworkManager.service                        enabled ", "nfs-blkmap.service                            disabled", "nfs-config.service                            static  ", "nfs-idmap.service                             static  ", "nfs-idmapd.service                            static  ", "nfs-lock.service                              static  ", "nfs-mountd.service                            static  ", "nfs-rquotad.service                           disabled", "nfs-secure.service                            static  ", "nfs-server.service                            disabled", "nfs-utils.service                             static  ", "nfs.service                                   disabled", "nfslock.service                               static  ", "nginx.service                                 disabled", "ntpdate.service                               disabled", "numad.service                                 disabled", "oddjobd.service                               disabled", "packagekit-offline-update.service             static  ", "packagekit.service                            static  ", "pgpool.service                                disabled", "plymouth-halt.service                         disabled", "plymouth-kexec.service                        disabled", "plymouth-poweroff.service                     disabled", "plymouth-quit-wait.service                    disabled", "plymouth-quit.service                         disabled", "plymouth-read-write.service                   disabled", "plymouth-reboot.service                       disabled", "plymouth-start.service                        disabled", "plymouth-switch-root.service                  static  ", "polkit.service                                static  ", "postfix.service                               enabled ", "postgresql-9.6.service                        enabled ", "postgresql.service                            disabled", "psacct.service                                disabled", "qemu-guest-agent.service                      enabled ", "quotaon.service                               static  ", "rabbitmq-server.service                       disabled", "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  ", "rescue.service                                static  ", "rhel-autorelabel-mark.service                 enabled ", "rhel-autorelabel.service                      enabled ", "rhel-configure.service                        enabled ", "rhel-dmesg.service                            enabled ", "rhel-domainname.service                       enabled ", "rhel-import-state.service                     enabled ", "rhel-loadmodules.service                      enabled ", "rhel-readonly.service                         enabled ", "rhsm-facts.service                            disabled", "rhsm.service                                  disabled", "rhsmcertd.service                             enabled ", "rngd.service                                  enabled ", "rpc-gssd.service                              static  ", "rpc-rquotad.service                           disabled", "rpc-statd-notify.service                      static  ", "rpc-statd.service                             static  ", "rpcbind.service                               enabled ", "rpcgssd.service                               static  ", "rpcidmapd.service                             static  ", "rsyncd.service                                disabled", "rsyncd@.service                               static  ", "rsyslog.service                               enabled ", "rtkit-daemon.service                          enabled ", "saned@.service                                indirect", "saslauthd.service                             disabled", "selinux-policy-migrate-local-changes@.service static  ", "serial-getty@.service                         disabled", "smartd.service                                enabled ", "speech-dispatcherd.service                    disabled", "spice-vdagentd.service                        indirect", "sshd-keygen.service                           static  ", "sshd.service                                  enabled ", "sshd@.service                                 static  ", "supervisord.service                           disabled", "svnserve.service                              disabled", "sysstat.service                               enabled ", "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-bootchart.service                     disabled", "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-poweroff.service                      static  ", "systemd-quotacheck.service                    static  ", "systemd-random-seed.service                   static  ", "systemd-readahead-collect.service             enabled ", "systemd-readahead-done.service                indirect", "systemd-readahead-drop.service                enabled ", "systemd-readahead-replay.service              enabled ", "systemd-reboot.service                        static  ", "systemd-remount-fs.service                    static  ", "systemd-rfkill@.service                       static  ", "systemd-shutdownd.service                     static  ", "systemd-suspend.service                       static  ", "systemd-sysctl.service                        static  ", "systemd-timedated.service                     static  ", "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  ", "tcsd.service                                  disabled", "teamd@.service                                static  ", "tuned.service                                 enabled ", "udisks2.service                               enabled ", "unbound-anchor.service                        static  ", "upower.service                                disabled", "usb_modeswitch@.service                       static  ", "usbmuxd.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  ", "-.slice                                       static  ", "machine.slice                                 static  ", "system.slice                                  static  ", "user-0.slice                                  static  ", "user.slice                                    static  ", "avahi-daemon.socket                           enabled ", "cups.socket                                   enabled ", "dbus.socket                                   static  ", "dm-event.socket                               enabled ", "iscsid.socket                                 enabled ", "iscsiuio.socket                               enabled ", "lldpad.socket                                 disabled", "lvm2-lvmetad.socket                           enabled ", "lvm2-lvmpolld.socket                          enabled ", "rpcbind.socket                                enabled ", "rsyncd.socket                                 disabled", "saned.socket                                  disabled", "spice-vdagentd.socket                         enabled ", "sshd.socket                                   disabled", "syslog.socket                                 static  ", "systemd-initctl.socket                        static  ", "systemd-journald.socket                       static  ", "systemd-shutdownd.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 ", "anaconda.target                               static  ", "basic.target                                  static  ", "bluetooth.target                              static  ", "cryptsetup-pre.target                         static  ", "cryptsetup.target                             static  ", "ctrl-alt-del.target                           disabled", "default.target                                enabled ", "emergency.target                              static  ", "final.target                                  static  ", "getty-pre.target                              static  ", "getty.target                                  static  ", "graphical.target                              enabled ", "halt.target                                   disabled", "hibernate.target                              static  ", "hybrid-sleep.target                           static  ", "initrd-fs.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                                 disabled", "rpc_pipefs.target                             static  ", "rpcbind.target                                static  ", "runlevel0.target                              disabled", "runlevel1.target                              disabled", "runlevel2.target                              static  ", "runlevel3.target                              static  ", "runlevel4.target                              static  ", "runlevel5.target                              enabled ", "runlevel6.target                              disabled", "shutdown.target                               static  ", "sigpwr.target                                 static  ", "sleep.target                                  static  ", "slices.target                                 static  ", "smartcard.target                              static  ", "sockets.target                                static  ", "sound.target                                  static  ", "suspend.target                                static  ", "swap.target                                   static  ", "sysinit.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", "fstrim.timer                                  disabled", "mdadm-last-resort@.timer                      static  ", "systemd-readahead-done.timer                  indirect", "systemd-tmpfiles-clean.timer                  static  ", "unbound-anchor.timer                          enabled ", "", "403 unit files listed."]}

TASK [firewall : Determine if iptables is installed] ***************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["iptables", "--version"], "delta": "0:00:00.032261", "end": "2018-12-18 10:56:03.322382", "failed_when_result": false, "rc": 0, "start": "2018-12-18 10:56:03.290121", "stderr": "", "stderr_lines": [], "stdout": "iptables v1.4.21", "stdout_lines": ["iptables v1.4.21"]}

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] *********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [firewall : Select iptables] **********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [firewall : Include no tasks] *********************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [rabbitmq : check whether rabbitmq is already reachable as a node] ********************************************************************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["rabbitmqctl", "-n", "rabbitmq@localhost", "status"], "delta": "0:00:01.419873", "end": "2018-12-18 10:56:06.287199", "msg": "non-zero return code", "rc": 69, "start": "2018-12-18 10:56:04.867326", "stderr": "Error: unable to perform an operation on node 'rabbitmq@localhost'. Please see diagnostics information and suggestions below.\n\nMost common reasons for this are:\n\n * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)\n * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)\n * Target node is not running\n\nIn addition to the diagnostics info below:\n\n * See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more\n * Consult server logs on node rabbitmq@localhost\n\nDIAGNOSTICS\n===========\n\nattempted to contact: [rabbitmq@localhost]\n\nrabbitmq@localhost:\n  * connected to epmd (port 4369) on localhost\n  * epmd reports: node 'rabbitmq' not running at all\n                  no other nodes on localhost\n  * suggestion: start the node\n\nCurrent node details:\n * node name: rabbitmqcli86@localhost\n * effective user's home directory: /var/lib/rabbitmq\n * Erlang cookie hash: fJ1T46EL70v9EzhDaUrfgA==", "stderr_lines": ["Error: unable to perform an operation on node 'rabbitmq@localhost'. Please see diagnostics information and suggestions below.", "", "Most common reasons for this are:", "", " * Target node is unreachable (e.g. due to hostname resolution, TCP connection or firewall issues)", " * CLI tool fails to authenticate with the server (e.g. due to CLI tool's Erlang cookie not matching that of the server)", " * Target node is not running", "", "In addition to the diagnostics info below:", "", " * See the CLI, clustering and networking guides on http://rabbitmq.com/documentation.html to learn more", " * Consult server logs on node rabbitmq@localhost", "", "DIAGNOSTICS", "===========", "", "attempted to contact: [rabbitmq@localhost]", "", "rabbitmq@localhost:", "  * connected to epmd (port 4369) on localhost", "  * epmd reports: node 'rabbitmq' not running at all", "                  no other nodes on localhost", "  * suggestion: start the node", "", "Current node details:", " * node name: rabbitmqcli86@localhost", " * effective user's home directory: /var/lib/rabbitmq", " * Erlang cookie hash: fJ1T46EL70v9EzhDaUrfgA=="], "stdout": "Status of node rabbitmq@localhost ...", "stdout_lines": ["Status of node rabbitmq@localhost ..."]}
...ignoring

TASK [rabbitmq : stop the rabbitmq service before updating the nodename] *******************************************************************
ok: [localhost] => {"changed": false, "name": "rabbitmq-server", "state": "stopped", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket -.mount syslog.target system.slice network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "RabbitMQ broker", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rabbitmq-server ; argv[]=/usr/sbin/rabbitmq-server ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/rabbitmqctl ; argv[]=/usr/sbin/rabbitmqctl 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/rabbitmq-server.service", "Group": "rabbitmq", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rabbitmq-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rabbitmq-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target", "RequiresMountsFor": "/var/lib/rabbitmq", "Restart": "on-failure", "RestartUSec": "10s", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1h", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0027", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "rabbitmq", "Wants": "system.slice", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/lib/rabbitmq"}}

TASK [rabbitmq : Disable all RabbitMQ plugins before upgrade] ******************************************************************************
ok: [localhost] => {"changed": false, "path": "/etc/rabbitmq/enabled_plugins", "state": "absent"}

TASK [rabbitmq : Reset RabbitMQ database] **************************************************************************************************
changed: [localhost] => {"changed": true, "path": "/var/lib/rabbitmq/mnesia", "state": "absent"}

TASK [rabbitmq : Apply RabbitMQ environment Node Name] *************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "5f2a6fa07ed6589903903539594714592d7656ab", "dest": "/etc/rabbitmq/rabbitmq-env.conf", "gid": 981, "group": "rabbitmq", "md5sum": "7bcb5ade6a6ae5ba26e8aa3af3c4485f", "mode": "0640", "owner": "rabbitmq", "size": 153, "src": "/root/.ansible/tmp/ansible-tmp-1545110767.66-92268196453502/source", "state": "file", "uid": 987}

TASK [rabbitmq : Apply RabbitMQ Configuration] *********************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "d92b27270795385e4832bb076da29d216b3040f2", "dest": "/etc/rabbitmq/rabbitmq.conf", "gid": 981, "group": "rabbitmq", "md5sum": "965d2528bed964e7bf664eab11db0af8", "mode": "0640", "owner": "rabbitmq", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1545110768.25-131967704110136/source", "state": "file", "uid": 987}

TASK [rabbitmq : Apply RabbitMQ Cookie] ****************************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "64b1b9f36607ff04be7ef6e88e416b54c557d713", "dest": "/var/lib/rabbitmq/.erlang.cookie", "gid": 981, "group": "rabbitmq", "md5sum": "6adeb5f54399cec7a7178e2d48adee94", "mode": "0600", "owner": "rabbitmq", "size": 13, "src": "/root/.ansible/tmp/ansible-tmp-1545110768.82-72142501733459/source", "state": "file", "uid": 987}

TASK [rabbitmq : start and enable the rabbitmq service] ************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "rabbitmq-server", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice syslog.target -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "RabbitMQ broker", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/rabbitmq-server ; argv[]=/usr/sbin/rabbitmq-server ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/rabbitmqctl ; argv[]=/usr/sbin/rabbitmqctl 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/rabbitmq-server.service", "Group": "rabbitmq", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rabbitmq-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rabbitmq-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "all", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target", "RequiresMountsFor": "/var/lib/rabbitmq", "Restart": "on-failure", "RestartUSec": "10s", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1h", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0027", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "rabbitmq", "Wants": "system.slice", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/lib/rabbitmq"}}

TASK [rabbitmq : wait for rabbitmq service to be running] **********************************************************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "path": null, "port": 5672, "search_regex": null, "state": "started"}

TASK [rabbitmq : Activate rabbitmq plugins] ************************************************************************************************
changed: [localhost] => {"changed": true, "disabled": [], "enabled": ["rabbitmq_management", "rabbitmq_management_agent", "rabbitmq_federation", "rabbitmq_federation_management"]}

TASK [rabbitmq : create the rabbitmq vhost] ************************************************************************************************
changed: [localhost] => {"changed": true, "name": "tower", "state": "present"}

TASK [rabbitmq : Set Cluster HA Policy] ****************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": "rabbitmqctl set_policy ha-all \".*\" '{\"ha-mode\":\"all\", \"ha-sync-mode\":\"automatic\"}' -p tower", "delta": "0:00:00.997965", "end": "2018-12-18 10:56:53.492431", "rc": 0, "start": "2018-12-18 10:56:52.494466", "stderr": "", "stderr_lines": [], "stdout": "Setting policy \"ha-all\" for pattern \".*\" to \"{\"ha-mode\":\"all\", \"ha-sync-mode\":\"automatic\"}\" with priority \"0\" for vhost \"tower\" ...", "stdout_lines": ["Setting policy \"ha-all\" for pattern \".*\" to \"{\"ha-mode\":\"all\", \"ha-sync-mode\":\"automatic\"}\" with priority \"0\" for vhost \"tower\" ..."]}

TASK [rabbitmq : Stop rabbitmq app if we arent the first node] *****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [rabbitmq : Set Primary RabbitMQ hostname] ********************************************************************************************
ok: [localhost] => {"ansible_facts": {"rabbitmq_real_host": "localhost"}, "changed": false}

TASK [rabbitmq : Cluster all nodes to the first node] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [rabbitmq : Start rabbitmq app if we arent the first node] ****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [rabbitmq : create the rabbitmq user] *************************************************************************************************
changed: [localhost] => {"changed": true, "state": "present", "user": "tower"}

TASK [rabbitmq : Set rabbitmq administrator status] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [memcached : include memcached variables] *********************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/memcached/vars/../vars/default.yml) => {"ansible_facts": {"memcached_user": "memcached"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/memcached/vars/default.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/memcached/vars/../vars/default.yml"}

TASK [memcached : Create memcached socket directory on boot (14.04 only)] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [memcached : shell] *******************************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [memcached : ensure /var/run/memcached exists] ****************************************************************************************
ok: [localhost] => {"changed": false, "gid": 978, "group": "memcached", "mode": "0750", "owner": "memcached", "path": "/var/run/memcached", "size": 40, "state": "directory", "uid": 984}

TASK [memcached : Create tmpfiles.d entry for memcached socket directory] ******************************************************************
changed: [localhost] => {"changed": true, "checksum": "e6429fd7b42a9e59927d86d65c240ec8ea0c5558", "dest": "/etc/tmpfiles.d/memcached.conf", "gid": 0, "group": "root", "md5sum": "ae54ceaed2afc70a53473b20fdaeab79", "mode": "0640", "owner": "root", "size": 48, "src": "/root/.ansible/tmp/ansible-tmp-1545110819.72-172015706804840/source", "state": "file", "uid": 0}

TASK [memcached : bind memcached to a unix domain socket (non-Debian)] *********************************************************************
changed: [localhost] => {"backup": "", "changed": true, "msg": "line replaced"}

TASK [memcached : bind memcached to a unix domain socket (Debian)] *************************************************************************
skipping: [localhost] => (item={u'prefix': u'-s', u'value': u'/var/run/memcached/memcached.sock'})  => {"changed": false, "item": {"prefix": "-s", "value": "/var/run/memcached/memcached.sock"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'prefix': u'-a', u'value': u'0660'})  => {"changed": false, "item": {"prefix": "-a", "value": "0660"}, "skip_reason": "Conditional result was False"}

TASK [memcached : restart memcached when bind settings changed] ****************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
changed: [localhost] => {"changed": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "httpd.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Memcached", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/memcached (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/memcached ; argv[]=/usr/bin/memcached -u $USER -p $PORT -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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "memcached.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "memcached.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "system.slice", "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": 979, "groups": "memcached", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 985}

TASK [memcached : Start Memcached and enable it at startup] ********************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:57:01 IST", "ActiveEnterTimestampMonotonic": "2945597662", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:57:01 IST", "AssertTimestampMonotonic": "2945596560", "Before": "httpd.service shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:57:01 IST", "ConditionTimestampMonotonic": "2945596560", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/memcached.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Memcached", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/memcached (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "29821", "ExecMainStartTimestamp": "Tue 2018-12-18 10:57:01 IST", "ExecMainStartTimestampMonotonic": "2945597571", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/memcached ; argv[]=/usr/bin/memcached -u $USER -p $PORT -m $CACHESIZE -c $MAXCONN $OPTIONS ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:57:01 IST] ; stop_time=[n/a] ; pid=29821 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/memcached.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "memcached.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2018-12-18 10:57:01 IST", "InactiveExitTimestampMonotonic": "2945597662", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "29821", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "memcached.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "6", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "system.slice", "WatchdogTimestamp": "Tue 2018-12-18 10:57:01 IST", "WatchdogTimestampMonotonic": "2945597631", "WatchdogUSec": "0"}}

TASK [awx_install : include_vars] **********************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/awx_install/vars/../../supervisor/vars/RedHat-7.yml) => {"ansible_facts": {"sup_celery_add_lang": false, "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": "supervisord", "sup_socket_location": "/var/run/supervisor/supervisor.sock"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/awx_install/vars/../../supervisor/vars/RedHat-7.yml"}

TASK [awx_install : include task specific variables] ***************************************************************************************
ok: [localhost] => {"ansible_facts": {"service_path": "/sbin/service", "tower_sysconfig_path": "/etc/sysconfig/ansible-tower"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/awx_install/vars/RedHat.yml"], "changed": false}

TASK [awx_install : Configure the Tower settings directory.] *******************************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0755", "owner": "root", "path": "/etc/tower", "size": 24, "state": "directory", "uid": 0}

TASK [awx_install : Configure the Tower system user's home directory.] *********************************************************************
ok: [localhost] => {"changed": false, "gid": 979, "group": "awx", "mode": "0755", "owner": "awx", "path": "/var/lib/awx", "size": 70, "state": "directory", "uid": 985}

TASK [awx_install : Configure the Tower system user's .ssh directory.] *********************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0700", "owner": "awx", "path": "/var/lib/awx/.ssh", "size": 6, "state": "directory", "uid": 985}

TASK [awx_install : Configure the Tower projects directory.] *******************************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/projects", "size": 6, "state": "directory", "uid": 985}

TASK [awx_install : Configure the Tower job output directory.] *****************************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/job_status", "size": 6, "state": "directory", "uid": 985}

TASK [awx_install : Configure the Tower static directory.] *********************************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0755", "owner": "root", "path": "/var/lib/awx/public/static", "size": 6, "state": "directory", "uid": 0}

TASK [awx_install : Add Towers `conf.d` directory.] ****************************************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0750", "owner": "root", "path": "/etc/tower/conf.d", "size": 6, "state": "directory", "uid": 0}

TASK [awx_install : configure tower log directory] *****************************************************************************************
ok: [localhost] => {"changed": false, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "size": 6, "state": "directory", "uid": 985}

TASK [awx_install : update ansible-tower service configuration] ****************************************************************************
changed: [localhost] => {"changed": true, "checksum": "a9459ce3a5f9bbfa4cfb55433300b509838e3a48", "dest": "/etc/sysconfig/ansible-tower", "gid": 0, "group": "root", "md5sum": "15ace221c24e22e027f683bac2bc14b4", "mode": "0644", "owner": "root", "size": 197, "src": "/root/.ansible/tmp/ansible-tmp-1545110826.56-240645469603257/source", "state": "file", "uid": 0}

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": "c3efa44b7a6d5557c98fe23e529051954dbd6625", "dest": "/etc/tower/conf.d/postgres.py", "gid": 979, "group": "awx", "md5sum": "d69ad5d7172070858e553a81012ba7bc", "mode": "0640", "owner": "root", "size": 284, "src": "/root/.ansible/tmp/ansible-tmp-1545110835.92-95314351406059/source", "state": "file", "uid": 0}

TASK [awx_install : Configure Towers celeryd settings.] ************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "13adea4f0b65c9dc2578be8fb050a703ab0aba95", "dest": "/etc/tower/conf.d/celeryd.py", "gid": 979, "group": "awx", "md5sum": "0f881267e55324dfbce5b1fd3c5a68de", "mode": "0640", "owner": "root", "size": 299, "src": "/root/.ansible/tmp/ansible-tmp-1545110836.65-145038614128005/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] ************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|match` use `result is match`. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=RedHat-7.6)  => {"changed": false, "item": "RedHat-7.6", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
ok: [localhost] => (item=tower) => {"ansible_facts": {"awx_instance_groups": ["tower"]}, "changed": false, "item": "tower"}

TASK [awx_install : Install Tower rabbitmq settings] ***************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "36314c8af47f53b2f6d32260b84fcd3e58065b85", "dest": "/etc/tower/conf.d/rabbitmq.py", "gid": 979, "group": "awx", "md5sum": "10005e042c6169a5c15b3e3f25c49c8a", "mode": "0640", "owner": "root", "size": 211, "src": "/root/.ansible/tmp/ansible-tmp-1545110837.85-234017617277708/source", "state": "file", "uid": 0}

TASK [awx_install : Install Tower cache settings] ******************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "6ac05f7528b54058515c5200dee1bb1d1c01121a", "dest": "/etc/tower/conf.d/caching.py", "gid": 979, "group": "awx", "md5sum": "e5eb1b7198b66e7989e8f6f282593ca7", "mode": "0640", "owner": "root", "size": 210, "src": "/root/.ansible/tmp/ansible-tmp-1545110838.58-141407825619107/source", "state": "file", "uid": 0}

TASK [awx_install : Install Tower's settings file if it doesn't already exist.] ************************************************************
changed: [localhost] => {"changed": true, "checksum": "250065bbb6e01ecc4b7cb092863c410896e77e3f", "dest": "/etc/tower/settings.py", "gid": 979, "group": "awx", "md5sum": "bea6a02505a404d470ce223c7c583faf", "mode": "0640", "owner": "root", "size": 1194, "src": "/root/.ansible/tmp/ansible-tmp-1545110839.33-113547986401762/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": "basic.target rc-local.service systemd-journald.socket nss-user-lookup.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "Wants": "system.slice", "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:04:35.952846", "end": "2018-12-18 11:01:57.238843", "rc": 0, "start": "2018-12-18 10:57:21.285997", "stderr": "", "stderr_lines": [], "stdout": "Operations to perform:\n  Apply all migrations: auth, conf, contenttypes, djcelery, main, oauth2_provider, sessions, sites, social_django, sso, taggit\nRunning migrations:\n  Applying contenttypes.0001_initial... OK\n  Applying taggit.0001_initial... OK\n  Applying taggit.0002_auto_20150616_2121... OK\n  Applying contenttypes.0002_remove_content_type_name... 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 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 djcelery.0001_initial... 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 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", "stdout_lines": ["Operations to perform:", "  Apply all migrations: auth, conf, contenttypes, djcelery, main, oauth2_provider, sessions, sites, social_django, sso, taggit", "Running migrations:", "  Applying contenttypes.0001_initial... OK", "  Applying taggit.0001_initial... OK", "  Applying taggit.0002_auto_20150616_2121... OK", "  Applying contenttypes.0002_remove_content_type_name... 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 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 djcelery.0001_initial... 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 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"]}

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 : Check for custom ui logo] **********************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [awx_install : Check for custom ui settings] ******************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [awx_install : Move back custom ui logo] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Move back custom ui settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui logo permissions] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui settings permissions] ************************************************************************************
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:01.651383", "end": "2018-12-18 11:02:01.206279", "rc": 0, "start": "2018-12-18 11:01:59.554896", "stderr": "", "stderr_lines": [], "stdout": "3.3.2", "stdout_lines": ["3.3.2"]}

TASK [awx_install : store the tower version] ***********************************************************************************************
changed: [localhost] => {"changed": true, "checksum": "f85383fcd7c211714084d7fca897998d7d759c5d", "dest": "/var/lib/awx/.tower_version", "gid": 0, "group": "root", "md5sum": "531d09ab379f2b486866f03fec6c12cd", "mode": "0644", "owner": "root", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1545111121.38-199410520493748/source", "state": "file", "uid": 0}

TASK [awx_install : Migrate settings from files to database.] ******************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["awx-manage", "migrate_to_database_settings", "--skip-errors"], "delta": "0:00:09.032901", "end": "2018-12-18 11:02:11.213510", "rc": 0, "start": "2018-12-18 11:02:02.180609", "stderr": "", "stderr_lines": [], "stdout": "Discovering settings to be migrated and commented:\n  PENDO_TRACKING_STATE: Migrate + Comment\nMigrating settings to database:\n  PENDO_TRACKING_STATE: Migrated\nCommenting settings in files:\n  /etc/tower/settings.py -2 +2", "stdout_lines": ["Discovering settings to be migrated and commented:", "  PENDO_TRACKING_STATE: Migrate + Comment", "Migrating settings to database:", "  PENDO_TRACKING_STATE: Migrated", "Commenting settings in files:", "  /etc/tower/settings.py -2 +2"]}

TASK [awx_install : Comment settings files on all instances.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Fixup tower log directory permissions post-migration] ******************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "size": 209, "state": "directory", "uid": 985}

TASK [awx_install : Get configuration files to set permissions on] *************************************************************************
ok: [localhost] => {"ch

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 : Get effective uid] **************************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["id", "-u"], "delta": "0:00:00.030616", "end": "2018-12-18 11:03:49.635333", "rc": 0, "start": "2018-12-18 11:03:49.604717", "stderr": "", "stderr_lines": [], "stdout": "0", "stdout_lines": ["0"]}

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": "RedHat-7.6", "changed": false, "parent_groups": ["all"]}
 [WARNING]: Could not match supplied host pattern, ignoring: CentOS-7*

 [WARNING]: Could not match supplied host pattern, ignoring: Ubuntu-14.04

 [WARNING]: Could not match supplied host pattern, ignoring: Ubuntu-16.04

 [WARNING]: Could not match supplied host pattern, ignoring: OracleLinux-7*


PLAY [Group supported distributions] *******************************************************************************************************

TASK [group hosts for supported distributions] *********************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|version_compare` use `result is version_compare`.
This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => {"add_group": "supported", "changed": false, "parent_groups": ["all"]}

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: Ubuntu-*

 [WARNING]: Could not match supplied host pattern, ignoring: isolated_group_*


PLAY [Ensure all isolated 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-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"pg_conf_dir": "/var/lib/pgsql/9.6/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "postgres_init_name": "postgresql-9.6"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml"}

TASK [postgres : init postgresql (el-only)] ************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Make sure PostgreSQL is started] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Wait for PostgreSQL to start if it wasnt] *********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Update postgresql authentication settings] ********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Apply postgresql general settings] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Create unix socket directory] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Configure postgresql tmpfiles.d] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : restart postgresql when authentication settings changed] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : wait for postgresql restart] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : configure postgresql to start automatically] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : create the postgres user and set the password] ****************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [postgres : create the postgresql database for awx] ***********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nginx : include_vars] ****************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/../vars/default.yml) => {"ansible_facts": {"httpd_init_name": "httpd", "nginx_init_name": "nginx", "nginx_user": "www-data"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/default.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/../vars/default.yml"}

TASK [nginx : Determine if selinux is enabled] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nginx : Open up permissions on httpd.] ***********************************************************************************************
skipping: [localhost] => (item=httpd_can_network_connect)  => {"changed": false, "item": "httpd_can_network_connect", "skip_reason": "Conditional result was False"}

TASK [nginx : create self signed SSL certificates] *****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nginx : set permissions on SSL certificate] ******************************************************************************************
skipping: [localhost] => (item=/etc/tower/tower.cert)  => {"changed": false, "item": "/etc/tower/tower.cert", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=/etc/tower/tower.key)  => {"changed": false, "item": "/etc/tower/tower.key", "skip_reason": "Conditional result was False"}

TASK [nginx : slurp self-signed SSL certificate] *******************************************************************************************
skipping: [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] ***************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

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] ****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [nginx : start nginx and configure to startup automatically] **************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [supervisor : include supervisor variables] *******************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"sup_celery_add_lang": false, "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": "supervisord", "sup_socket_location": "/var/run/supervisor/supervisor.sock"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/../vars/RedHat-7.yml"}

TASK [supervisor : install supervisor config] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [supervisor : Recreate systemd tmp files] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [supervisor : start/enable supervisord process] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [supervisor : Wait for the supervisor socket] *****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [supervisor : reload supervisord configuration via supervisorctl] *********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : include_vars] **********************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/awx_install/vars/../../supervisor/vars/RedHat-7.yml) => {"ansible_facts": {"sup_celery_add_lang": false, "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": "supervisord", "sup_socket_location": "/var/run/supervisor/supervisor.sock"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/awx_install/vars/../../supervisor/vars/RedHat-7.yml"}

TASK [awx_install : include task specific variables] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower settings directory.] *******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower system user's home directory.] *********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower system user's .ssh directory.] *********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower projects directory.] *******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower job output directory.] *****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure the Tower static directory.] *********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Add Towers `conf.d` directory.] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : configure tower log directory] *****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : update ansible-tower service configuration] ****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Fetch the secret key from the primary node.] ***************************************************************************
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 : 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] *************************************************************************************************
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 : 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] *****************************************************************************************************
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] *****************************************************************************************************
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.] ***********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Configure Towers celeryd settings.] ************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Initialize instance groups for host] ***********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Determine instance groups for host] ************************************************************************************
skipping: [localhost] => (item=RedHat-7.6)  => {"changed": false, "item": "RedHat-7.6", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower)  => {"changed": false, "item": "tower", "skip_reason": "Conditional result was False"}

TASK [awx_install : Install Tower rabbitmq settings] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Install Tower cache settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Install Tower's settings file if it doesn't already exist.] ************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Stop supervisor] *******************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Wait for supervisor to stop.] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Migrate the Tower database schema (may take awhile when upgrading).] ***************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Checking for RBAC migration log] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Moving RBAC migration log] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Check for custom ui logo] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Check for custom ui settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Move back custom ui logo] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Move back custom ui settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui logo permissions] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui settings permissions] ************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : get the tower version] *************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : store the tower version] ***********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Migrate settings from files to database.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Comment settings files on all instances.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Fixup tower log directory permissions post-migration] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Get configuration files to set permissions on] *************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Clean up any poorly-permissioned Tower configuration files on upgrade] *************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Check for Tower Super users] *******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : create django super user if it does not exist] *************************************************************************
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 : update django super user password] *************************************************************************************
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 : Collect static files for Tower.] ***************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Fixup tower log directory permissions post-migration] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

PLAY [Verify consistency of inventory contents] ********************************************************************************************

TASK [Check that no instance groups are named tower] ***************************************************************************************
skipping: [localhost] => (item=all)  => {"changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=RedHat-7.6)  => {"changed": false, "item": "RedHat-7.6", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=database)  => {"changed": false, "item": "database", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=ungrouped)  => {"changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower)  => {"changed": false, "item": "tower", "skip_reason": "Conditional result was False"}

TASK [Check that controller uses queue name and not group name] ****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [Check that group names do not conflict with instance names] **************************************************************************
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] ****************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|version_compare` use `result is version_compare`.
This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
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 umask] *********************************************************************************************
ok: [localhost] => {"changed": false, "cmd": "umask", "delta": "0:00:00.018829", "end": "2018-12-18 11:04:09.170620", "rc": 0, "start": "2018-12-18 11:04:09.151791", "stderr": "", "stderr_lines": [], "stdout": "0022", "stdout_lines": ["0022"]}

TASK [preflight : Preflight check - Get Hard Max FD limit] *********************************************************************************
ok: [localhost] => {"changed": false, "cmd": "ulimit -H -n", "delta": "0:00:00.028168", "end": "2018-12-18 11:04:09.970795", "rc": 0, "start": "2018-12-18 11:04:09.942627", "stderr": "", "stderr_lines": [], "stdout": "4096", "stdout_lines": ["4096"]}

TASK [preflight : Preflight check - Does the system have a standard umask?] ****************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

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": 1545110879.719623, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1545110592.1471384, "dev": 64768, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 127, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1545110592.1471384, "nlink": 24, "path": "/var/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "1360825864", "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] *********************************************************************************
ok: [localhost] => {"changed": false, "content": "My4zLjI=", "encoding": "base64", "source": "/var/lib/awx/.tower_version"}

TASK [preflight : Preflight check - User must be on Tower 3.0.x to upgrade to 3.1.x] *******************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|version_compare` use `result is version_compare`.
This feature will be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [preflight : Preflight check - Passwords must be defined for a fresh install] *********************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [preflight : Preflight check - rabbitmq_password must be defined] *********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [preflight : Preflight check - rabbitmq_password must not contain special characters] *************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [preflight : Preflight check - check Tower license type] ******************************************************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage check_license", "delta": "0:00:04.203248", "end": "2018-12-18 11:04:19.239854", "rc": 0, "start": "2018-12-18 11:04:15.036606", "stderr": "", "stderr_lines": [], "stdout": "none", "stdout_lines": ["none"]}

TASK [preflight : Preflight check - disallow localhost target for cluster installs] ********************************************************
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 [migrations : Check Tower version for supervisor configuration] ***********************************************************************
ok: [localhost] => {"changed": false, "cmd": "cat /var/lib/awx/.tower_version", "delta": "0:00:00.009011", "end": "2018-12-18 11:04:19.867818", "rc": 0, "start": "2018-12-18 11:04:19.858807", "stderr": "", "stderr_lines": [], "stdout": "3.3.2", "stdout_lines": ["3.3.2"]}

TASK [migrations : Stop httpd if tower is installed] ***************************************************************************************
changed: [localhost] => {"changed": true, "enabled": false, "name": "httpd", "state": "stopped", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:31:26 IST", "ActiveEnterTimestampMonotonic": "1411115791", "ActiveExitTimestamp": "Tue 2018-12-18 11:03:37 IST", "ActiveExitTimestampMonotonic": "3341403618", "ActiveState": "inactive", "After": "network.target -.mount remote-fs.target memcached.service tmp.mount basic.target nss-lookup.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:31:26 IST", "AssertTimestampMonotonic": "1411040668", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:31:26 IST", "ConditionTimestampMonotonic": "1411040667", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The Apache HTTP Server", "DevicePolicy": "auto", "Documentation": "man:httpd(8) man:apachectl(8)", "EnvironmentFile": "/etc/sysconfig/httpd (ignore_errors=no)", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2018-12-18 11:03:38 IST", "ExecMainExitTimestampMonotonic": "3342431141", "ExecMainPID": "22918", "ExecMainStartTimestamp": "Tue 2018-12-18 10:31:26 IST", "ExecMainStartTimestampMonotonic": "1411041766", "ExecMainStatus": "0", "ExecReload": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -k graceful ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/httpd ; argv[]=/usr/sbin/httpd $OPTIONS -DFOREGROUND ; ignore_errors=no ; start_time=[Tue 2018-12-18 10:31:26 IST] ; stop_time=[Tue 2018-12-18 11:03:38 IST] ; pid=22918 ; code=exited ; status=0 }", "ExecStop": "{ path=/bin/kill ; argv[]=/bin/kill -WINCH ${MAINPID} ; ignore_errors=no ; start_time=[Tue 2018-12-18 11:03:37 IST] ; stop_time=[Tue 2018-12-18 11:03:37 IST] ; pid=33656 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/httpd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "httpd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 11:03:38 IST", "InactiveEnterTimestampMonotonic": "3342431311", "InactiveExitTimestamp": "Tue 2018-12-18 10:31:26 IST", "InactiveExitTimestampMonotonic": "1411041825", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "18", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "httpd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StatusText": "Total requests: 23; Current requests/sec: 0; Current traffic:   0 B/sec", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}

TASK [migrations : Stop httpd under its old name if needed] ********************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [migrations : Stop and disable prior versions of httpd] *******************************************************************************

PLAY [Prep installation repos] *************************************************************************************************************

TASK [repos_el : include_vars] *************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/repos_el/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"redhat_aws_rhui_repos": ["rhui-REGION-rhel-server-extras"], "redhat_rhsm_repos": ["rhel-7-server-extras-rpms"], "redhat_rhui_repos": ["rhui-rhel-7-server-rhui-extras-rpms"], "tower_bundle_file": "tower_bundle_el7.j2", "yum_online_repo_files": ["ansible-el7.repo", "epel-7.repo", "pgdg-96-centos.repo", "rabbitmq.repo"], "yum_repo_keys": ["RPM-GPG-KEY-EPEL-7", "RPM-GPG-KEY-PGDG-96", "RPM-GPG-KEY-ansible-release", "RPM-GPG-KEY-rabbitmq"]}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/repos_el/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/repos_el/vars/../vars/RedHat-7.yml"}

TASK [repos_el : Install yum repositories] *************************************************************************************************
ok: [localhost] => (item=ansible-el7.repo) => {"changed": false, "checksum": "440f2474b2b0981eec648a71d9eaaa4c2cfef46c", "dest": "/etc/yum.repos.d/ansible-el7.repo", "gid": 0, "group": "root", "item": "ansible-el7.repo", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/ansible-el7.repo", "size": 211, "state": "file", "uid": 0}
ok: [localhost] => (item=epel-7.repo) => {"changed": false, "checksum": "e3e645deefbe47dc76dc50a44744fda5d8f751fa", "dest": "/etc/yum.repos.d/epel-7.repo", "gid": 0, "group": "root", "item": "epel-7.repo", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel-7.repo", "size": 640, "state": "file", "uid": 0}
ok: [localhost] => (item=pgdg-96-centos.repo) => {"changed": false, "checksum": "a02147f7b630f14c9c6be4bf78f7e2a17c326bbe", "dest": "/etc/yum.repos.d/pgdg-96-centos.repo", "gid": 0, "group": "root", "item": "pgdg-96-centos.repo", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/pgdg-96-centos.repo", "size": 440, "state": "file", "uid": 0}
ok: [localhost] => (item=rabbitmq.repo) => {"changed": false, "checksum": "56eea26cebbbfa9073641c084b18885f8a28b22c", "dest": "/etc/yum.repos.d/rabbitmq.repo", "gid": 0, "group": "root", "item": "rabbitmq.repo", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/rabbitmq.repo", "size": 777, "state": "file", "uid": 0}

TASK [repos_el : Install yum repo keys] ****************************************************************************************************
ok: [localhost] => (item=RPM-GPG-KEY-EPEL-7) => {"changed": false, "checksum": "491dc189ad1ceccb3b03277e88eb939dd238d32c", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7", "gid": 0, "group": "root", "item": "RPM-GPG-KEY-EPEL-7", "mode": "0644", "owner": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7", "size": 1662, "state": "file", "uid": 0}
ok: [localhost] => (item=RPM-GPG-KEY-PGDG-96) => {"changed": false, "checksum": "fd0e604c59df16f951a847d269f12818786a930c", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-96", "gid": 0, "group": "root", "item": "RPM-GPG-KEY-PGDG-96", "mode": "0644", "owner": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-PGDG-96", "size": 1726, "state": "file", "uid": 0}
ok: [localhost] => (item=RPM-GPG-KEY-ansible-release) => {"changed": false, "checksum": "3f6935054f3c035f5c051010c68c2e22969230fa", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-ansible-release", "gid": 0, "group": "root", "item": "RPM-GPG-KEY-ansible-release", "mode": "0644", "owner": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-ansible-release", "size": 3130, "state": "file", "uid": 0}
ok: [localhost] => (item=RPM-GPG-KEY-rabbitmq) => {"changed": false, "checksum": "9179dc69defcbe9c88dd533852623b7eee8c333d", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-rabbitmq", "gid": 0, "group": "root", "item": "RPM-GPG-KEY-rabbitmq", "mode": "0644", "owner": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-rabbitmq", "size": 3187, "state": "file", "uid": 0}

TASK [repos_el : Install yum repos that arrive via release packages] ***********************************************************************

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 : Enable AWS rhui repositories] *********************************************************************************************
skipping: [localhost] => (item=rhui-REGION-rhel-server-extras)  => {"changed": false, "item": "rhui-REGION-rhel-server-extras", "skip_reason": "Conditional result was False"}

TASK [repos_el : Determine if rhui repository exists] **************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [repos_el : Enable rhui repositories] *************************************************************************************************
skipping: [localhost] => (item=rhui-rhel-7-server-rhui-extras-rpms)  => {"changed": false, "item": "rhui-rhel-7-server-rhui-extras-rpms", "skip_reason": "Conditional result was False"}

TASK [repos_el : Determine if rhsm repository exists] **************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"atime": 1545110201.585466, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 304, "charset": "us-ascii", "checksum": "12d04d7afdc60c42f252768e9940f53a96e32346", "ctime": 1545110197.2382472, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 34704609, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0644", "mtime": 1545110197.2382472, "nlink": 1, "path": "/etc/yum.repos.d/redhat.repo", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 153838, "uid": 0, "version": "2018451921", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}

TASK [repos_el : Determine if rhsm system cert exists] *************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"atime": 1545108252.4410393, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "2cc61492a9b207b3e621c9c0206f9f1c184dac77", "ctime": 1545108252.4400394, "dev": 64768, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 85385, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0640", "mtime": 1545108252.4400394, "nlink": 1, "path": "/etc/pki/consumer/cert.pem", "pw_name": "root", "readable": true, "rgrp": true, "roth": false, "rusr": true, "size": 2122, "uid": 0, "version": "1479962478", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": false}}

TASK [repos_el : Enable rhsm repositories] *************************************************************************************************
changed: [localhost] => (item=rhel-7-server-extras-rpms) => {"changed": true, "cmd": ["subscription-manager", "repos", "--enable", "rhel-7-server-extras-rpms"], "delta": "0:00:45.978629", "end": "2018-12-18 11:05:22.312929", "item": "rhel-7-server-extras-rpms", "rc": 0, "start": "2018-12-18 11:04:36.334300", "stderr": "", "stderr_lines": [], "stdout": "Repository 'rhel-7-server-extras-rpms' is enabled for this system.", "stdout_lines": ["Repository 'rhel-7-server-extras-rpms' is enabled for this system."]}

TASK [repos_el : Determine if Oracle Linux repository exists] ******************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [repos_el : Enable Oracle repositories] ***********************************************************************************************

TASK [repos_el : Remove old bundle packages source directory] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [repos_el : Copy bundle packages to repo source directory] ****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [repos_el : Install the Tower bundle repository] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [repos_el : Install the Tower yum repository.] ****************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "04c9d7da973dfe18d545e18fb9c6528ff462afd2", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.repo", "size": 222, "state": "file", "uid": 0}

TASK [repos_el : Set bundle repo to enable] ************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [repos_el : Set online repo to enable] ************************************************************************************************
ok: [localhost] => {"ansible_facts": {"tower_enable_repo": "ansible-tower"}, "changed": 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 [packages_el : Install playbook dependencies] *****************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: u'{{ el_dependencies }}'` and remove the loop. This feature will be
removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => (item=[u'python-psycopg2', u'python-setuptools', u'libselinux-python', u'setools-libs', u'yum-utils', u'sudo', u'acl']) => {"changed": false, "item": ["python-psycopg2", "python-setuptools", "libselinux-python", "setools-libs", "yum-utils", "sudo", "acl"], "msg": "", "rc": 0, "results": ["python-psycopg2-2.7.5-1.rhel7.x86_64 providing python-psycopg2 is already installed", "python-setuptools-0.9.8-7.el7.noarch providing python-setuptools is already installed", "libselinux-python-2.5-14.1.el7.x86_64 providing libselinux-python is already installed", "setools-libs-3.3.8-4.el7.x86_64 providing setools-libs is already installed", "yum-utils-1.1.31-50.el7.noarch providing yum-utils is already installed", "sudo-1.8.23-3.el7.x86_64 providing sudo is already installed", "acl-2.2.51-14.el7.x86_64 providing acl is already installed"]}

TASK [packages_el : Check for custom ui logo] **********************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [packages_el : Check for custom ui settings] ******************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [packages_el : Move away custom ui logo] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : Move away custom ui settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : Pre-install Erlang] ****************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["erlang-20.3.8.2-1.el7.centos.x86_64 providing erlang-20.3.8.2 is already installed"]}

TASK [packages_el : Pre-install RabbitMQ] **************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["rabbitmq-server-3.7.4-1.el7.noarch providing rabbitmq-server-3.7.4 is already installed"]}

TASK [packages_el : Install the Tower RPM.] ************************************************************************************************
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["All packages providing ansible-tower == 3.3.2 are up to date", ""]}

TASK [packages_el : Upgrade Ansible] *******************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : Check to see if Postgres is installed] *********************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["psql", "-tAc", "select version()"], "delta": "0:00:00.058760", "end": "2018-12-18 11:07:02.412664", "rc": 0, "start": "2018-12-18 11:07:02.353904", "stderr": "", "stderr_lines": [], "stdout": "PostgreSQL 9.6.11 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28), 64-bit", "stdout_lines": ["PostgreSQL 9.6.11 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.8.5 20150623 (Red Hat 4.8.5-28), 64-bit"]}

TASK [packages_el : Set upgrade flag if Postgres is installed and not at version 9.6] ******************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|failed` use `result is failed`. This feature will be
removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => {"ansible_facts": {"upgrade_postgres": false}, "changed": false}

TASK [packages_el : Install postgres] ******************************************************************************************************
[DEPRECATION WARNING]: Invoking "yum" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: u'{{ postgresql_packages }}'` and remove the loop. This feature will be
 removed in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
ok: [localhost] => (item=[u'postgresql96-server', u'postgresql96-contrib']) => {"changed": false, "item": ["postgresql96-server", "postgresql96-contrib"], "msg": "", "rc": 0, "results": ["postgresql96-server-9.6.11-1PGDG.rhel7.x86_64 providing postgresql96-server is already installed", "postgresql96-contrib-9.6.11-1PGDG.rhel7.x86_64 providing postgresql96-contrib is already installed"]}

TASK [packages_el : Stop postgres 9.4] *****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : init postgresql (el-only)] *********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_el : pg_upgrade] ************************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_el : Uninstall Postgres 9.4] ************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : include_vars] ******************************************************************************************************
skipping: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/packages_ubuntu/vars/../vars/default.yml)  => {"changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/packages_ubuntu/vars/../vars/default.yml", "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Remove Django if installed via. apt.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : install apt repository keys] ***************************************************************************************

TASK [packages_ubuntu : Install apt repositories] ******************************************************************************************

TASK [packages_ubuntu : Install playbook dependencies] *************************************************************************************

TASK [packages_ubuntu : Check for custom ui logo] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Check for custom ui settings] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Move away custom ui logo] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Move away custom ui settings] **************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Install ubuntu Tower apt repository.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : A secret key may already exist; test if it does.] ******************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : If a secret key already exists, read it into memory.] **************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Install Tower package with the apt module.] ************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Upgrade Ansible] ***************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Restore the secret key.] *******************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Remove Tower apt repository configuration.] ************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Update apt cache] **************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Check to see if Postgres is installed] *****************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Set upgrade flag if Postgres is installed and not at version 9.6] **************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Install postgres] **************************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: [u'postgresql-9.6']` and remove the loop. This feature will be removed
in version 2.11. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[])  => {"changed": false, "item": [], "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Stop postgres] *****************************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Symlink pg config] *************************************************************************************************
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.4/main/postgresql.conf', u'src': u'/etc/postgresql/9.4/main/postgresql.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.4/main/postgresql.conf", "src": "/etc/postgresql/9.4/main/postgresql.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.4/main/pg_hba.conf', u'src': u'/etc/postgresql/9.4/main/pg_hba.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.4/main/pg_hba.conf", "src": "/etc/postgresql/9.4/main/pg_hba.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.6/main/postgresql.conf', u'src': u'/etc/postgresql/9.6/main/postgresql.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.6/main/postgresql.conf", "src": "/etc/postgresql/9.6/main/postgresql.conf"}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'dest': u'/var/lib/postgresql/9.6/main/pg_hba.conf', u'src': u'/etc/postgresql/9.6/main/pg_hba.conf'})  => {"changed": false, "item": {"dest": "/var/lib/postgresql/9.6/main/pg_hba.conf", "src": "/etc/postgresql/9.6/main/pg_hba.conf"}, "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Ensure conf.d directories exists] **********************************************************************************
skipping: [localhost] => (item=/var/lib/postgresql/9.4/main/conf.d)  => {"changed": false, "item": "/var/lib/postgresql/9.4/main/conf.d", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=/var/lib/postgresql/9.6/main/conf.d)  => {"changed": false, "item": "/var/lib/postgresql/9.6/main/conf.d", "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : pg_upgrade] ********************************************************************************************************
skipping: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [packages_ubuntu : Uninstall Postgresql 9.4] ******************************************************************************************
[DEPRECATION WARNING]: Invoking "apt" only once while using a loop via squash_actions is deprecated. Instead of using a loop to supply
multiple items and specifying `name: {{ item }}`, please use `name: [u'postgresql-9.4', u'postgresql-client-9.4', u'postgresql-
contrib-9.4']` and remove the loop. This feature will be removed in version 2.11. Deprecation warnings can be disabled by setting
deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=[])  => {"changed": false, "item": [], "skip_reason": "Conditional result was False"}

TASK [packages_ubuntu : Make sure Postgres starts on the expected port] ********************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : include_vars] *************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"pg_conf_dir": "/var/lib/pgsql/9.6/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "/usr/pgsql-9.6/bin/postgresql96-setup initdb", "postgres_init_name": "postgresql-9.6"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/postgres/vars/../vars/RedHat-7.yml"}

TASK [postgres : init postgresql (el-only)] ************************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["/usr/pgsql-9.6/bin/postgresql96-setup", "initdb"], "rc": 0, "stdout": "skipped, since /var/lib/pgsql/9.6/data/PG_VERSION exists", "stdout_lines": ["skipped, since /var/lib/pgsql/9.6/data/PG_VERSION exists"]}

TASK [postgres : Make sure PostgreSQL is started] ******************************************************************************************
ok: [localhost] => {"changed": false, "name": "postgresql-9.6", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveEnterTimestampMonotonic": "2880748415", "ActiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveExitTimestampMonotonic": "2880664079", "ActiveState": "active", "After": "system.slice syslog.target systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:55:56 IST", "AssertTimestampMonotonic": "2880680663", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:55:56 IST", "ConditionTimestampMonotonic": "2880680663", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql-9.6.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27022", "ExecMainStartTimestamp": "Tue 2018-12-18 10:55:56 IST", "ExecMainStartTimestampMonotonic": "2880696675", "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/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/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/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; 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-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveEnterTimestampMonotonic": "2880679878", "InactiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveExitTimestampMonotonic": "2880681433", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27022", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "8", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Tue 2018-12-18 10:55:56 IST", "WatchdogTimestampMonotonic": "2880748370", "WatchdogUSec": "0"}}

TASK [postgres : Wait for PostgreSQL to start if it wasnt] *********************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : Update postgresql authentication settings] ********************************************************************************
ok: [localhost] => {"changed": false, "checksum": "d050f8274268b3bd4037e9516b2255ff93431545", "dest": "/var/lib/pgsql/9.6/data/pg_hba.conf", "gid": 26, "group": "postgres", "mode": "0600", "owner": "postgres", "path": "/var/lib/pgsql/9.6/data/pg_hba.conf", "size": 451, "state": "file", "uid": 26}

TASK [postgres : Apply postgresql general settings] ****************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "aed338b7fc9c9ac23bb7960a51e03062d3d5c74a", "dest": "/var/lib/pgsql/9.6/data/postgresql.conf", "gid": 26, "group": "postgres", "mode": "0600", "owner": "postgres", "path": "/var/lib/pgsql/9.6/data/postgresql.conf", "size": 3223, "state": "file", "uid": 26}

TASK [postgres : Create unix socket directory] *********************************************************************************************
changed: [localhost] => {"changed": true, "gid": 26, "group": "postgres", "mode": "02775", "owner": "postgres", "path": "/var/run/postgresql", "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", "size": 47, "state": "file", "uid": 0}

TASK [postgres : restart postgresql when authentication settings changed] ******************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : wait for postgresql restart] **********************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|changed` use `result is changed`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [postgres : configure postgresql to start automatically] ******************************************************************************
ok: [localhost] => {"changed": false, "enabled": true, "name": "postgresql-9.6", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveEnterTimestampMonotonic": "2880748415", "ActiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "ActiveExitTimestampMonotonic": "2880664079", "ActiveState": "active", "After": "system.slice syslog.target systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 10:55:56 IST", "AssertTimestampMonotonic": "2880680663", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 10:55:56 IST", "ConditionTimestampMonotonic": "2880680663", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql-9.6.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL 9.6 database server", "DevicePolicy": "auto", "Documentation": "https://www.postgresql.org/docs/9.6/static/", "Environment": "PGDATA=/var/lib/pgsql/9.6/data/ PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27022", "ExecMainStartTimestamp": "Tue 2018-12-18 10:55:56 IST", "ExecMainStartTimestampMonotonic": "2880696675", "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/pgsql-9.6/bin/postmaster ; argv[]=/usr/pgsql-9.6/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/pgsql-9.6/bin/postgresql96-check-db-dir ; argv[]=/usr/pgsql-9.6/bin/postgresql96-check-db-dir ${PGDATA} ; 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-9.6.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "postgresql-9.6.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveEnterTimestampMonotonic": "2880679878", "InactiveExitTimestamp": "Tue 2018-12-18 10:55:56 IST", "InactiveExitTimestampMonotonic": "2880681433", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "27022", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "postgresql-9.6.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "7", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestamp": "Tue 2018-12-18 10:55:56 IST", "WatchdogTimestampMonotonic": "2880748370", "WatchdogUSec": "0"}}

TASK [postgres : create the postgres user and set the password] ****************************************************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}

TASK [postgres : create the postgresql database for awx] ***********************************************************************************
ok: [localhost] => {"changed": false, "db": "awx"}

TASK [firewall : Determine if firewalld is running] ****************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["firewall-cmd", "--state"], "delta": "0:00:01.434923", "end": "2018-12-18 11:08:19.213153", "failed_when_result": false, "msg": "non-zero return code", "rc": 252, "start": "2018-12-18 11:08:17.778230", "stderr": "not running", "stderr_lines": ["not running"], "stdout": "", "stdout_lines": []}

TASK [firewall : Determine if firewalld is enabled] ****************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["systemctl", "list-unit-files"], "delta": "0:00:03.989235", "end": "2018-12-18 11:08:26.900335", "rc": 0, "start": "2018-12-18 11:08:22.911100", "stderr": "", "stderr_lines": [], "stdout": "UNIT FILE                                     STATE   \nproc-sys-fs-binfmt_misc.automount             static  \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-nfs-rpc_pipefs.mount                  static  \nbrandbot.path                                 enabled \ncups.path                                     enabled \nsystemd-ask-password-console.path             static  \nsystemd-ask-password-plymouth.path            static  \nsystemd-ask-password-wall.path                static  \nsession-2.scope                               static  \nsession-8.scope                               static  \nabrt-ccpp.service                             enabled \nabrt-oops.service                             enabled \nabrt-pstoreoops.service                       disabled\nabrt-vmcore.service                           enabled \nabrt-xorg.service                             enabled \nabrtd.service                                 enabled \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  \narp-ethers.service                            disabled\natd.service                                   enabled \nauditd.service                                enabled \nauth-rpcgss-module.service                    static  \nautovt@.service                               enabled \navahi-daemon.service                          enabled \nblk-availability.service                      disabled\nbluetooth.service                             enabled \nbolt.service                                  static  \nbrandbot.service                              static  \nbrltty.service                                disabled\ncanberra-system-bootup.service                disabled\ncanberra-system-shutdown-reboot.service       disabled\ncanberra-system-shutdown.service              disabled\nchrony-dnssrv@.service                        static  \nchrony-wait.service                           disabled\nchronyd.service                               enabled \nclean-mount-point@.service                    static  \ncolord.service                                static  \nconfigure-printer@.service                    static  \nconsole-getty.service                         disabled\nconsole-shell.service                         disabled\ncontainer-getty@.service                      static  \ncpupower.service                              disabled\ncrond.service                                 enabled \ncups-browsed.service                          disabled\ncups.service                                  enabled \ndbus-org.bluez.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.NetworkManager.service   enabled \ndbus-org.freedesktop.nm-dispatcher.service    enabled \ndbus-org.freedesktop.timedate1.service        static  \ndbus.service                                  static  \ndebug-shell.service                           disabled\ndisplay-manager.service                       enabled \ndm-event.service                              static  \ndmraid-activation.service                     enabled \ndnsmasq.service                               disabled\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  \nfcoe.service                                  disabled\nfirewalld.service                             disabled\nfirstboot-graphical.service                   disabled\nflatpak-system-helper.service                 static  \nfprintd.service                               static  \nfstrim.service                                static  \nfwupd-offline-update.service                  static  \nfwupd.service                                 static  \nfwupdate-cleanup.service                      static  \ngarb.service                                  disabled\ngdm.service                                   enabled \ngeoclue.service                               static  \ngetty@.service                                enabled \ngssproxy.service                              disabled\nhalt-local.service                            static  \nhtcacheclean.service                          static  \nhttpd.service                                 disabled\nhypervfcopyd.service                          static  \nhypervkvpd.service                            static  \nhypervvssd.service                            static  \ninitial-setup-graphical.service               disabled\ninitial-setup-reconfiguration.service         enabled \ninitial-setup-text.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  \niprdump.service                               disabled\niprinit.service                               disabled\niprupdate.service                             disabled\nipsec.service                                 disabled\nirqbalance.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 \nlibstoragemgmt.service                        enabled \nlibvirtd.service                              enabled \nlldpad.service                                disabled\nlvm2-lvmetad.service                          static  \nlvm2-lvmpolld.service                         static  \nlvm2-monitor.service                          enabled \nlvm2-pvscan@.service                          static  \nmariadb.service                               disabled\nmaxscale.service                              enabled \nmcelog.service                                enabled \nmdadm-grow-continue@.service                  static  \nmdadm-last-resort@.service                    static  \nmdmon@.service                                static  \nmdmonitor.service                             enabled \nmemcached.service                             enabled \nmessagebus.service                            static  \nmicrocode.service                             enabled \nModemManager.service                          enabled \nmultipathd.service                            enabled \nndctl-monitor.service                         disabled\nnetcf-transaction.service                     disabled\nNetworkManager-dispatcher.service             enabled \nNetworkManager-wait-online.service            enabled \nNetworkManager.service                        enabled \nnfs-blkmap.service                            disabled\nnfs-config.service                            static  \nnfs-idmap.service                             static  \nnfs-idmapd.service                            static  \nnfs-lock.service                              static  \nnfs-mountd.service                            static  \nnfs-rquotad.service                           disabled\nnfs-secure.service                            static  \nnfs-server.service                            disabled\nnfs-utils.service                             static  \nnfs.service                                   disabled\nnfslock.service                               static  \nnginx.service                                 enabled \nntpdate.service                               disabled\nnumad.service                                 disabled\noddjobd.service                               disabled\npackagekit-offline-update.service             static  \npackagekit.service                            static  \npgpool.service                                disabled\nplymouth-halt.service                         disabled\nplymouth-kexec.service                        disabled\nplymouth-poweroff.service                     disabled\nplymouth-quit-wait.service                    disabled\nplymouth-quit.service                         disabled\nplymouth-read-write.service                   disabled\nplymouth-reboot.service                       disabled\nplymouth-start.service                        disabled\nplymouth-switch-root.service                  static  \npolkit.service                                static  \npostfix.service                               enabled \npostgresql-9.6.service                        enabled \npostgresql.service                            disabled\npsacct.service                                disabled\nqemu-guest-agent.service                      enabled \nquotaon.service                               static  \nrabbitmq-server.service                       enabled \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  \nrescue.service                                static  \nrhel-autorelabel-mark.service                 enabled \nrhel-autorelabel.service                      enabled \nrhel-configure.service                        enabled \nrhel-dmesg.service                            enabled \nrhel-domainname.service                       enabled \nrhel-import-state.service                     enabled \nrhel-loadmodules.service                      enabled \nrhel-readonly.service                         enabled \nrhsm-facts.service                            disabled\nrhsm.service                                  disabled\nrhsmcertd.service                             enabled \nrngd.service                                  enabled \nrpc-gssd.service                              static  \nrpc-rquotad.service                           disabled\nrpc-statd-notify.service                      static  \nrpc-statd.service                             static  \nrpcbind.service                               enabled \nrpcgssd.service                               static  \nrpcidmapd.service                             static  \nrsyncd.service                                disabled\nrsyncd@.service                               static  \nrsyslog.service                               enabled \nrtkit-daemon.service                          enabled \nsaned@.service                                indirect\nsaslauthd.service                             disabled\nselinux-policy-migrate-local-changes@.service static  \nserial-getty@.service                         disabled\nsmartd.service                                enabled \nspeech-dispatcherd.service                    disabled\nspice-vdagentd.service                        indirect\nsshd-keygen.service                           static  \nsshd.service                                  enabled \nsshd@.service                                 static  \nsupervisord.service                           enabled \nsvnserve.service                              disabled\nsysstat.service                               enabled \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-bootchart.service                     disabled\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-poweroff.service                      static  \nsystemd-quotacheck.service                    static  \nsystemd-random-seed.service                   static  \nsystemd-readahead-collect.service             enabled \nsystemd-readahead-done.service                indirect\nsystemd-readahead-drop.service                enabled \nsystemd-readahead-replay.service              enabled \nsystemd-reboot.service                        static  \nsystemd-remount-fs.service                    static  \nsystemd-rfkill@.service                       static  \nsystemd-shutdownd.service                     static  \nsystemd-suspend.service                       static  \nsystemd-sysctl.service                        static  \nsystemd-timedated.service                     static  \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  \ntcsd.service                                  disabled\nteamd@.service                                static  \ntuned.service                                 enabled \nudisks2.service                               enabled \nunbound-anchor.service                        static  \nupower.service                                disabled\nusb_modeswitch@.service                       static  \nusbmuxd.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  \n-.slice                                       static  \nmachine.slice                                 static  \nsystem.slice                                  static  \nuser-0.slice                                  static  \nuser.slice                                    static  \navahi-daemon.socket                           enabled \ncups.socket                                   enabled \ndbus.socket                                   static  \ndm-event.socket                               enabled \niscsid.socket                                 enabled \niscsiuio.socket                               enabled \nlldpad.socket                                 disabled\nlvm2-lvmetad.socket                           enabled \nlvm2-lvmpolld.socket                          enabled \nrpcbind.socket                                enabled \nrsyncd.socket                                 disabled\nsaned.socket                                  disabled\nspice-vdagentd.socket                         enabled \nsshd.socket                                   disabled\nsyslog.socket                                 static  \nsystemd-initctl.socket                        static  \nsystemd-journald.socket                       static  \nsystemd-shutdownd.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 \nanaconda.target                               static  \nbasic.target                                  static  \nbluetooth.target                              static  \ncryptsetup-pre.target                         static  \ncryptsetup.target                             static  \nctrl-alt-del.target                           disabled\ndefault.target                                enabled \nemergency.target                              static  \nfinal.target                                  static  \ngetty-pre.target                              static  \ngetty.target                                  static  \ngraphical.target                              enabled \nhalt.target                                   disabled\nhibernate.target                              static  \nhybrid-sleep.target                           static  \ninitrd-fs.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                                 disabled\nrpc_pipefs.target                             static  \nrpcbind.target                                static  \nrunlevel0.target                              disabled\nrunlevel1.target                              disabled\nrunlevel2.target                              static  \nrunlevel3.target                              static  \nrunlevel4.target                              static  \nrunlevel5.target                              enabled \nrunlevel6.target                              disabled\nshutdown.target                               static  \nsigpwr.target                                 static  \nsleep.target                                  static  \nslices.target                                 static  \nsmartcard.target                              static  \nsockets.target                                static  \nsound.target                                  static  \nsuspend.target                                static  \nswap.target                                   static  \nsysinit.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\nfstrim.timer                                  disabled\nmdadm-last-resort@.timer                      static  \nsystemd-readahead-done.timer                  indirect\nsystemd-tmpfiles-clean.timer                  static  \nunbound-anchor.timer                          enabled \n\n404 unit files listed.", "stdout_lines": ["UNIT FILE                                     STATE   ", "proc-sys-fs-binfmt_misc.automount             static  ", "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-nfs-rpc_pipefs.mount                  static  ", "brandbot.path                                 enabled ", "cups.path                                     enabled ", "systemd-ask-password-console.path             static  ", "systemd-ask-password-plymouth.path            static  ", "systemd-ask-password-wall.path                static  ", "session-2.scope                               static  ", "session-8.scope                               static  ", "abrt-ccpp.service                             enabled ", "abrt-oops.service                             enabled ", "abrt-pstoreoops.service                       disabled", "abrt-vmcore.service                           enabled ", "abrt-xorg.service                             enabled ", "abrtd.service                                 enabled ", "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  ", "arp-ethers.service                            disabled", "atd.service                                   enabled ", "auditd.service                                enabled ", "auth-rpcgss-module.service                    static  ", "autovt@.service                               enabled ", "avahi-daemon.service                          enabled ", "blk-availability.service                      disabled", "bluetooth.service                             enabled ", "bolt.service                                  static  ", "brandbot.service                              static  ", "brltty.service                                disabled", "canberra-system-bootup.service                disabled", "canberra-system-shutdown-reboot.service       disabled", "canberra-system-shutdown.service              disabled", "chrony-dnssrv@.service                        static  ", "chrony-wait.service                           disabled", "chronyd.service                               enabled ", "clean-mount-point@.service                    static  ", "colord.service                                static  ", "configure-printer@.service                    static  ", "console-getty.service                         disabled", "console-shell.service                         disabled", "container-getty@.service                      static  ", "cpupower.service                              disabled", "crond.service                                 enabled ", "cups-browsed.service                          disabled", "cups.service                                  enabled ", "dbus-org.bluez.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.NetworkManager.service   enabled ", "dbus-org.freedesktop.nm-dispatcher.service    enabled ", "dbus-org.freedesktop.timedate1.service        static  ", "dbus.service                                  static  ", "debug-shell.service                           disabled", "display-manager.service                       enabled ", "dm-event.service                              static  ", "dmraid-activation.service                     enabled ", "dnsmasq.service                               disabled", "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  ", "fcoe.service                                  disabled", "firewalld.service                             disabled", "firstboot-graphical.service                   disabled", "flatpak-system-helper.service                 static  ", "fprintd.service                               static  ", "fstrim.service                                static  ", "fwupd-offline-update.service                  static  ", "fwupd.service                                 static  ", "fwupdate-cleanup.service                      static  ", "garb.service                                  disabled", "gdm.service                                   enabled ", "geoclue.service                               static  ", "getty@.service                                enabled ", "gssproxy.service                              disabled", "halt-local.service                            static  ", "htcacheclean.service                          static  ", "httpd.service                                 disabled", "hypervfcopyd.service                          static  ", "hypervkvpd.service                            static  ", "hypervvssd.service                            static  ", "initial-setup-graphical.service               disabled", "initial-setup-reconfiguration.service         enabled ", "initial-setup-text.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  ", "iprdump.service                               disabled", "iprinit.service                               disabled", "iprupdate.service                             disabled", "ipsec.service                                 disabled", "irqbalance.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 ", "libstoragemgmt.service                        enabled ", "libvirtd.service                              enabled ", "lldpad.service                                disabled", "lvm2-lvmetad.service                          static  ", "lvm2-lvmpolld.service                         static  ", "lvm2-monitor.service                          enabled ", "lvm2-pvscan@.service                          static  ", "mariadb.service                               disabled", "maxscale.service                              enabled ", "mcelog.service                                enabled ", "mdadm-grow-continue@.service                  static  ", "mdadm-last-resort@.service                    static  ", "mdmon@.service                                static  ", "mdmonitor.service                             enabled ", "memcached.service                             enabled ", "messagebus.service                            static  ", "microcode.service                             enabled ", "ModemManager.service                          enabled ", "multipathd.service                            enabled ", "ndctl-monitor.service                         disabled", "netcf-transaction.service                     disabled", "NetworkManager-dispatcher.service             enabled ", "NetworkManager-wait-online.service            enabled ", "NetworkManager.service                        enabled ", "nfs-blkmap.service                            disabled", "nfs-config.service                            static  ", "nfs-idmap.service                             static  ", "nfs-idmapd.service                            static  ", "nfs-lock.service                              static  ", "nfs-mountd.service                            static  ", "nfs-rquotad.service                           disabled", "nfs-secure.service                            static  ", "nfs-server.service                            disabled", "nfs-utils.service                             static  ", "nfs.service                                   disabled", "nfslock.service                               static  ", "nginx.service                                 enabled ", "ntpdate.service                               disabled", "numad.service                                 disabled", "oddjobd.service                               disabled", "packagekit-offline-update.service             static  ", "packagekit.service                            static  ", "pgpool.service                                disabled", "plymouth-halt.service                         disabled", "plymouth-kexec.service                        disabled", "plymouth-poweroff.service                     disabled", "plymouth-quit-wait.service                    disabled", "plymouth-quit.service                         disabled", "plymouth-read-write.service                   disabled", "plymouth-reboot.service                       disabled", "plymouth-start.service                        disabled", "plymouth-switch-root.service                  static  ", "polkit.service                                static  ", "postfix.service                               enabled ", "postgresql-9.6.service                        enabled ", "postgresql.service                            disabled", "psacct.service                                disabled", "qemu-guest-agent.service                      enabled ", "quotaon.service                               static  ", "rabbitmq-server.service                       enabled ", "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  ", "rescue.service                                static  ", "rhel-autorelabel-mark.service                 enabled ", "rhel-autorelabel.service                      enabled ", "rhel-configure.service                        enabled ", "rhel-dmesg.service                            enabled ", "rhel-domainname.service                       enabled ", "rhel-import-state.service                     enabled ", "rhel-loadmodules.service                      enabled ", "rhel-readonly.service                         enabled ", "rhsm-facts.service                            disabled", "rhsm.service                                  disabled", "rhsmcertd.service                             enabled ", "rngd.service                                  enabled ", "rpc-gssd.service                              static  ", "rpc-rquotad.service                           disabled", "rpc-statd-notify.service                      static  ", "rpc-statd.service                             static  ", "rpcbind.service                               enabled ", "rpcgssd.service                               static  ", "rpcidmapd.service                             static  ", "rsyncd.service                                disabled", "rsyncd@.service                               static  ", "rsyslog.service                               enabled ", "rtkit-daemon.service                          enabled ", "saned@.service                                indirect", "saslauthd.service                             disabled", "selinux-policy-migrate-local-changes@.service static  ", "serial-getty@.service                         disabled", "smartd.service                                enabled ", "speech-dispatcherd.service                    disabled", "spice-vdagentd.service                        indirect", "sshd-keygen.service                           static  ", "sshd.service                                  enabled ", "sshd@.service                                 static  ", "supervisord.service                           enabled ", "svnserve.service                              disabled", "sysstat.service                               enabled ", "systemd-ask-password-console.service          static  ", "systemd-ask-pas
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).] ***************************************************
ok: [localhost] => {"changed": false, "cmd": ["awx-manage", "migrate", "--noinput"], "delta": "0:00:09.207015", "end": "2018-12-18 11:12:59.298684", "rc": 0, "start": "2018-12-18 11:12:50.091669", "stderr": "", "stderr_lines": [], "stdout": "Operations to perform:\n  Apply all migrations: auth, conf, contenttypes, djcelery, main, oauth2_provider, sessions, sites, social_django, sso, taggit\nRunning migrations:\n  No migrations to apply.", "stdout_lines": ["Operations to perform:", "  Apply all migrations: auth, conf, contenttypes, djcelery, main, oauth2_provider, sessions, sites, social_django, sso, taggit", "Running migrations:", "  No migrations to apply."]}

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 : Check for custom ui logo] **********************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [awx_install : Check for custom ui settings] ******************************************************************************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}

TASK [awx_install : Move back custom ui logo] **********************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Move back custom ui settings] ******************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui logo permissions] ****************************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Set custom ui settings permissions] ************************************************************************************
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:01.580142", "end": "2018-12-18 11:13:03.315881", "rc": 0, "start": "2018-12-18 11:13:01.735739", "stderr": "", "stderr_lines": [], "stdout": "3.3.2", "stdout_lines": ["3.3.2"]}

TASK [awx_install : store the tower version] ***********************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "f85383fcd7c211714084d7fca897998d7d759c5d", "dest": "/var/lib/awx/.tower_version", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/var/lib/awx/.tower_version", "size": 5, "state": "file", "uid": 0}

TASK [awx_install : Migrate settings from files to database.] ******************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["awx-manage", "migrate_to_database_settings", "--skip-errors"], "delta": "0:00:04.933645", "end": "2018-12-18 11:13:09.328337", "rc": 0, "start": "2018-12-18 11:13:04.394692", "stderr": "", "stderr_lines": [], "stdout": "Discovering settings to be migrated and commented:\n  No settings found to migrate or comment!\nMigrating settings to database:\n  No settings to migrate!\nCommenting settings in files:\n  No settings to comment!", "stdout_lines": ["Discovering settings to be migrated and commented:", "  No settings found to migrate or comment!", "Migrating settings to database:", "  No settings to migrate!", "Commenting settings in files:", "  No settings to comment!"]}

TASK [awx_install : Comment settings files on all instances.] ******************************************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}

TASK [awx_install : Fixup tower log directory permissions post-migration] ******************************************************************
changed: [localhost] => {"changed": true, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "size": 246, "state": "directory", "uid": 985}

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.031896", "end": "2018-12-18 11:13:11.733053", "rc": 0, "start": "2018-12-18 11:13:11.701157", "stderr": "", "stderr_lines": [], "stdout": "/etc/tower/conf.d/caching.py\n/etc/tower/conf.d/celeryd.py\n/etc/tower/conf.d/postgres.py\n/etc/tower/conf.d/rabbitmq.py", "stdout_lines": ["/etc/tower/conf.d/caching.py", "/etc/tower/conf.d/celeryd.py", "/etc/tower/conf.d/postgres.py", "/etc/tower/conf.d/rabbitmq.py"]}

TASK [awx_install : Clean up any poorly-permissioned Tower configuration files on upgrade] *************************************************
ok: [localhost] => (item=/etc/tower/conf.d/caching.py) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/conf.d/caching.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/caching.py", "size": 210, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/celeryd.py) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/conf.d/celeryd.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/celeryd.py", "size": 299, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/postgres.py) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/conf.d/postgres.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/postgres.py", "size": 284, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/rabbitmq.py) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/conf.d/rabbitmq.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/rabbitmq.py", "size": 211, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/settings.py) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/settings.py", "mode": "0640", "owner": "root", "path": "/etc/tower/settings.py", "size": 1247, "state": "file", "uid": 0}

TASK [awx_install : Check for Tower Super users] *******************************************************************************************
ok: [localhost] => {"changed": false, "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:03.552580", "end": "2018-12-18 11:13:18.259919", "rc": 0, "start": "2018-12-18 11:13:14.707339", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [awx_install : create django super user if it does not exist] *************************************************************************
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 : update django super user password] *************************************************************************************
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 : Collect static files for Tower.] ***************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["awx-manage", "collectstatic", "--noinput", "--clear", "-v0"], "delta": "0:00:04.248986", "end": "2018-12-18 11:13:27.436155", "rc": 0, "start": "2018-12-18 11:13:23.187169", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [awx_install : Fixup tower log directory permissions post-migration] ******************************************************************
ok: [localhost] => {"changed": false, "gid": 979, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "size": 246, "state": "directory", "uid": 985}

TASK [supervisor : include supervisor variables] *******************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"sup_celery_add_lang": false, "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": "supervisord", "sup_socket_location": "/var/run/supervisor/supervisor.sock"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/RedHat-7.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/supervisor/vars/../vars/RedHat-7.yml"}

TASK [supervisor : install supervisor config] **********************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "1517a48b5e04066950ce8d369645e255e5931c1b", "dest": "/etc/supervisord.d/tower.ini", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/supervisord.d/tower.ini", "size": 3046, "state": "file", "uid": 0}

TASK [supervisor : Recreate systemd tmp files] *********************************************************************************************
changed: [localhost] => {"changed": true, "cmd": ["systemd-tmpfiles", "--create"], "delta": "0:00:00.015340", "end": "2018-12-18 11:13:29.116866", "rc": 0, "start": "2018-12-18 11:13:29.101526", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}

TASK [supervisor : start/enable supervisord process] ***************************************************************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "supervisord", "state": "started", "status": {"ActiveEnterTimestamp": "Tue 2018-12-18 11:02:32 IST", "ActiveEnterTimestampMonotonic": "3276590567", "ActiveExitTimestamp": "Tue 2018-12-18 11:12:43 IST", "ActiveExitTimestampMonotonic": "3887907276", "ActiveState": "inactive", "After": "rc-local.service nss-user-lookup.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 11:02:32 IST", "AssertTimestampMonotonic": "3276351932", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 11:02:32 IST", "ConditionTimestampMonotonic": "3276351931", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Tue 2018-12-18 11:12:49 IST", "ExecMainExitTimestampMonotonic": "3893391756", "ExecMainPID": "32944", "ExecMainStartTimestamp": "Tue 2018-12-18 11:02:32 IST", "ExecMainStartTimestampMonotonic": "3276590493", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "supervisord.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 11:12:49 IST", "InactiveEnterTimestampMonotonic": "3893391931", "InactiveExitTimestamp": "Tue 2018-12-18 11:02:32 IST", "InactiveExitTimestampMonotonic": "3276352759", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "supervisord.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}

TASK [supervisor : Wait for the supervisor socket] *****************************************************************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "gid": 979, "group": "awx", "mode": "0700", "owner": "awx", "path": "/var/run/supervisor/supervisor.sock", "port": null, "search_regex": null, "size": 0, "state": "file", "uid": 985}

TASK [supervisor : reload supervisord configuration via supervisorctl] *********************************************************************
changed: [localhost] => {"changed": true, "cmd": ["supervisorctl", "reload"], "delta": "0:00:00.159616", "end": "2018-12-18 11:13:30.840011", "rc": 0, "start": "2018-12-18 11:13:30.680395", "stderr": "", "stderr_lines": [], "stdout": "Restarted supervisord", "stdout_lines": ["Restarted supervisord"]}

TASK [nginx : include_vars] ****************************************************************************************************************
ok: [localhost] => (item=/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/../vars/default.yml) => {"ansible_facts": {"httpd_init_name": "httpd", "nginx_init_name": "nginx", "nginx_user": "www-data"}, "ansible_included_var_files": ["/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/default.yml"], "changed": false, "item": "/root/ansible-tower-setup-3.3.2-1/roles/nginx/vars/../vars/default.yml"}

TASK [nginx : Determine if selinux is enabled] *********************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["getenforce"], "delta": "0:00:00.065362", "end": "2018-12-18 11:13:36.960135", "rc": 0, "start": "2018-12-18 11:13:36.894773", "stderr": "", "stderr_lines": [], "stdout": "Disabled", "stdout_lines": ["Disabled"]}

TASK [nginx : Open up permissions on httpd.] ***********************************************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|success` use `result is success`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
skipping: [localhost] => (item=httpd_can_network_connect)  => {"changed": false, "item": "httpd_can_network_connect", "skip_reason": "Conditional result was False"}

TASK [nginx : create self signed SSL certificates] *****************************************************************************************
ok: [localhost] => {"changed": false, "cmd": ["openssl", "req", "-x509", "-nodes", "-sha256", "-days", "99999", "-newkey", "rsa:2048", "-keyout", "/etc/tower/tower.key", "-out", "/etc/tower/tower.cert", "-subj", "/CN=localhost"], "rc": 0, "stdout": "skipped, since /etc/tower/tower.cert exists", "stdout_lines": ["skipped, since /etc/tower/tower.cert exists"]}

TASK [nginx : set permissions on SSL certificate] ******************************************************************************************
ok: [localhost] => (item=/etc/tower/tower.cert) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/tower.cert", "mode": "0640", "owner": "root", "path": "/etc/tower/tower.cert", "size": 1099, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/tower.key) => {"changed": false, "gid": 979, "group": "awx", "item": "/etc/tower/tower.key", "mode": "0640", "owner": "root", "path": "/etc/tower/tower.key", "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 : 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] ****************************************************************************************************
ok: [localhost] => {"changed": false, "checksum": "1729589f4f5af180ed026ce5b5ebdbe4f9cc9273", "dest": "/etc/nginx/nginx.conf", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/nginx/nginx.conf", "size": 4161, "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": "failed", "After": "-.mount nss-lookup.target system.slice remote-fs.target network.target systemd-journald.socket tmp.mount basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2018-12-18 11:03:06 IST", "AssertTimestampMonotonic": "3310554968", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2018-12-18 11:03:06 IST", "ConditionTimestampMonotonic": "3310554967", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The nginx HTTP and reverse proxy server", "DevicePolicy": "auto", "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", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nginx.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2018-12-18 11:03:10 IST", "InactiveEnterTimestampMonotonic": "3314877157", "InactiveExitTimestamp": "Tue 2018-12-18 11:03:06 IST", "InactiveExitTimestampMonotonic": "3310556281", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "3", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14950", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14950", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nginx.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/nginx.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "yes", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target", "RequiresMountsFor": "/var/tmp", "Restart": "no", "RestartUSec": "100ms", "Result": "exit-code", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "failed", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "5s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "system.slice", "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())' | python", "delta": "0:00:01.004869", "end": "2018-12-18 11:14:09.506206", "rc": 0, "start": "2018-12-18 11:14:08.501337", "stderr": "", "stderr_lines": [], "stdout": "21c1a81a-8466-4856-a65c-e2eeb0c552c6", "stdout_lines": ["21c1a81a-8466-4856-a65c-e2eeb0c552c6"]}

TASK [misc : Write a ha.conf file to /etc/tower that contains the system UUID.] ************************************************************
[DEPRECATION WARNING]: Using tests as filters is deprecated. Instead of using `result|skipped` use `result is skipped`. This feature will
be removed in version 2.9. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
changed: [localhost] => {"changed": true, "checksum": "1313ceb3b00d0b4dd0cc35de8d6b44f6beeed31a", "dest": "/etc/tower/conf.d/ha.py", "gid": 979, "group": "awx", "md5sum": "b9d901830e2a5aec7f8d8ec84818cc08", "mode": "0640", "owner": "root", "size": 97, "src": "/root/.ansible/tmp/ansible-tmp-1545111854.08-54256925284597/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:14.691632", "end": "2018-12-18 11:14:45.966711", "rc": 0, "start": "2018-12-18 11:14:31.275079", "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)  => {"changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=RedHat-7.6)  => {"changed": false, "item": "RedHat-7.6", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=database)  => {"changed": false, "item": "database", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported)  => {"changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=ungrouped)  => {"changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
changed: [localhost] => (item=tower) => {"changed": true, "cmd": "awx-manage register_queue --queuename=\"tower\" --hostnames=\"localhost\"", "delta": "0:00:06.398879", "end": "2018-12-18 11:14:53.809342", "item": "tower", "rc": 0, "start": "2018-12-18 11:14:47.410463", "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)"]}

TASK [misc : Create the default organization if it is needed.] *****************************************************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage create_preload_data", "delta": "0:00:08.926533", "end": "2018-12-18 11:15:03.455413", "rc": 0, "start": "2018-12-18 11:14:54.528880", "stderr": "", "stderr_lines": [], "stdout": "Default organization added.\nDemo Credential, Inventory, and Job Template added.", "stdout_lines": ["Default organization added.", "Demo Credential, Inventory, and Job Template added."]}

PLAY [Install Tower isolated node(s)] ******************************************************************************************************
skipping: no hosts matched

PLAY RECAP *********************************************************************************************************************************
localhost                  : ok=132  changed=27   unreachable=0    failed=0  

The setup process completed successfully.
Setup log saved to /var/log/tower/setup-2018-12-18-11:03:40.log
You have new mail in /var/spool/mail/root

Comments

  1. Automation Workz >>>>> Download Now

    >>>>> Download Full

    Automation Workz >>>>> Download LINK

    >>>>> Download Now

    Automation Workz >>>>> Download Full

    >>>>> Download LINK 26

    ReplyDelete

Post a Comment