安装 Ansible Tower
安装需求
操作系统
-
- Red Hat Enterprise Linux 8.2 or later 64-bit (x86)
-
- Red Hat Enterprise Linux 7.7 or later 64-bit (x86)
-
- CentOS 7.7 or later 64-bit (x86)
- 64-bit support required
浏览器
-
- Mzilla Firefox
- Google Chrome
中央处理器
- 2 CPU (minimum)
内存
- 4GB
硬盘
-
- 20 GB for Tower
- 20 GB (Recommend 150 + GB) for Database
軟件
- PostgreSQL verion 10
Ansible是一种工具。
- Version 2.9 required for Ansible Tower version 3.8 or later.
关于亚马逊EC2的描述
-
- Instance size m4.large or lager
- Instance Size m4.xlager (if 100 hosts over)
建立
1. 代码库的配置
cat /etc/yum.repos.d/open_ansible-tower-implementation.repo
[rhel-7-server-rpms]
name=rhel-7-server-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-7-server-rpms
enabled=1
gpgcheck=0
[rhel-7-server-rh-common-rpms]
name=rhel-7-server-rh-common-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-7-server-rh-common-rpms
enabled=1
gpgcheck=0
[rhel-7-server-extras-rpms]
name=rhel-7-server-extras-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-7-server-extras-rpms
enabled=1
gpgcheck=0
[rhel-7-server-optional-rpms]
name=rhel-7-server-optional-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-7-server-optional-rpms
enabled=1
gpgcheck=0
[rhel-server-rhscl-7-rpms]
name=rhel-server-rhscl-7-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-server-rhscl-7-rpms
enabled=1
gpgcheck=0
[rhel-7-server-ansible-2.9-rpms]
name=rhel-7-server-ansible-2.9-rpms
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/tower/3.7.0-4/rhel-7-server-ansible-2.9-rpms
enabled=1
gpgcheck=0
[epel]
name=Extra Packages for Enterprise Linux 7
baseurl=http://d3s3zqyaz8cp2d.cloudfront.net/repos/epel/
enabled=1
gpgcheck=0
2. 下载安装文件
curl -O -J http://www.opentlc.com/download/ansible_tower_implementation/ansible-tower-setup-3.6.4-1.tar.gz
3. 安装部署的展开
tar -xvf ansible-tower-setup-3.6.4-1.tar.gz
ansible-tower-setup-3.6.4-1/
ansible-tower-setup-3.6.4-1/group_vars/
ansible-tower-setup-3.6.4-1/group_vars/all
ansible-tower-setup-3.6.4-1/roles/
ansible-tower-setup-3.6.4-1/roles/awx_install/
ansible-tower-setup-3.6.4-1/roles/awx_install/defaults/
ansible-tower-setup-3.6.4-1/roles/awx_install/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/awx_install/tasks/
ansible-tower-setup-3.6.4-1/roles/awx_install/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/awx_install/tasks/tasks.yml
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/ansible-tower.sysconfig.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/caching.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/channels.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/container_groups.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/insights.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/postgres.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/rabbitmq.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/settings.py.j2
ansible-tower-setup-3.6.4-1/roles/awx_install/templates/tower.conf.j2
ansible-tower-setup-3.6.4-1/roles/backup/
ansible-tower-setup-3.6.4-1/roles/backup/defaults/
ansible-tower-setup-3.6.4-1/roles/backup/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/backup/files/
ansible-tower-setup-3.6.4-1/roles/backup/files/instance_group_map.sql
ansible-tower-setup-3.6.4-1/roles/backup/files/instance_group_map_cleanup.sql
ansible-tower-setup-3.6.4-1/roles/backup/handlers/
ansible-tower-setup-3.6.4-1/roles/backup/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/
ansible-tower-setup-3.6.4-1/roles/backup/tasks/conf.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/download.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/init.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/job_stdout.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/postgres.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/projects.yml
ansible-tower-setup-3.6.4-1/roles/backup/tasks/venv.yml
ansible-tower-setup-3.6.4-1/roles/backup/vars/
ansible-tower-setup-3.6.4-1/roles/backup/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/backup/vars/RedHat-8.yml
ansible-tower-setup-3.6.4-1/roles/ca_cert/
ansible-tower-setup-3.6.4-1/roles/ca_cert/handlers/
ansible-tower-setup-3.6.4-1/roles/ca_cert/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/ca_cert/tasks/
ansible-tower-setup-3.6.4-1/roles/ca_cert/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/check_config_static/
ansible-tower-setup-3.6.4-1/roles/check_config_static/defaults/
ansible-tower-setup-3.6.4-1/roles/check_config_static/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/check_config_static/handlers/
ansible-tower-setup-3.6.4-1/roles/check_config_static/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/check_config_static/tasks/
ansible-tower-setup-3.6.4-1/roles/check_config_static/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/check_config_static/vars/
ansible-tower-setup-3.6.4-1/roles/check_config_static/vars/main.yml
ansible-tower-setup-3.6.4-1/roles/config_dynamic/
ansible-tower-setup-3.6.4-1/roles/config_dynamic/defaults/
ansible-tower-setup-3.6.4-1/roles/config_dynamic/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/config_dynamic/handlers/
ansible-tower-setup-3.6.4-1/roles/config_dynamic/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/config_dynamic/tasks/
ansible-tower-setup-3.6.4-1/roles/config_dynamic/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/config_dynamic/vars/
ansible-tower-setup-3.6.4-1/roles/config_dynamic/vars/main.yml
ansible-tower-setup-3.6.4-1/roles/firewall/
ansible-tower-setup-3.6.4-1/roles/firewall/defaults/
ansible-tower-setup-3.6.4-1/roles/firewall/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/firewall/handlers/
ansible-tower-setup-3.6.4-1/roles/firewall/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/firewall/tasks/
ansible-tower-setup-3.6.4-1/roles/firewall/tasks/firewalld.yml
ansible-tower-setup-3.6.4-1/roles/firewall/tasks/iptables.yml
ansible-tower-setup-3.6.4-1/roles/firewall/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/firewall/tasks/none.yml
ansible-tower-setup-3.6.4-1/roles/isolated/
ansible-tower-setup-3.6.4-1/roles/isolated/defaults/
ansible-tower-setup-3.6.4-1/roles/isolated/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/isolated/tasks/
ansible-tower-setup-3.6.4-1/roles/isolated/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/memcached/
ansible-tower-setup-3.6.4-1/roles/memcached/defaults/
ansible-tower-setup-3.6.4-1/roles/memcached/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/memcached/tasks/
ansible-tower-setup-3.6.4-1/roles/memcached/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/memcached/tasks/vars.yml
ansible-tower-setup-3.6.4-1/roles/memcached/templates/
ansible-tower-setup-3.6.4-1/roles/memcached/templates/awx-memcached-init.j2
ansible-tower-setup-3.6.4-1/roles/memcached/templates/memcached.conf.j2
ansible-tower-setup-3.6.4-1/roles/memcached/vars/
ansible-tower-setup-3.6.4-1/roles/memcached/vars/default.yml
ansible-tower-setup-3.6.4-1/roles/migrations/
ansible-tower-setup-3.6.4-1/roles/migrations/tasks/
ansible-tower-setup-3.6.4-1/roles/migrations/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/misc/
ansible-tower-setup-3.6.4-1/roles/misc/defaults/
ansible-tower-setup-3.6.4-1/roles/misc/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/misc/tasks/
ansible-tower-setup-3.6.4-1/roles/misc/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/misc/templates/
ansible-tower-setup-3.6.4-1/roles/misc/templates/ha.py
ansible-tower-setup-3.6.4-1/roles/nginx/
ansible-tower-setup-3.6.4-1/roles/nginx/defaults/
ansible-tower-setup-3.6.4-1/roles/nginx/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/nginx/files/
ansible-tower-setup-3.6.4-1/roles/nginx/files/openssl.cnf
ansible-tower-setup-3.6.4-1/roles/nginx/handlers/
ansible-tower-setup-3.6.4-1/roles/nginx/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/nginx/tasks/
ansible-tower-setup-3.6.4-1/roles/nginx/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/nginx/tasks/tasks.yml
ansible-tower-setup-3.6.4-1/roles/nginx/templates/
ansible-tower-setup-3.6.4-1/roles/nginx/templates/nginx.conf
ansible-tower-setup-3.6.4-1/roles/packages_el/
ansible-tower-setup-3.6.4-1/roles/packages_el/defaults/
ansible-tower-setup-3.6.4-1/roles/packages_el/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/install_deps.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/install_postgres.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/install_tower.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/upgrade_postgres.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/vars/
ansible-tower-setup-3.6.4-1/roles/packages_el/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/packages_el/vars/RedHat-8.yml
ansible-tower-setup-3.6.4-1/roles/postgres/
ansible-tower-setup-3.6.4-1/roles/postgres/defaults/
ansible-tower-setup-3.6.4-1/roles/postgres/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/postgres/handlers/
ansible-tower-setup-3.6.4-1/roles/postgres/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/postgres/tasks/
ansible-tower-setup-3.6.4-1/roles/postgres/tasks/conf.yml
ansible-tower-setup-3.6.4-1/roles/postgres/tasks/init.yml
ansible-tower-setup-3.6.4-1/roles/postgres/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/postgres/tasks/vars.yml
ansible-tower-setup-3.6.4-1/roles/postgres/templates/
ansible-tower-setup-3.6.4-1/roles/postgres/templates/pg_hba.conf.j2
ansible-tower-setup-3.6.4-1/roles/postgres/templates/postgresql.conf.j2
ansible-tower-setup-3.6.4-1/roles/postgres/templates/postgresql.tmpfiles.d.j2
ansible-tower-setup-3.6.4-1/roles/postgres/vars/
ansible-tower-setup-3.6.4-1/roles/postgres/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/postgres/vars/RedHat-8.yml
ansible-tower-setup-3.6.4-1/roles/postgres/vars/default.yml
ansible-tower-setup-3.6.4-1/roles/preflight/
ansible-tower-setup-3.6.4-1/roles/preflight/defaults/
ansible-tower-setup-3.6.4-1/roles/preflight/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/preflight/tasks/
ansible-tower-setup-3.6.4-1/roles/preflight/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/rabbitmq/
ansible-tower-setup-3.6.4-1/roles/rabbitmq/defaults/
ansible-tower-setup-3.6.4-1/roles/rabbitmq/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/rabbitmq/tasks/
ansible-tower-setup-3.6.4-1/roles/rabbitmq/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/rabbitmq/templates/
ansible-tower-setup-3.6.4-1/roles/rabbitmq/templates/erlang.cookie.j2
ansible-tower-setup-3.6.4-1/roles/rabbitmq/templates/rabbitmq-env.conf.j2
ansible-tower-setup-3.6.4-1/roles/rabbitmq/templates/rabbitmq.conf.j2
ansible-tower-setup-3.6.4-1/roles/repos_el/
ansible-tower-setup-3.6.4-1/roles/repos_el/defaults/
ansible-tower-setup-3.6.4-1/roles/repos_el/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/repos_el/files/
ansible-tower-setup-3.6.4-1/roles/repos_el/files/RPM-GPG-KEY-redhat-release
ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/
ansible-tower-setup-3.6.4-1/roles/repos_el/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/repos_el/templates/
ansible-tower-setup-3.6.4-1/roles/repos_el/templates/tower_bundle.j2
ansible-tower-setup-3.6.4-1/roles/repos_el/templates/yum_repo.j2
ansible-tower-setup-3.6.4-1/roles/repos_el/vars/
ansible-tower-setup-3.6.4-1/roles/repos_el/vars/CentOS-7.yml
ansible-tower-setup-3.6.4-1/roles/repos_el/vars/OracleLinux-7.yml
ansible-tower-setup-3.6.4-1/roles/repos_el/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/repos_el/vars/default.yml
ansible-tower-setup-3.6.4-1/roles/restore/
ansible-tower-setup-3.6.4-1/roles/restore/defaults/
ansible-tower-setup-3.6.4-1/roles/restore/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/restore/files/
ansible-tower-setup-3.6.4-1/roles/restore/files/rebuild_ig_mapping.sql
ansible-tower-setup-3.6.4-1/roles/restore/handlers/
ansible-tower-setup-3.6.4-1/roles/restore/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/
ansible-tower-setup-3.6.4-1/roles/restore/tasks/conf.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/init.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/job_stdout.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/postgres.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/projects.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/vars.yml
ansible-tower-setup-3.6.4-1/roles/restore/tasks/venv.yml
ansible-tower-setup-3.6.4-1/roles/restore/vars/
ansible-tower-setup-3.6.4-1/roles/restore/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/restore/vars/RedHat-8.yml
ansible-tower-setup-3.6.4-1/roles/restore/vars/main.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/
ansible-tower-setup-3.6.4-1/roles/supervisor/defaults/
ansible-tower-setup-3.6.4-1/roles/supervisor/defaults/main.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/handlers/
ansible-tower-setup-3.6.4-1/roles/supervisor/handlers/main.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/tasks/
ansible-tower-setup-3.6.4-1/roles/supervisor/tasks/main.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/tasks/tasks.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/tasks/vars.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/templates/
ansible-tower-setup-3.6.4-1/roles/supervisor/templates/tower.conf.j2
ansible-tower-setup-3.6.4-1/roles/supervisor/vars/
ansible-tower-setup-3.6.4-1/roles/supervisor/vars/RedHat-7.yml
ansible-tower-setup-3.6.4-1/roles/supervisor/vars/default.yml
ansible-tower-setup-3.6.4-1/README.md
ansible-tower-setup-3.6.4-1/backup.yml
ansible-tower-setup-3.6.4-1/install.yml
ansible-tower-setup-3.6.4-1/inventory
ansible-tower-setup-3.6.4-1/rekey.yml
ansible-tower-setup-3.6.4-1/restore.yml
ansible-tower-setup-3.6.4-1/setup.sh
ansible-tower-setup-3.6.4-1/licenses/
ansible-tower-setup-3.6.4-1/licenses/ui/
ansible-tower-setup-3.6.4-1/licenses/ui/loader-utils.txt
ansible-tower-setup-3.6.4-1/licenses/ui/@uirouter-angularjs.txt
ansible-tower-setup-3.6.4-1/licenses/ui/@uirouter-core.txt
ansible-tower-setup-3.6.4-1/licenses/ui/almond.txt
ansible-tower-setup-3.6.4-1/licenses/ui/amdefine.txt
ansible-tower-setup-3.6.4-1/licenses/ui/lodash.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-breadcrumb.txt
ansible-tower-setup-3.6.4-1/licenses/ui/lr-infinite-scroll.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-codemirror.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-cookies.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-drag-and-drop-lists.txt
ansible-tower-setup-3.6.4-1/licenses/ui/regenerator-runtime.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-duration-format.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-filters.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-gettext.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-moment.txt
ansible-tower-setup-3.6.4-1/licenses/ui/rrule.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-mousewheel.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-sanitize.txt
ansible-tower-setup-3.6.4-1/licenses/ui/seed-random.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-scheduler.txt
ansible-tower-setup-3.6.4-1/licenses/ui/select2.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-tz-extensions.txt
ansible-tower-setup-3.6.4-1/licenses/ui/source-map.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular-xeditable.txt
ansible-tower-setup-3.6.4-1/licenses/ui/angular.txt
ansible-tower-setup-3.6.4-1/licenses/ui/ansi-to-html.txt
ansible-tower-setup-3.6.4-1/licenses/ui/argparse.txt
ansible-tower-setup-3.6.4-1/licenses/ui/babel-polyfill.txt
ansible-tower-setup-3.6.4-1/licenses/ui/babel-runtime.txt
ansible-tower-setup-3.6.4-1/licenses/ui/big.js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/sprintf-js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/bootstrap-datepicker.txt
ansible-tower-setup-3.6.4-1/licenses/ui/bootstrap.txt
ansible-tower-setup-3.6.4-1/licenses/ui/codemirror.txt
ansible-tower-setup-3.6.4-1/licenses/ui/complex.js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/timezone-js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/components-font-awesome.txt
ansible-tower-setup-3.6.4-1/licenses/ui/core-js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/d3.txt
ansible-tower-setup-3.6.4-1/licenses/ui/dagre.txt
ansible-tower-setup-3.6.4-1/licenses/ui/decimal.js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/emojis-list.txt
ansible-tower-setup-3.6.4-1/licenses/ui/entities.txt
ansible-tower-setup-3.6.4-1/licenses/ui/escape-latex.txt
ansible-tower-setup-3.6.4-1/licenses/ui/esprima.txt
ansible-tower-setup-3.6.4-1/licenses/ui/fraction.js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/graphlib.txt
ansible-tower-setup-3.6.4-1/licenses/ui/hamsterjs.txt
ansible-tower-setup-3.6.4-1/licenses/ui/html-entities.txt
ansible-tower-setup-3.6.4-1/licenses/ui/inherits.txt
ansible-tower-setup-3.6.4-1/licenses/ui/legacy-loader.txt
ansible-tower-setup-3.6.4-1/licenses/ui/javascript-detect-element-resize.txt
ansible-tower-setup-3.6.4-1/licenses/ui/tiny-emitter.txt
ansible-tower-setup-3.6.4-1/licenses/ui/javascript-natural-sort.txt
ansible-tower-setup-3.6.4-1/licenses/ui/titlecase.txt
ansible-tower-setup-3.6.4-1/licenses/ui/jquery-mousewheel.txt
ansible-tower-setup-3.6.4-1/licenses/ui/jquery-ui.txt
ansible-tower-setup-3.6.4-1/licenses/ui/jquery.txt
ansible-tower-setup-3.6.4-1/licenses/ui/js-yaml.txt
ansible-tower-setup-3.6.4-1/licenses/ui/json5.txt
ansible-tower-setup-3.6.4-1/licenses/ui/jstimezonedetect.txt
ansible-tower-setup-3.6.4-1/licenses/ui/mathjs.txt
ansible-tower-setup-3.6.4-1/licenses/ui/moment.txt
ansible-tower-setup-3.6.4-1/licenses/ui/ng-toast.txt
ansible-tower-setup-3.6.4-1/licenses/ui/nvd3.txt
ansible-tower-setup-3.6.4-1/licenses/ui/object-assign.txt
ansible-tower-setup-3.6.4-1/licenses/ui/popper.js.txt
ansible-tower-setup-3.6.4-1/licenses/ui/typed-function.txt
ansible-tower-setup-3.6.4-1/licenses/ui/reconnectingwebsocket.txt
ansible-tower-setup-3.6.4-1/licenses/chardet.txt
ansible-tower-setup-3.6.4-1/licenses/GitPython.txt
ansible-tower-setup-3.6.4-1/licenses/django-taggit.txt
ansible-tower-setup-3.6.4-1/licenses/Markdown.txt
ansible-tower-setup-3.6.4-1/licenses/colorama.txt
ansible-tower-setup-3.6.4-1/licenses/MarkupSafe.txt
ansible-tower-setup-3.6.4-1/licenses/django.txt
ansible-tower-setup-3.6.4-1/licenses/PyYAML.txt
ansible-tower-setup-3.6.4-1/licenses/docutils.txt
ansible-tower-setup-3.6.4-1/licenses/README
ansible-tower-setup-3.6.4-1/licenses/dogpile.cache.txt
ansible-tower-setup-3.6.4-1/licenses/adal.txt
ansible-tower-setup-3.6.4-1/licenses/constantly.txt
ansible-tower-setup-3.6.4-1/licenses/amqp-2.4.2.tar.gz
ansible-tower-setup-3.6.4-1/licenses/enum34.txt
ansible-tower-setup-3.6.4-1/licenses/amqp.txt
ansible-tower-setup-3.6.4-1/licenses/cryptography.txt
ansible-tower-setup-3.6.4-1/licenses/ansible-runner.txt
ansible-tower-setup-3.6.4-1/licenses/future.txt
ansible-tower-setup-3.6.4-1/licenses/ansiconv.txt
ansible-tower-setup-3.6.4-1/licenses/daphne.txt
ansible-tower-setup-3.6.4-1/licenses/apache-libcloud.txt
ansible-tower-setup-3.6.4-1/licenses/futures.txt
ansible-tower-setup-3.6.4-1/licenses/appdirs.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-sql.txt
ansible-tower-setup-3.6.4-1/licenses/applicationinsights.txt
ansible-tower-setup-3.6.4-1/licenses/decorator.txt
ansible-tower-setup-3.6.4-1/licenses/argcomplete.txt
ansible-tower-setup-3.6.4-1/licenses/gitdb2.txt
ansible-tower-setup-3.6.4-1/licenses/argparse.txt
ansible-tower-setup-3.6.4-1/licenses/defusedxml.txt
ansible-tower-setup-3.6.4-1/licenses/asgi-amqp.txt
ansible-tower-setup-3.6.4-1/licenses/google-auth.txt
ansible-tower-setup-3.6.4-1/licenses/asgiref.txt
ansible-tower-setup-3.6.4-1/licenses/dictdiffer.txt
ansible-tower-setup-3.6.4-1/licenses/asn1crypto.txt
ansible-tower-setup-3.6.4-1/licenses/humanfriendly.txt
ansible-tower-setup-3.6.4-1/licenses/attrs.txt
ansible-tower-setup-3.6.4-1/licenses/hyperlink.txt
ansible-tower-setup-3.6.4-1/licenses/autobahn.txt
ansible-tower-setup-3.6.4-1/licenses/idna.txt
ansible-tower-setup-3.6.4-1/licenses/automat.txt
ansible-tower-setup-3.6.4-1/licenses/incremental.txt
ansible-tower-setup-3.6.4-1/licenses/awx.txt
ansible-tower-setup-3.6.4-1/licenses/django-auth-ldap.txt
ansible-tower-setup-3.6.4-1/licenses/azure-cli-core.txt
ansible-tower-setup-3.6.4-1/licenses/django-cors-headers.txt
ansible-tower-setup-3.6.4-1/licenses/azure-cli-nspkg.txt
ansible-tower-setup-3.6.4-1/licenses/django-crum.txt
ansible-tower-setup-3.6.4-1/licenses/azure-common.txt
ansible-tower-setup-3.6.4-1/licenses/django-extensions.txt
ansible-tower-setup-3.6.4-1/licenses/azure-graphrbac.txt
ansible-tower-setup-3.6.4-1/licenses/django-jsonfield.txt
ansible-tower-setup-3.6.4-1/licenses/azure-keyvault.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-storage.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-authorization.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-trafficmanager.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-automation.txt
ansible-tower-setup-3.6.4-1/licenses/django-oauth-toolkit.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-batch.txt
ansible-tower-setup-3.6.4-1/licenses/django-pglocks.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-cdn.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-web.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-compute.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-redis.txt
ansible-tower-setup-3.6.4-1/licenses/isodate.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-containerinstance.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-resource.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-containerregistry.txt
ansible-tower-setup-3.6.4-1/licenses/ip-associations-python-novaclient-ext
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-containerservice.txt
ansible-tower-setup-3.6.4-1/licenses/azure-nspkg.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-cosmosdb.txt
ansible-tower-setup-3.6.4-1/licenses/azure-storage.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-devtestlabs.txt
ansible-tower-setup-3.6.4-1/licenses/django-polymorphic.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-dns.txt
ansible-tower-setup-3.6.4-1/licenses/cachetools.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-hdinsight.txt
ansible-tower-setup-3.6.4-1/licenses/celery.txt
ansible-tower-setup-3.6.4-1/licenses/jinja2.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-iothub.txt
ansible-tower-setup-3.6.4-1/licenses/certifi.txt
ansible-tower-setup-3.6.4-1/licenses/jmespath.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-keyvault.txt
ansible-tower-setup-3.6.4-1/licenses/cffi.txt
ansible-tower-setup-3.6.4-1/licenses/knack.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-loganalytics.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-servicebus.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-marketplaceordering.txt
ansible-tower-setup-3.6.4-1/licenses/channels.txt
ansible-tower-setup-3.6.4-1/licenses/kombu.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-monitor.txt
ansible-tower-setup-3.6.4-1/licenses/chardet-3.0.4.tar.gz
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-network.txt
ansible-tower-setup-3.6.4-1/licenses/django-qsstats-magic.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-nspkg.txt
ansible-tower-setup-3.6.4-1/licenses/django-radius.txt
ansible-tower-setup-3.6.4-1/licenses/azure-mgmt-rdbms.txt
ansible-tower-setup-3.6.4-1/licenses/backports.functools-lru-cache
ansible-tower-setup-3.6.4-1/licenses/botocore.txt
ansible-tower-setup-3.6.4-1/licenses/inflect.txt
ansible-tower-setup-3.6.4-1/licenses/backports.ssl-match-hostname.txt
ansible-tower-setup-3.6.4-1/licenses/django-solo.txt
ansible-tower-setup-3.6.4-1/licenses/baron-0.6.6.tar.gz
ansible-tower-setup-3.6.4-1/licenses/ipaddress.txt
ansible-tower-setup-3.6.4-1/licenses/bcrypt.txt
ansible-tower-setup-3.6.4-1/licenses/iso8601.txt
ansible-tower-setup-3.6.4-1/licenses/billiard.txt
ansible-tower-setup-3.6.4-1/licenses/irc.txt
ansible-tower-setup-3.6.4-1/licenses/boto.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.classes.txt
ansible-tower-setup-3.6.4-1/licenses/boto3.txt
ansible-tower-setup-3.6.4-1/licenses/django-split-settings.txt
ansible-tower-setup-3.6.4-1/licenses/djangorestframework-yaml.txt
ansible-tower-setup-3.6.4-1/licenses/djangorestframework.txt
ansible-tower-setup-3.6.4-1/licenses/python-daemon.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.collections.txt
ansible-tower-setup-3.6.4-1/licenses/python3-openid.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.functools.txt
ansible-tower-setup-3.6.4-1/licenses/python3-saml.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.itertools.txt
ansible-tower-setup-3.6.4-1/licenses/pytz.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.logging.txt
ansible-tower-setup-3.6.4-1/licenses/pyvmomi.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.stream.txt
ansible-tower-setup-3.6.4-1/licenses/pywinrm.txt
ansible-tower-setup-3.6.4-1/licenses/jaraco.text.txt
ansible-tower-setup-3.6.4-1/licenses/redbaron-0.6.3.tar.gz
ansible-tower-setup-3.6.4-1/licenses/jsonpatch.txt
ansible-tower-setup-3.6.4-1/licenses/requests-credssp.txt
ansible-tower-setup-3.6.4-1/licenses/jsonpickle.txt
ansible-tower-setup-3.6.4-1/licenses/requests-futures.txt
ansible-tower-setup-3.6.4-1/licenses/jsonpointer.txt
ansible-tower-setup-3.6.4-1/licenses/requests-kerberos.txt
ansible-tower-setup-3.6.4-1/licenses/jsonschema.txt
ansible-tower-setup-3.6.4-1/licenses/requests-ntlm.txt
ansible-tower-setup-3.6.4-1/licenses/keystoneauth1.txt
ansible-tower-setup-3.6.4-1/licenses/requests-oauthlib.txt
ansible-tower-setup-3.6.4-1/licenses/kubernetes.txt
ansible-tower-setup-3.6.4-1/licenses/txaio.txt
ansible-tower-setup-3.6.4-1/licenses/lockfile.txt
ansible-tower-setup-3.6.4-1/licenses/twisted.txt
ansible-tower-setup-3.6.4-1/licenses/lxml.txt
ansible-tower-setup-3.6.4-1/licenses/requests.txt
ansible-tower-setup-3.6.4-1/licenses/monotonic.txt
ansible-tower-setup-3.6.4-1/licenses/requestsexceptions.txt
ansible-tower-setup-3.6.4-1/licenses/more-itertools.txt
ansible-tower-setup-3.6.4-1/licenses/rsa.txt
ansible-tower-setup-3.6.4-1/licenses/msgpack-python.txt
ansible-tower-setup-3.6.4-1/licenses/typing.txt
ansible-tower-setup-3.6.4-1/licenses/msrest.txt
ansible-tower-setup-3.6.4-1/licenses/ruamel.yaml.txt
ansible-tower-setup-3.6.4-1/licenses/msrestazure.txt
ansible-tower-setup-3.6.4-1/licenses/uWSGI.txt
ansible-tower-setup-3.6.4-1/licenses/munch.txt
ansible-tower-setup-3.6.4-1/licenses/urllib3.txt
ansible-tower-setup-3.6.4-1/licenses/ncclient.txt
ansible-tower-setup-3.6.4-1/licenses/vine.txt
ansible-tower-setup-3.6.4-1/licenses/netaddr.txt
ansible-tower-setup-3.6.4-1/licenses/s3transfer.txt
ansible-tower-setup-3.6.4-1/licenses/netifaces.txt
ansible-tower-setup-3.6.4-1/licenses/python-dateutil.txt
ansible-tower-setup-3.6.4-1/licenses/ntlm-auth-1.3.0.tar.gz
ansible-tower-setup-3.6.4-1/licenses/selectors2.txt
ansible-tower-setup-3.6.4-1/licenses/ntlm-auth.txt
ansible-tower-setup-3.6.4-1/licenses/uwsgi-2.0.17.tar.gz
ansible-tower-setup-3.6.4-1/licenses/oauthlib.txt
ansible-tower-setup-3.6.4-1/licenses/service-identity.txt
ansible-tower-setup-3.6.4-1/licenses/openshift.txt
ansible-tower-setup-3.6.4-1/licenses/setuptools.txt
ansible-tower-setup-3.6.4-1/licenses/openstacksdk.txt
ansible-tower-setup-3.6.4-1/licenses/simplejson.txt
ansible-tower-setup-3.6.4-1/licenses/ordereddict.txt
ansible-tower-setup-3.6.4-1/licenses/six.txt
ansible-tower-setup-3.6.4-1/licenses/os-service-types.txt
ansible-tower-setup-3.6.4-1/licenses/python-ldap.txt
ansible-tower-setup-3.6.4-1/licenses/ovirt-engine-sdk-python.txt
ansible-tower-setup-3.6.4-1/licenses/slackclient.txt
ansible-tower-setup-3.6.4-1/licenses/packaging.txt
ansible-tower-setup-3.6.4-1/licenses/python-memcached.txt
ansible-tower-setup-3.6.4-1/licenses/paramiko-2.6.0.tar.gz
ansible-tower-setup-3.6.4-1/licenses/uwsgitop.txt
ansible-tower-setup-3.6.4-1/licenses/paramiko.txt
ansible-tower-setup-3.6.4-1/licenses/xmlsec.txt
ansible-tower-setup-3.6.4-1/licenses/pbr.txt
ansible-tower-setup-3.6.4-1/licenses/websocket-client.txt
ansible-tower-setup-3.6.4-1/licenses/pexpect.txt
ansible-tower-setup-3.6.4-1/licenses/wheel.txt
ansible-tower-setup-3.6.4-1/licenses/pip.txt
ansible-tower-setup-3.6.4-1/licenses/smmap2.txt
ansible-tower-setup-3.6.4-1/licenses/pkgconfig.txt
ansible-tower-setup-3.6.4-1/licenses/python-radius.txt
ansible-tower-setup-3.6.4-1/licenses/prometheus-client.txt
ansible-tower-setup-3.6.4-1/licenses/zope.interface.txt
ansible-tower-setup-3.6.4-1/licenses/psutil.txt
ansible-tower-setup-3.6.4-1/licenses/python-string-utils.txt
ansible-tower-setup-3.6.4-1/licenses/psycopg2-2.8.2.tar.gz
ansible-tower-setup-3.6.4-1/licenses/xmltodict.txt
ansible-tower-setup-3.6.4-1/licenses/psycopg2.txt
ansible-tower-setup-3.6.4-1/licenses/social-auth-app-django.txt
ansible-tower-setup-3.6.4-1/licenses/ptyprocess.txt
ansible-tower-setup-3.6.4-1/licenses/social-auth-core.txt
ansible-tower-setup-3.6.4-1/licenses/pyOpenSSL.txt
ansible-tower-setup-3.6.4-1/licenses/sqlparse.txt
ansible-tower-setup-3.6.4-1/licenses/pyasn1-modules.txt
ansible-tower-setup-3.6.4-1/licenses/pyasn1.txt
ansible-tower-setup-3.6.4-1/licenses/stevedore.txt
ansible-tower-setup-3.6.4-1/licenses/pycparser.txt
ansible-tower-setup-3.6.4-1/licenses/pycurl.txt
ansible-tower-setup-3.6.4-1/licenses/suds-0.4.tar.gz
ansible-tower-setup-3.6.4-1/licenses/pygerduty.txt
ansible-tower-setup-3.6.4-1/licenses/pygments.txt
ansible-tower-setup-3.6.4-1/licenses/tabulate.txt
ansible-tower-setup-3.6.4-1/licenses/pyhamcrest.txt
ansible-tower-setup-3.6.4-1/licenses/pyjwt.txt
ansible-tower-setup-3.6.4-1/licenses/tacacs-plus.txt
ansible-tower-setup-3.6.4-1/licenses/pykerberos.txt
ansible-tower-setup-3.6.4-1/licenses/pynacl.txt
ansible-tower-setup-3.6.4-1/licenses/tempora.txt
ansible-tower-setup-3.6.4-1/licenses/pyparsing.txt
ansible-tower-setup-3.6.4-1/licenses/pyrad.txt
ansible-tower-setup-3.6.4-1/licenses/pysocks.txt
ansible-tower-setup-3.6.4-1/licenses/twilio.txt
将目录切换到设置文件夹中。
cd ansible-tower-setup-3.6.4-1/
5. 在inventory文件中编辑密码。
编辑admin_password、pg_password和rabbitmq_password。
cat ./inventory
[tower]
localhost ansible_connection=local
[database]
[all:vars]
admin_password='redhat' # 変更
pg_host=''
pg_port=''
pg_database='awx'
pg_username='awx'
pg_password='redhat' # 変更
pg_sslmode='prefer' # set to 'verify-full' for client-side enforced SSL
rabbitmq_username=tower
rabbitmq_password='redhat' #変更
rabbitmq_cookie=cookiemonster
# Isolated Tower nodes automatically generate an RSA key for authentication;
# To disable this behavior, set this value to false
# isolated_key_generation=true
# SSL-related variables
# If set, this will install a custom CA certificate to the system trust store.
# custom_ca_cert=/path/to/ca.crt
# Certificate and key to install in nginx for the web UI and API
# web_server_ssl_cert=/path/to/tower.cert
# web_server_ssl_key=/path/to/tower.key
# Use SSL for RabbitMQ inter-node communication. Because RabbitMQ never
# communicates outside the cluster, a private CA and certificates will be
# created, and do not need to be supplied.
# rabbitmq_use_ssl=False
# Server-side SSL settings for PostgreSQL (when we are installing it).
# postgres_use_ssl=False
# postgres_ssl_cert=/path/to/pgsql.crt
# postgres_ssl_key=/path/to/pgsql.key
6. 安装 Ansible Tower
sudo ./setup.sh
Using /etc/ansible/ansible.cfg as config file
[WARNING]: Could not match supplied host pattern, ignoring: instance_group_*
[WARNING]: Could not match supplied host pattern, ignoring: isolated_group_*
PLAY [tower:database:instance_group_*:isolated_group_*] ************************
TASK [check_config_static : Ensure expected variables are defined] *************
skipping: [localhost] => (item=tower_package_name) => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_name", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower_package_version) => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_version", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower_package_release) => {"ansible_loop_var": "item", "changed": false, "item": "tower_package_release", "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure cluster hosts are not localhost] ************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that controller uses queue name and not group name] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that group names do not conflict with instance names] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Detect unsupported HA inventory file] **************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure at least one tower host is defined] *********
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Check that no instance groups are named tower] *****
skipping: [localhost] => (item=ungrouped) => {"ansible_loop_var": "item", "changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=all) => {"ansible_loop_var": "item", "changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=tower) => {"ansible_loop_var": "item", "changed": false, "item": "tower", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=database) => {"ansible_loop_var": "item", "changed": false, "item": "database", "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure only one database host exists] **************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure when postgres host is defined that the port is defined] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that when a database host is specified, that pg_host is defined] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that when a database host is specified, that pg_port is defined] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that pg_hashed_password is not set] *********
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that a rabbitmq passwod is defined] *********
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Ensure that if we have web cert, we also have key] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : Preflight check - verify certificates for Postgres SSL install] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : HA mode requires an external postgres database with pg_host defined] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [check_config_static : HA mode requires an external postgres database with pg_port defined] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [config_dynamic : Set database to internal or external] *******************
ok: [localhost] => {"ansible_facts": {"config_dynamic_database": "internal"}, "changed": false}
TASK [config_dynamic : Database decision] **************************************
ok: [localhost] => {
"config_dynamic_database": "internal"
}
TASK [config_dynamic : Set postgres host and port to local if not set] *********
ok: [localhost] => {"ansible_facts": {"pg_host": "127.0.0.1", "pg_port": 5432}, "changed": false}
TASK [config_dynamic : Ensure connectivity to hosts and gather facts] **********
ok: [localhost]
TASK [config_dynamic : Get effective uid] **************************************
changed: [localhost] => {"changed": true, "cmd": ["id", "-u"], "delta": "0:00:00.003730", "end": "2021-01-07 02:05:30.057091", "rc": 0, "start": "2021-01-07 02:05:30.053361", "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", "changed": false, "parent_groups": ["all"]}
[WARNING]: Could not match supplied host pattern, ignoring: CentOS_7
[WARNING]: Could not match supplied host pattern, ignoring: OracleLinux_7
[WARNING]: Could not match supplied host pattern, ignoring: RedHat_8
[WARNING]: Could not match supplied host pattern, ignoring: CentOS_8
PLAY [Group supported distributions] *******************************************
TASK [Retrieve the point in time version (CentOS)] *****************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [Set the proper ansible_distribution_version fact (CentOS)] ***************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [group hosts for supported distributions] *********************************
ok: [localhost] => {"add_group": "supported", "changed": false, "parent_groups": ["all"]}
[WARNING]: Could not match supplied host pattern, ignoring: none
PLAY [Group deprecated distributions] ******************************************
skipping: no hosts matched
PLAY [Ensure all node OS distributions are supported] **************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: deprecated
PLAY [Check for deprecated platforms] ******************************************
skipping: no hosts matched
[WARNING]: Could not match supplied host pattern, ignoring: CentOS*
[WARNING]: Could not match supplied host pattern, ignoring: OracleLinux*
PLAY [Ensure proper version of the bundled installer] **************************
TASK [find bundle version] *****************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [fail if wrong version] ***************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Define role discovered variables, usable throughout the playbook] ********
TASK [postgres : include_vars] *************************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"existing_pg_bin": "/usr/pgsql-9.6/bin", "existing_pg_dir": "/var/lib/pgsql/9.6/data", "existing_pg_name": "postgresql96", "extra_env": {"LD_LIBRARY_PATH": "/opt/rh/rh-postgresql10/root/usr/lib64"}, "pg_bash": "scl enable rh-postgresql10 --", "pg_conf_bin": "/opt/rh/rh-postgresql10/root/bin", "pg_conf_dir": "/var/opt/rh/rh-postgresql10/lib/pgsql/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "{{ pg_conf_bin }}/postgresql-setup initdb", "pg_systemd_name": "postgresql-9.6", "pg_upgrade_location": "{{ pg_conf_bin }}/pg_upgrade", "postgres_init_name": "rh-postgresql10-postgresql"}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/RedHat-7.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/../vars/RedHat-7.yml"}
TASK [postgres : include_tasks] ************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : include_tasks] ************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Sanity check and prep Tower node(s)] *************************************
TASK [preflight : Preflight check - require new enough Ansible] ****************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Fail if this machine lacks sufficient RAM.] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Get umask] *********************************
ok: [localhost] => {"changed": false, "cmd": "umask", "delta": "0:00:00.003660", "end": "2021-01-07 02:05:31.127167", "rc": 0, "start": "2021-01-07 02:05:31.123507", "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.003759", "end": "2021-01-07 02:05:31.315024", "rc": 0, "start": "2021-01-07 02:05:31.311265", "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": 1574168370.5947075, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1609982474.296573, "dev": 51714, "device_type": 0, "executable": true, "exists": true, "gid": 0, "gr_name": "root", "inode": 12663622, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1609982474.296573, "nlink": 8, "path": "/var/log", "pw_name": "root", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 0, "version": "18446744073291498280", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true}}
TASK [preflight : Preflight check - Does /var/log have appropriate permissions?] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - Read in tower version] *********************
fatal: [localhost]: FAILED! => {"changed": false, "msg": "file not found: /var/lib/awx/.tower_version"}
...ignoring
TASK [preflight : Preflight check - Passwords must be defined for a fresh install] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Find mount options for /var, /var/tmp, and /tmp] *************
ok: [localhost] => (item=/var) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/var", "msg": ""}
ok: [localhost] => (item=/var/tmp) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/var/tmp", "msg": ""}
ok: [localhost] => (item=/tmp) => {"ansible_loop_var": "item", "backup": "", "changed": false, "found": 0, "item": "/tmp", "msg": ""}
TASK [preflight : Fail if the filesystem is mounted with noexec] ***************
skipping: [localhost] => (item={u'ansible_loop_var': u'item', u'item': u'/var', u'changed': False, u'failed': False, u'diff': [{u'after': u'', u'after_header': u'/proc/mounts (content)', u'before_header': u'/proc/mounts (content)', u'before': u''}, {u'after_header': u'/proc/mounts (file attributes)', u'before_header': u'/proc/mounts (file attributes)'}], u'invocation': {u'module_args': {u'directory_mode': None, u'force': None, u'remote_src': None, u'selevel': None, u'backrefs': False, u'insertafter': None, u'follow': False, u'owner': None, u'path': u'/proc/mounts', u'line': None, u'validate': None, u'src': None, u'group': None, u'name': u'/proc/mounts', u'insertbefore': None, u'unsafe_writes': None, u'delimiter': None, u'create': False, u'seuser': None, u'serole': None, u'regexp': u' /var .*noexec', u'content': None, u'state': u'absent', u'mode': None, u'firstmatch': False, u'attributes': None, u'backup': False, u'setype': None}}, u'found': 0, u'backup': u'', u'msg': u''}) => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /var .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/var", "msg": ""}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'ansible_loop_var': u'item', u'item': u'/var/tmp', u'changed': False, u'failed': False, u'diff': [{u'after': u'', u'after_header': u'/proc/mounts (content)', u'before_header': u'/proc/mounts (content)', u'before': u''}, {u'after_header': u'/proc/mounts (file attributes)', u'before_header': u'/proc/mounts (file attributes)'}], u'invocation': {u'module_args': {u'directory_mode': None, u'force': None, u'remote_src': None, u'selevel': None, u'backrefs': False, u'insertafter': None, u'follow': False, u'owner': None, u'path': u'/proc/mounts', u'line': None, u'validate': None, u'src': None, u'group': None, u'name': u'/proc/mounts', u'insertbefore': None, u'unsafe_writes': None, u'delimiter': None, u'create': False, u'seuser': None, u'serole': None, u'regexp': u' /var/tmp .*noexec', u'content': None, u'state': u'absent', u'mode': None, u'firstmatch': False, u'attributes': None, u'backup': False, u'setype': None}}, u'found': 0, u'backup': u'', u'msg': u''}) => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /var/tmp .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/var/tmp", "msg": ""}, "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item={u'ansible_loop_var': u'item', u'item': u'/tmp', u'changed': False, u'failed': False, u'diff': [{u'after': u'', u'after_header': u'/proc/mounts (content)', u'before_header': u'/proc/mounts (content)', u'before': u''}, {u'after_header': u'/proc/mounts (file attributes)', u'before_header': u'/proc/mounts (file attributes)'}], u'invocation': {u'module_args': {u'directory_mode': None, u'force': None, u'remote_src': None, u'selevel': None, u'backrefs': False, u'insertafter': None, u'follow': False, u'owner': None, u'path': u'/proc/mounts', u'line': None, u'validate': None, u'src': None, u'group': None, u'name': u'/proc/mounts', u'insertbefore': None, u'unsafe_writes': None, u'delimiter': None, u'create': False, u'seuser': None, u'serole': None, u'regexp': u' /tmp .*noexec', u'content': None, u'state': u'absent', u'mode': None, u'firstmatch': False, u'attributes': None, u'backup': False, u'setype': None}}, u'found': 0, u'backup': u'', u'msg': u''}) => {"ansible_loop_var": "item", "changed": false, "item": {"ansible_loop_var": "item", "backup": "", "changed": false, "diff": [{"after": "", "after_header": "/proc/mounts (content)", "before": "", "before_header": "/proc/mounts (content)"}, {"after_header": "/proc/mounts (file attributes)", "before_header": "/proc/mounts (file attributes)"}], "failed": false, "found": 0, "invocation": {"module_args": {"attributes": null, "backrefs": false, "backup": false, "content": null, "create": false, "delimiter": null, "directory_mode": null, "firstmatch": false, "follow": false, "force": null, "group": null, "insertafter": null, "insertbefore": null, "line": null, "mode": null, "name": "/proc/mounts", "owner": null, "path": "/proc/mounts", "regexp": " /tmp .*noexec", "remote_src": null, "selevel": null, "serole": null, "setype": null, "seuser": null, "src": null, "state": "absent", "unsafe_writes": null, "validate": null}}, "item": "/tmp", "msg": ""}, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - User must be on Tower 3.4.x to upgrade] ****
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license type] ******************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license type (detailed)] *******
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license validity for upgrades] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [preflight : Preflight check - check Tower license compliance for upgrades] ***
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Install custom CA certificate, if provided] ******************************
TASK [ca_cert : Copy custom CA cert] *******************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
PLAY [Prep installation repos] *************************************************
TASK [repos_el : include_vars] *************************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/repos_el/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"redhat_rhsm_repos": ["rhel-7-server-extras-rpms", "rhel-server-rhscl-7-rpms"], "redhat_rhui_repos": ["rhui-rhel-7-server-rhui-extras-rpms", "rhui-rhel-server-rhui-rhscl-7-rpms"], "yum_repo_keys": ["RPM-GPG-KEY-redhat-release"]}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/repos_el/vars/RedHat-7.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/repos_el/vars/../vars/RedHat-7.yml"}
TASK [repos_el : Install yum repo keys] ****************************************
changed: [localhost] => (item=RPM-GPG-KEY-redhat-release) => {"ansible_loop_var": "item", "changed": true, "checksum": "379962dabeaa7fd9e3b57d3669198151279fe525", "dest": "/etc/pki/rpm-gpg/RPM-GPG-KEY-redhat-release", "gid": 0, "group": "root", "item": "RPM-GPG-KEY-redhat-release", "md5sum": "ff2253da739b11387a5d4fcee2fd433c", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:cert_t:s0", "size": 1854, "src": "/root/.ansible/tmp/ansible-tmp-1609985133.37-19477-196128850349582/source", "state": "file", "uid": 0}
TASK [repos_el : Install yum repos that arrive via release packages] ***********
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": []}
TASK [repos_el : Install subscription-manager-rhsm-certificates] ***************
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["subscription-manager-rhsm-certificates-1.24.13-3.el7_7.x86_64 providing subscription-manager-rhsm-certificates is already installed"]}
TASK [repos_el : Determine if AWS rhui repository exists] **********************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Update rh-amazon-rhui-client (RHEL EC2 only)] *****************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Determine RHUI version] ***************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : set_fact] *****************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : set_fact] *****************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [repos_el : Enable AWS rhui repositories] *********************************
TASK [repos_el : Determine if rhui repository exists] **************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Enable rhui repositories] *************************************
skipping: [localhost] => (item=rhui-rhel-7-server-rhui-extras-rpms) => {"ansible_loop_var": "item", "changed": false, "item": "rhui-rhel-7-server-rhui-extras-rpms", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=rhui-rhel-server-rhui-rhscl-7-rpms) => {"ansible_loop_var": "item", "changed": false, "item": "rhui-rhel-server-rhui-rhscl-7-rpms", "skip_reason": "Conditional result was False"}
TASK [repos_el : Determine if rhsm repository exists] **************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Determine if rhsm system cert exists] *************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Enable rhsm repositories] *************************************
skipping: [localhost] => (item=rhel-7-server-extras-rpms) => {"ansible_loop_var": "item", "changed": false, "item": "rhel-7-server-extras-rpms", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=rhel-server-rhscl-7-rpms) => {"ansible_loop_var": "item", "changed": false, "item": "rhel-server-rhscl-7-rpms", "skip_reason": "Conditional result was False"}
TASK [repos_el : Determine if Oracle Linux repository exists] ******************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [repos_el : Enable extra Oracle repositories] *****************************
TASK [repos_el : Enable Oracle's SCL repo] *************************************
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 : Remove legacy rabbitmq repository] ****************************
ok: [localhost] => {"changed": false, "path": "/etc/yum.repos.d/rabbitmq.repo", "state": "absent"}
TASK [repos_el : Install the Tower yum repository.] ****************************
changed: [localhost] => {"changed": true, "checksum": "d8b5a1a8260ca2c9a9f107aeae51648c1db3f528", "dest": "/etc/yum.repos.d/ansible-tower.repo", "gid": 0, "group": "root", "md5sum": "9bb8425f7a6dedf05b481c3f2de938ef", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:system_conf_t:s0", "size": 484, "src": "/root/.ansible/tmp/ansible-tmp-1609985136.81-19698-105591890434732/source", "state": "file", "uid": 0}
PLAY [Install postgres database node] ******************************************
skipping: no hosts matched
PLAY [Install Tower node(s)] ***************************************************
TASK [set_fact] ****************************************************************
ok: [localhost] => {"ansible_facts": {"cluster_host": "localhost"}, "changed": false}
TASK [include_role : packages_el] **********************************************
TASK [include packages_el variables] *******************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/packages_el/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"el_dependencies": ["python-psycopg2", "python-setuptools", "libselinux-python", "setools-libs", "yum-utils", "sudo", "acl"], "extra_env": {"LD_LIBRARY_PATH": "/opt/rh/rh-postgresql10/root/usr/lib64"}, "postgresql_packages": ["rh-postgresql10-postgresql-server", "rh-postgresql10-postgresql-contrib"], "upgrade_postgres": false}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/packages_el/vars/RedHat-7.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/packages_el/vars/../vars/RedHat-7.yml"}
TASK [packages_el : Install playbook dependencies] *****************************
changed: [localhost] => {"changed": true, "changes": {"installed": ["python-psycopg2"]}, "msg": "", "rc": 0, "results": ["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-52.el7.noarch providing yum-utils is already installed", "sudo-1.8.23-4.el7_7.1.x86_64 providing sudo is already installed", "acl-2.2.51-14.el7.x86_64 providing acl is already installed", "Loaded plugins: amazon-id, search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package python-psycopg2.x86_64 0:2.5.1-4.el7 will be installed\n--> Processing Dependency: libpq.so.5()(64bit) for package: python-psycopg2-2.5.1-4.el7.x86_64\n--> Running transaction check\n---> Package postgresql-libs.x86_64 0:9.2.24-4.el7_8 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python-psycopg2 x86_64 2.5.1-4.el7 rhel-7-server-rpms 132 k\nInstalling for dependencies:\n postgresql-libs x86_64 9.2.24-4.el7_8 rhel-7-server-rpms 234 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 366 k\nInstalled size: 1.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 230 kB/s | 366 kB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : postgresql-libs-9.2.24-4.el7_8.x86_64 1/2 \n Installing : python-psycopg2-2.5.1-4.el7.x86_64 2/2 \n Verifying : postgresql-libs-9.2.24-4.el7_8.x86_64 1/2 \n Verifying : python-psycopg2-2.5.1-4.el7.x86_64 2/2 \n\nInstalled:\n python-psycopg2.x86_64 0:2.5.1-4.el7 \n\nDependency Installed:\n postgresql-libs.x86_64 0:9.2.24-4.el7_8 \n\nComplete!\n"]}
TASK [packages_el : Enable required dnf modules] *******************************
TASK [packages_el : include_tasks] *********************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/install_tower.yml for localhost
TASK [packages_el : Install the Tower RPM.] ************************************
changed: [localhost] => {"changed": true, "changes": {"installed": ["ansible-tower == 3.6.4"], "updated": []}, "msg": "", "obsoletes": {"iwl7265-firmware": {"dist": "noarch", "repo": "@anaconda/7.7", "version": "22.0.7.0-72.el7"}}, "rc": 0, "results": ["Loaded plugins: amazon-id, search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package ansible-tower.x86_64 0:3.6.4-1.el7at will be installed\n--> Processing Dependency: ansible-tower-ui = 3.6.4-1.el7at for package: ansible-tower-3.6.4-1.el7at.x86_64\n--> Processing Dependency: ansible-tower-server = 3.6.4-1.el7at for package: ansible-tower-3.6.4-1.el7at.x86_64\n--> Processing Dependency: rh-python36-runtime for package: ansible-tower-3.6.4-1.el7at.x86_64\n--> Running transaction check\n---> Package ansible-tower-server.x86_64 0:3.6.4-1.el7at will be installed\n--> Processing Dependency: ansible-tower-venv-tower = 3.6.4-1.el7at for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: ansible-tower-venv-ansible = 3.6.4-1.el7at for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: supervisor >= 3.0 for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: bubblewrap >= 0.1.2 for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: xmlsec1-openssl for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: xmlsec1 for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: subversion for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: sos for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: rh-postgresql10-postgresql for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: rabbitmq-server for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: openshift-clients for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: nginx for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: mercurial for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: memcached for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n--> Processing Dependency: libcgroup-tools for package: ansible-tower-server-3.6.4-1.el7at.x86_64\n---> Package ansible-tower-ui.x86_64 0:3.6.4-1.el7at will be installed\n---> Package rh-python36-runtime.x86_64 0:2.0-1.el7 will be installed\n--> Processing Dependency: scl-utils for package: rh-python36-runtime-2.0-1.el7.x86_64\n--> Running transaction check\n---> Package ansible-tower-venv-ansible.x86_64 0:3.6.4-1.el7at will be installed\n--> Processing Dependency: python-virtualenv for package: ansible-tower-venv-ansible-3.6.4-1.el7at.x86_64\n---> Package ansible-tower-venv-tower.x86_64 0:3.6.4-1.el7at will be installed\n--> Processing Dependency: rh-python36-python for package: ansible-tower-venv-tower-3.6.4-1.el7at.x86_64\n---> Package bubblewrap.x86_64 0:0.3.3-2.el7at will be installed\n---> Package libcgroup-tools.x86_64 0:0.41-21.el7 will be installed\n---> Package memcached.x86_64 0:1.4.15-10.el7_3.1 will be installed\n---> Package mercurial.x86_64 0:2.6.2-11.el7 will be installed\n---> Package nginx.x86_64 1:1.16.1-2.el7at will be installed\n--> Processing Dependency: nginx-filesystem = 1:1.16.1-2.el7at for package: 1:nginx-1.16.1-2.el7at.x86_64\n--> Processing Dependency: nginx-all-modules = 1:1.16.1-2.el7at for package: 1:nginx-1.16.1-2.el7at.x86_64\n--> Processing Dependency: nginx-filesystem for package: 1:nginx-1.16.1-2.el7at.x86_64\n---> Package openshift-clients.x86_64 0:4.1.34-202001310309.git.0.125a3c4.el7 will be installed\n---> Package rabbitmq-server.noarch 0:3.7.15-1.el7at will be installed\n--> Processing Dependency: erlang >= 20.3 for package: rabbitmq-server-3.7.15-1.el7at.noarch\n--> Processing Dependency: socat for package: rabbitmq-server-3.7.15-1.el7at.noarch\n---> Package rh-postgresql10-postgresql.x86_64 0:10.12-2.el7 will be installed\n--> Processing Dependency: rh-postgresql10-postgresql-libs(x86-64) = 10.12-2.el7 for package: rh-postgresql10-postgresql-10.12-2.el7.x86_64\n--> Processing Dependency: rh-postgresql10-runtime for package: rh-postgresql10-postgresql-10.12-2.el7.x86_64\n--> Processing Dependency: libpq.so.rh-postgresql10-5()(64bit) for package: rh-postgresql10-postgresql-10.12-2.el7.x86_64\n---> Package scl-utils.x86_64 0:20130529-19.el7 will be installed\n---> Package sos.noarch 0:3.8-8.el7_8 will be installed\n--> Processing Dependency: python2-futures for package: sos-3.8-8.el7_8.noarch\n--> Processing Dependency: bzip2 for package: sos-3.8-8.el7_8.noarch\n---> Package subversion.x86_64 0:1.7.14-14.el7 will be installed\n--> Processing Dependency: subversion-libs(x86-64) = 1.7.14-14.el7 for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_wc-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_subr-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_repos-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_ra_svn-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_ra_neon-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_ra_local-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_ra-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_fs_util-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_fs_fs-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_fs_base-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_fs-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_diff-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_delta-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libsvn_client-1.so.0()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n--> Processing Dependency: libneon.so.27()(64bit) for package: subversion-1.7.14-14.el7.x86_64\n---> Package supervisor.noarch 0:3.1.4-1.el7 will be installed\n--> Processing Dependency: python-meld3 >= 0.6.5 for package: supervisor-3.1.4-1.el7.noarch\n---> Package xmlsec1.x86_64 0:1.2.20-7.el7_4 will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: xmlsec1-1.2.20-7.el7_4.x86_64\n---> Package xmlsec1-openssl.x86_64 0:1.2.20-7.el7_4 will be installed\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package erlang.x86_64 0:20.3.8.21-1.el7at will be installed\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n---> Package neon.x86_64 0:0.30.0-4.el7 will be installed\n--> Processing Dependency: libgnutls.so.28(GNUTLS_3_0_0)(64bit) for package: neon-0.30.0-4.el7.x86_64\n--> Processing Dependency: libgnutls.so.28(GNUTLS_2_12)(64bit) for package: neon-0.30.0-4.el7.x86_64\n--> Processing Dependency: libgnutls.so.28(GNUTLS_1_4)(64bit) for package: neon-0.30.0-4.el7.x86_64\n--> Processing Dependency: libproxy.so.1()(64bit) for package: neon-0.30.0-4.el7.x86_64\n--> Processing Dependency: libpakchois.so.0()(64bit) for package: neon-0.30.0-4.el7.x86_64\n--> Processing Dependency: libgnutls.so.28()(64bit) for package: neon-0.30.0-4.el7.x86_64\n---> Package nginx-all-modules.noarch 1:1.16.1-2.el7at will be installed\n--> Processing Dependency: nginx-mod-stream = 1:1.16.1-2.el7at for package: 1:nginx-all-modules-1.16.1-2.el7at.noarch\n--> Processing Dependency: nginx-mod-mail = 1:1.16.1-2.el7at for package: 1:nginx-all-modules-1.16.1-2.el7at.noarch\n--> Processing Dependency: nginx-mod-http-xslt-filter = 1:1.16.1-2.el7at for package: 1:nginx-all-modules-1.16.1-2.el7at.noarch\n--> Processing Dependency: nginx-mod-http-perl = 1:1.16.1-2.el7at for package: 1:nginx-all-modules-1.16.1-2.el7at.noarch\n--> Processing Dependency: nginx-mod-http-image-filter = 1:1.16.1-2.el7at for package: 1:nginx-all-modules-1.16.1-2.el7at.noarch\n---> Package nginx-filesystem.noarch 1:1.16.1-2.el7at will be installed\n---> Package python-meld3.x86_64 0:0.6.10-1.el7 will be installed\n---> Package python-virtualenv.noarch 0:15.1.0-4.el7_8 will be installed\n--> Processing Dependency: python2-devel for package: python-virtualenv-15.1.0-4.el7_8.noarch\n---> Package python2-futures.noarch 0:3.1.1-5.el7 will be installed\n---> Package rh-postgresql10-postgresql-libs.x86_64 0:10.12-2.el7 will be installed\n---> Package rh-postgresql10-runtime.x86_64 0:3.1-1.el7 will be installed\n---> Package rh-python36-python.x86_64 0:3.6.9-2.el7 will be installed\n--> Processing Dependency: rh-python36-python-libs(x86-64) = 3.6.9-2.el7 for package: rh-python36-python-3.6.9-2.el7.x86_64\n--> Processing Dependency: rh-python36-python-setuptools for package: rh-python36-python-3.6.9-2.el7.x86_64\n--> Processing Dependency: rh-python36-python-pip for package: rh-python36-python-3.6.9-2.el7.x86_64\n--> Processing Dependency: libpython3.6m.so.rh-python36-1.0()(64bit) for package: rh-python36-python-3.6.9-2.el7.x86_64\n---> Package socat.x86_64 0:1.7.3.2-2.el7 will be installed\n---> Package subversion-libs.x86_64 0:1.7.14-14.el7 will be installed\n--> Running transaction check\n---> Package gnutls.x86_64 0:3.3.29-9.el7_6 will be installed\n--> Processing Dependency: trousers >= 0.3.11.2 for package: gnutls-3.3.29-9.el7_6.x86_64\n--> Processing Dependency: libnettle.so.4()(64bit) for package: gnutls-3.3.29-9.el7_6.x86_64\n--> Processing Dependency: libhogweed.so.2()(64bit) for package: gnutls-3.3.29-9.el7_6.x86_64\n---> Package libproxy.x86_64 0:0.4.11-11.el7 will be installed\n--> Processing Dependency: libmodman.so.1()(64bit) for package: libproxy-0.4.11-11.el7.x86_64\n---> Package nginx-mod-http-image-filter.x86_64 1:1.16.1-2.el7at will be installed\n--> Processing Dependency: gd for package: 1:nginx-mod-http-image-filter-1.16.1-2.el7at.x86_64\n--> Processing Dependency: libgd.so.2()(64bit) for package: 1:nginx-mod-http-image-filter-1.16.1-2.el7at.x86_64\n---> Package nginx-mod-http-perl.x86_64 1:1.16.1-2.el7at will be installed\n---> Package nginx-mod-http-xslt-filter.x86_64 1:1.16.1-2.el7at will be installed\n---> Package nginx-mod-mail.x86_64 1:1.16.1-2.el7at will be installed\n---> Package nginx-mod-stream.x86_64 1:1.16.1-2.el7at will be installed\n---> Package pakchois.x86_64 0:0.4-10.el7 will be installed\n---> Package python-devel.x86_64 0:2.7.5-88.el7 will be installed\n--> Processing Dependency: python(x86-64) = 2.7.5-88.el7 for package: python-devel-2.7.5-88.el7.x86_64\n--> Processing Dependency: python2-rpm-macros > 3-30 for package: python-devel-2.7.5-88.el7.x86_64\n--> Processing Dependency: python-rpm-macros > 3-30 for package: python-devel-2.7.5-88.el7.x86_64\n---> Package rh-python36-python-libs.x86_64 0:3.6.9-2.el7 will be installed\n---> Package rh-python36-python-pip.noarch 0:9.0.1-2.el7 will be installed\n---> Package rh-python36-python-setuptools.noarch 0:36.5.0-1.el7 will be installed\n--> Running transaction check\n---> Package gd.x86_64 0:2.0.35-26.el7 will be installed\n--> Processing Dependency: libjpeg.so.62(LIBJPEG_6.2)(64bit) for package: gd-2.0.35-26.el7.x86_64\n--> Processing Dependency: libjpeg.so.62()(64bit) for package: gd-2.0.35-26.el7.x86_64\n--> Processing Dependency: libfontconfig.so.1()(64bit) for package: gd-2.0.35-26.el7.x86_64\n--> Processing Dependency: libXpm.so.4()(64bit) for package: gd-2.0.35-26.el7.x86_64\n--> Processing Dependency: libX11.so.6()(64bit) for package: gd-2.0.35-26.el7.x86_64\n---> Package libmodman.x86_64 0:2.0.1-8.el7 will be installed\n---> Package nettle.x86_64 0:2.7.1-8.el7 will be installed\n---> Package python.x86_64 0:2.7.5-86.el7 will be updated\n---> Package python.x86_64 0:2.7.5-88.el7 will be an update\n--> Processing Dependency: python-libs(x86-64) = 2.7.5-88.el7 for package: python-2.7.5-88.el7.x86_64\n---> Package python-rpm-macros.noarch 0:3-32.el7 will be installed\n--> Processing Dependency: python-srpm-macros for package: python-rpm-macros-3-32.el7.noarch\n---> Package python2-rpm-macros.noarch 0:3-32.el7 will be installed\n---> Package trousers.x86_64 0:0.3.14-2.el7 will be installed\n--> Running transaction check\n---> Package fontconfig.x86_64 0:2.13.0-4.3.el7 will be installed\n--> Processing Dependency: fontpackages-filesystem for package: fontconfig-2.13.0-4.3.el7.x86_64\n--> Processing Dependency: dejavu-sans-fonts for package: fontconfig-2.13.0-4.3.el7.x86_64\n---> Package libX11.x86_64 0:1.6.7-2.el7 will be installed\n--> Processing Dependency: libX11-common >= 1.6.7-2.el7 for package: libX11-1.6.7-2.el7.x86_64\n--> Processing Dependency: libxcb.so.1()(64bit) for package: libX11-1.6.7-2.el7.x86_64\n---> Package libXpm.x86_64 0:3.5.12-1.el7 will be installed\n---> Package libjpeg-turbo.x86_64 0:1.2.90-8.el7 will be installed\n---> Package python-libs.x86_64 0:2.7.5-86.el7 will be updated\n---> Package python-libs.x86_64 0:2.7.5-88.el7 will be an update\n---> Package python-srpm-macros.noarch 0:3-32.el7 will be installed\n--> Running transaction check\n---> Package dejavu-sans-fonts.noarch 0:2.33-6.el7 will be installed\n--> Processing Dependency: dejavu-fonts-common = 2.33-6.el7 for package: dejavu-sans-fonts-2.33-6.el7.noarch\n---> Package fontpackages-filesystem.noarch 0:1.44-8.el7 will be installed\n---> Package libX11-common.noarch 0:1.6.7-2.el7 will be installed\n---> Package libxcb.x86_64 0:1.13-1.el7 will be installed\n--> Processing Dependency: libXau.so.6()(64bit) for package: libxcb-1.13-1.el7.x86_64\n--> Running transaction check\n---> Package dejavu-fonts-common.noarch 0:2.33-6.el7 will be installed\n---> Package libXau.x86_64 0:1.0.8-2.1.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n ansible-tower x86_64 3.6.4-1.el7at ansible-tower 6.9 k\nInstalling for dependencies:\n ansible-tower-server x86_64 3.6.4-1.el7at ansible-tower 3.6 M\n ansible-tower-ui x86_64 3.6.4-1.el7at ansible-tower 3.3 M\n ansible-tower-venv-ansible\n x86_64 3.6.4-1.el7at ansible-tower 34 M\n ansible-tower-venv-tower\n x86_64 3.6.4-1.el7at ansible-tower 35 M\n bubblewrap x86_64 0.3.3-2.el7at ansible-tower-dependencies 42 k\n bzip2 x86_64 1.0.6-13.el7 rhel-7-server-rpms 52 k\n dejavu-fonts-common noarch 2.33-6.el7 rhel-7-server-rpms 64 k\n dejavu-sans-fonts noarch 2.33-6.el7 rhel-7-server-rpms 1.4 M\n erlang x86_64 20.3.8.21-1.el7at ansible-tower-dependencies 18 M\n fontconfig x86_64 2.13.0-4.3.el7 rhel-7-server-rpms 254 k\n fontpackages-filesystem\n noarch 1.44-8.el7 rhel-7-server-rpms 9.9 k\n gd x86_64 2.0.35-26.el7 rhel-7-server-rpms 146 k\n gnutls x86_64 3.3.29-9.el7_6 rhel-7-server-rpms 681 k\n libX11 x86_64 1.6.7-2.el7 rhel-7-server-rpms 607 k\n libX11-common noarch 1.6.7-2.el7 rhel-7-server-rpms 164 k\n libXau x86_64 1.0.8-2.1.el7 rhel-7-server-rpms 29 k\n libXpm x86_64 3.5.12-1.el7 rhel-7-server-rpms 56 k\n libcgroup-tools x86_64 0.41-21.el7 rhel-7-server-rpms 100 k\n libjpeg-turbo x86_64 1.2.90-8.el7 rhel-7-server-rpms 135 k\n libmodman x86_64 2.0.1-8.el7 rhel-7-server-rpms 28 k\n libproxy x86_64 0.4.11-11.el7 rhel-7-server-rpms 65 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 rhel-7-server-rpms 49 k\n libxcb x86_64 1.13-1.el7 rhel-7-server-rpms 214 k\n memcached x86_64 1.4.15-10.el7_3.1 rhel-7-server-rpms 85 k\n mercurial x86_64 2.6.2-11.el7 rhel-7-server-rpms 2.6 M\n neon x86_64 0.30.0-4.el7 rhel-7-server-rpms 166 k\n nettle x86_64 2.7.1-8.el7 rhel-7-server-rpms 327 k\n nginx x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 562 k\n nginx-all-modules noarch 1:1.16.1-2.el7at ansible-tower-dependencies 17 k\n nginx-filesystem noarch 1:1.16.1-2.el7at ansible-tower-dependencies 18 k\n nginx-mod-http-image-filter\n x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 27 k\n nginx-mod-http-perl x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 37 k\n nginx-mod-http-xslt-filter\n x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 27 k\n nginx-mod-mail x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 55 k\n nginx-mod-stream x86_64 1:1.16.1-2.el7at ansible-tower-dependencies 80 k\n openshift-clients x86_64 4.1.34-202001310309.git.0.125a3c4.el7\n ansible-tower-dependencies 16 M\n pakchois x86_64 0.4-10.el7 rhel-7-server-rpms 14 k\n python-devel x86_64 2.7.5-88.el7 rhel-7-server-rpms 398 k\n python-meld3 x86_64 0.6.10-1.el7 ansible-tower-dependencies 73 k\n python-rpm-macros noarch 3-32.el7 rhel-7-server-rpms 8.9 k\n python-srpm-macros noarch 3-32.el7 rhel-7-server-rpms 8.5 k\n python-virtualenv noarch 15.1.0-4.el7_8 rhel-7-server-rpms 1.7 M\n python2-futures noarch 3.1.1-5.el7 rhel-7-server-rpms 29 k\n python2-rpm-macros noarch 3-32.el7 rhel-7-server-rpms 7.8 k\n rabbitmq-server noarch 3.7.15-1.el7at ansible-tower-dependencies 9.5 M\n rh-postgresql10-postgresql\n x86_64 10.12-2.el7 rhel-server-rhscl-7-rpms 1.4 M\n rh-postgresql10-postgresql-libs\n x86_64 10.12-2.el7 rhel-server-rhscl-7-rpms 291 k\n rh-postgresql10-runtime\n x86_64 3.1-1.el7 rhel-server-rhscl-7-rpms 1.2 M\n rh-python36-python x86_64 3.6.9-2.el7 rhel-server-rhscl-7-rpms 56 k\n rh-python36-python-libs\n x86_64 3.6.9-2.el7 rhel-server-rhscl-7-rpms 7.6 M\n rh-python36-python-pip\n noarch 9.0.1-2.el7 rhel-server-rhscl-7-rpms 1.7 M\n rh-python36-python-setuptools\n noarch 36.5.0-1.el7 rhel-server-rhscl-7-rpms 567 k\n rh-python36-runtime x86_64 2.0-1.el7 rhel-server-rhscl-7-rpms 1.1 M\n scl-utils x86_64 20130529-19.el7 rhel-7-server-rpms 24 k\n socat x86_64 1.7.3.2-2.el7 rhel-7-server-rpms 290 k\n sos noarch 3.8-8.el7_8 rhel-7-server-rpms 517 k\n subversion x86_64 1.7.14-14.el7 rhel-7-server-rpms 1.0 M\n subversion-libs x86_64 1.7.14-14.el7 rhel-7-server-rpms 922 k\n supervisor noarch 3.1.4-1.el7 ansible-tower-dependencies 446 k\n trousers x86_64 0.3.14-2.el7 rhel-7-server-rpms 289 k\n xmlsec1 x86_64 1.2.20-7.el7_4 rhel-7-server-rpms 177 k\n xmlsec1-openssl x86_64 1.2.20-7.el7_4 rhel-7-server-rpms 76 k\nUpdating for dependencies:\n python x86_64 2.7.5-88.el7 rhel-7-server-rpms 96 k\n python-libs x86_64 2.7.5-88.el7 rhel-7-server-rpms 5.6 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+62 Dependent packages)\nUpgrade ( 2 Dependent packages)\n\nTotal download size: 154 M\nDownloading packages:\nDelta RPMs disabled because /usr/bin/applydeltarpm not installed.\n--------------------------------------------------------------------------------\nTotal 7.5 MB/s | 154 MB 00:20 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Updating : python-libs-2.7.5-88.el7.x86_64 1/67 \n Updating : python-2.7.5-88.el7.x86_64 2/67 \n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/67 \n Installing : xmlsec1-1.2.20-7.el7_4.x86_64 4/67 \n Installing : scl-utils-20130529-19.el7.x86_64 5/67 \n Installing : rh-python36-runtime-2.0-1.el7.x86_64 6/67 \n Installing : rh-python36-python-libs-3.6.9-2.el7.x86_64 7/67 \n Installing : rh-python36-python-3.6.9-2.el7.x86_64 8/67 \n Installing : rh-python36-python-setuptools-36.5.0-1.el7.noarch 9/67 \n Installing : rh-python36-python-pip-9.0.1-2.el7.noarch 10/67 \n Installing : rh-postgresql10-runtime-3.1-1.el7.x86_64 11/67 \n Installing : fontpackages-filesystem-1.44-8.el7.noarch 12/67 \n Installing : dejavu-fonts-common-2.33-6.el7.noarch 13/67 \n Installing : dejavu-sans-fonts-2.33-6.el7.noarch 14/67 \n Installing : fontconfig-2.13.0-4.3.el7.x86_64 15/67 \n Installing : rh-postgresql10-postgresql-libs-10.12-2.el7.x86_64 16/67 \n Installing : rh-postgresql10-postgresql-10.12-2.el7.x86_64 17/67 \n Installing : ansible-tower-venv-tower-3.6.4-1.el7at.x86_64 18/67 \n Installing : xmlsec1-openssl-1.2.20-7.el7_4.x86_64 19/67 \n Installing : python2-futures-3.1.1-5.el7.noarch 20/67 \n Installing : mercurial-2.6.2-11.el7.x86_64 21/67 \n Installing : python-meld3-0.6.10-1.el7.x86_64 22/67 \n Installing : supervisor-3.1.4-1.el7.noarch 23/67 \n Installing : memcached-1.4.15-10.el7_3.1.x86_64 24/67 \n Installing : socat-1.7.3.2-2.el7.x86_64 25/67 \n Installing : 1:nginx-filesystem-1.16.1-2.el7at.noarch 26/67 \n Installing : erlang-20.3.8.21-1.el7at.x86_64 27/67 \n Installing : rabbitmq-server-3.7.15-1.el7at.noarch 28/67 \n Installing : libXau-1.0.8-2.1.el7.x86_64 29/67 \n Installing : libxcb-1.13-1.el7.x86_64 30/67 \n Installing : bubblewrap-0.3.3-2.el7at.x86_64 31/67 \n Installing : pakchois-0.4-10.el7.x86_64 32/67 \n Installing : bzip2-1.0.6-13.el7.x86_64 33/67 \n Installing : sos-3.8-8.el7_8.noarch 34/67 \n Installing : libmodman-2.0.1-8.el7.x86_64 35/67 \n Installing : libproxy-0.4.11-11.el7.x86_64 36/67 \n Installing : libjpeg-turbo-1.2.90-8.el7.x86_64 37/67 \n Installing : python-srpm-macros-3-32.el7.noarch 38/67 \n Installing : python-rpm-macros-3-32.el7.noarch 39/67 \n Installing : libX11-common-1.6.7-2.el7.noarch 40/67 \n Installing : libX11-1.6.7-2.el7.x86_64 41/67 \n Installing : libXpm-3.5.12-1.el7.x86_64 42/67 \n Installing : gd-2.0.35-26.el7.x86_64 43/67 \n Installing : 1:nginx-mod-http-image-filter-1.16.1-2.el7at.x86_64 44/67 \n Installing : 1:nginx-mod-mail-1.16.1-2.el7at.x86_64 45/67 \n Installing : 1:nginx-mod-stream-1.16.1-2.el7at.x86_64 46/67 \n Installing : 1:nginx-mod-http-perl-1.16.1-2.el7at.x86_64 47/67 \n Installing : 1:nginx-1.16.1-2.el7at.x86_64 48/67 \n Installing : 1:nginx-mod-http-xslt-filter-1.16.1-2.el7at.x86_64 49/67 \n Installing : 1:nginx-all-modules-1.16.1-2.el7at.noarch 50/67 \n Installing : python2-rpm-macros-3-32.el7.noarch 51/67 \n Installing : python-devel-2.7.5-88.el7.x86_64 52/67 \n Installing : python-virtualenv-15.1.0-4.el7_8.noarch 53/67 \nNew python executable in /var/lib/awx/venv/ansible/bin/python\nInstalling setuptools, pip, wheel...done.\n Installing : ansible-tower-venv-ansible-3.6.4-1.el7at.x86_64 54/67 \n Installing : nettle-2.7.1-8.el7.x86_64 55/67 \n Installing : openshift-clients-4.1.34-202001310309.git.0.125a3c4.el7. 56/67 \n Installing : libcgroup-tools-0.41-21.el7.x86_64 57/67 \n Installing : trousers-0.3.14-2.el7.x86_64 58/67 \n Installing : gnutls-3.3.29-9.el7_6.x86_64 59/67 \n Installing : neon-0.30.0-4.el7.x86_64 60/67 \n Installing : subversion-libs-1.7.14-14.el7.x86_64 61/67 \n Installing : subversion-1.7.14-14.el7.x86_64 62/67 \n Installing : ansible-tower-server-3.6.4-1.el7at.x86_64 63/67 \n Installing : ansible-tower-ui-3.6.4-1.el7at.x86_64 64/67 \n Installing : ansible-tower-3.6.4-1.el7at.x86_64 65/67 \n Cleanup : python-2.7.5-86.el7.x86_64 66/67 \n Cleanup : python-libs-2.7.5-86.el7.x86_64 67/67 \n Verifying : rh-python36-runtime-2.0-1.el7.x86_64 1/67 \n Verifying : trousers-0.3.14-2.el7.x86_64 2/67 \n Verifying : subversion-libs-1.7.14-14.el7.x86_64 3/67 \n Verifying : 1:nginx-mod-http-xslt-filter-1.16.1-2.el7at.x86_64 4/67 \n Verifying : sos-3.8-8.el7_8.noarch 5/67 \n Verifying : neon-0.30.0-4.el7.x86_64 6/67 \n Verifying : libcgroup-tools-0.41-21.el7.x86_64 7/67 \n Verifying : python-2.7.5-88.el7.x86_64 8/67 \n Verifying : openshift-clients-4.1.34-202001310309.git.0.125a3c4.el7. 9/67 \n Verifying : rh-python36-python-3.6.9-2.el7.x86_64 10/67 \n Verifying : python2-futures-3.1.1-5.el7.noarch 11/67 \n Verifying : fontpackages-filesystem-1.44-8.el7.noarch 12/67 \n Verifying : mercurial-2.6.2-11.el7.x86_64 13/67 \n Verifying : rh-postgresql10-postgresql-libs-10.12-2.el7.x86_64 14/67 \n Verifying : rh-postgresql10-postgresql-10.12-2.el7.x86_64 15/67 \n Verifying : nettle-2.7.1-8.el7.x86_64 16/67 \n Verifying : scl-utils-20130529-19.el7.x86_64 17/67 \n Verifying : subversion-1.7.14-14.el7.x86_64 18/67 \n Verifying : xmlsec1-openssl-1.2.20-7.el7_4.x86_64 19/67 \n Verifying : 1:nginx-1.16.1-2.el7at.x86_64 20/67 \n Verifying : xmlsec1-1.2.20-7.el7_4.x86_64 21/67 \n Verifying : dejavu-fonts-common-2.33-6.el7.noarch 22/67 \n Verifying : python-meld3-0.6.10-1.el7.x86_64 23/67 \n Verifying : 1:nginx-mod-http-image-filter-1.16.1-2.el7at.x86_64 24/67 \n Verifying : python2-rpm-macros-3-32.el7.noarch 25/67 \n Verifying : libX11-common-1.6.7-2.el7.noarch 26/67 \n Verifying : rh-python36-python-pip-9.0.1-2.el7.noarch 27/67 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 28/67 \n Verifying : python-libs-2.7.5-88.el7.x86_64 29/67 \n Verifying : ansible-tower-venv-ansible-3.6.4-1.el7at.x86_64 30/67 \n Verifying : gnutls-3.3.29-9.el7_6.x86_64 31/67 \n Verifying : python-srpm-macros-3-32.el7.noarch 32/67 \n Verifying : libXpm-3.5.12-1.el7.x86_64 33/67 \n Verifying : libjpeg-turbo-1.2.90-8.el7.x86_64 34/67 \n Verifying : libmodman-2.0.1-8.el7.x86_64 35/67 \n Verifying : libxcb-1.13-1.el7.x86_64 36/67 \n Verifying : 1:nginx-mod-mail-1.16.1-2.el7at.x86_64 37/67 \n Verifying : rh-postgresql10-runtime-3.1-1.el7.x86_64 38/67 \n Verifying : supervisor-3.1.4-1.el7.noarch 39/67 \n Verifying : bzip2-1.0.6-13.el7.x86_64 40/67 \n Verifying : ansible-tower-venv-tower-3.6.4-1.el7at.x86_64 41/67 \n Verifying : 1:nginx-mod-stream-1.16.1-2.el7at.x86_64 42/67 \n Verifying : ansible-tower-server-3.6.4-1.el7at.x86_64 43/67 \n Verifying : dejavu-sans-fonts-2.33-6.el7.noarch 44/67 \n Verifying : python-virtualenv-15.1.0-4.el7_8.noarch 45/67 \n Verifying : fontconfig-2.13.0-4.3.el7.x86_64 46/67 \n Verifying : pakchois-0.4-10.el7.x86_64 47/67 \n Verifying : python-rpm-macros-3-32.el7.noarch 48/67 \n Verifying : rh-python36-python-libs-3.6.9-2.el7.x86_64 49/67 \n Verifying : libproxy-0.4.11-11.el7.x86_64 50/67 \n Verifying : bubblewrap-0.3.3-2.el7at.x86_64 51/67 \n Verifying : gd-2.0.35-26.el7.x86_64 52/67 \n Verifying : 1:nginx-all-modules-1.16.1-2.el7at.noarch 53/67 \n Verifying : 1:nginx-mod-http-perl-1.16.1-2.el7at.x86_64 54/67 \n Verifying : python-devel-2.7.5-88.el7.x86_64 55/67 \n Verifying : libXau-1.0.8-2.1.el7.x86_64 56/67 \n Verifying : ansible-tower-ui-3.6.4-1.el7at.x86_64 57/67 \n Verifying : rabbitmq-server-3.7.15-1.el7at.noarch 58/67 \n Verifying : erlang-20.3.8.21-1.el7at.x86_64 59/67 \n Verifying : libX11-1.6.7-2.el7.x86_64 60/67 \n Verifying : ansible-tower-3.6.4-1.el7at.x86_64 61/67 \n Verifying : 1:nginx-filesystem-1.16.1-2.el7at.noarch 62/67 \n Verifying : socat-1.7.3.2-2.el7.x86_64 63/67 \n Verifying : rh-python36-python-setuptools-36.5.0-1.el7.noarch 64/67 \n Verifying : memcached-1.4.15-10.el7_3.1.x86_64 65/67 \n Verifying : python-2.7.5-86.el7.x86_64 66/67 \n Verifying : python-libs-2.7.5-86.el7.x86_64 67/67 \n\nInstalled:\n ansible-tower.x86_64 0:3.6.4-1.el7at \n\nDependency Installed:\n ansible-tower-server.x86_64 0:3.6.4-1.el7at \n ansible-tower-ui.x86_64 0:3.6.4-1.el7at \n ansible-tower-venv-ansible.x86_64 0:3.6.4-1.el7at \n ansible-tower-venv-tower.x86_64 0:3.6.4-1.el7at \n bubblewrap.x86_64 0:0.3.3-2.el7at \n bzip2.x86_64 0:1.0.6-13.el7 \n dejavu-fonts-common.noarch 0:2.33-6.el7 \n dejavu-sans-fonts.noarch 0:2.33-6.el7 \n erlang.x86_64 0:20.3.8.21-1.el7at \n fontconfig.x86_64 0:2.13.0-4.3.el7 \n fontpackages-filesystem.noarch 0:1.44-8.el7 \n gd.x86_64 0:2.0.35-26.el7 \n gnutls.x86_64 0:3.3.29-9.el7_6 \n libX11.x86_64 0:1.6.7-2.el7 \n libX11-common.noarch 0:1.6.7-2.el7 \n libXau.x86_64 0:1.0.8-2.1.el7 \n libXpm.x86_64 0:3.5.12-1.el7 \n libcgroup-tools.x86_64 0:0.41-21.el7 \n libjpeg-turbo.x86_64 0:1.2.90-8.el7 \n libmodman.x86_64 0:2.0.1-8.el7 \n libproxy.x86_64 0:0.4.11-11.el7 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n libxcb.x86_64 0:1.13-1.el7 \n memcached.x86_64 0:1.4.15-10.el7_3.1 \n mercurial.x86_64 0:2.6.2-11.el7 \n neon.x86_64 0:0.30.0-4.el7 \n nettle.x86_64 0:2.7.1-8.el7 \n nginx.x86_64 1:1.16.1-2.el7at \n nginx-all-modules.noarch 1:1.16.1-2.el7at \n nginx-filesystem.noarch 1:1.16.1-2.el7at \n nginx-mod-http-image-filter.x86_64 1:1.16.1-2.el7at \n nginx-mod-http-perl.x86_64 1:1.16.1-2.el7at \n nginx-mod-http-xslt-filter.x86_64 1:1.16.1-2.el7at \n nginx-mod-mail.x86_64 1:1.16.1-2.el7at \n nginx-mod-stream.x86_64 1:1.16.1-2.el7at \n openshift-clients.x86_64 0:4.1.34-202001310309.git.0.125a3c4.el7 \n pakchois.x86_64 0:0.4-10.el7 \n python-devel.x86_64 0:2.7.5-88.el7 \n python-meld3.x86_64 0:0.6.10-1.el7 \n python-rpm-macros.noarch 0:3-32.el7 \n python-srpm-macros.noarch 0:3-32.el7 \n python-virtualenv.noarch 0:15.1.0-4.el7_8 \n python2-futures.noarch 0:3.1.1-5.el7 \n python2-rpm-macros.noarch 0:3-32.el7 \n rabbitmq-server.noarch 0:3.7.15-1.el7at \n rh-postgresql10-postgresql.x86_64 0:10.12-2.el7 \n rh-postgresql10-postgresql-libs.x86_64 0:10.12-2.el7 \n rh-postgresql10-runtime.x86_64 0:3.1-1.el7 \n rh-python36-python.x86_64 0:3.6.9-2.el7 \n rh-python36-python-libs.x86_64 0:3.6.9-2.el7 \n rh-python36-python-pip.noarch 0:9.0.1-2.el7 \n rh-python36-python-setuptools.noarch 0:36.5.0-1.el7 \n rh-python36-runtime.x86_64 0:2.0-1.el7 \n scl-utils.x86_64 0:20130529-19.el7 \n socat.x86_64 0:1.7.3.2-2.el7 \n sos.noarch 0:3.8-8.el7_8 \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 trousers.x86_64 0:0.3.14-2.el7 \n xmlsec1.x86_64 0:1.2.20-7.el7_4 \n xmlsec1-openssl.x86_64 0:1.2.20-7.el7_4 \n\nDependency Updated:\n python.x86_64 0:2.7.5-88.el7 python-libs.x86_64 0:2.7.5-88.el7 \n\nComplete!\n"]}
TASK [packages_el : Upgrade Ansible] *******************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Upgrade dependencies] **************************************
ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["Nothing to do here, all packages are up to date"]}
TASK [packages_el : include_tasks] *********************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/packages_el/tasks/install_postgres.yml for localhost
TASK [packages_el : Check for old Postgres data] *******************************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [packages_el : Read PG_VERSION file contents] *****************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Check if Postgres has already been upgraded] ***************
ok: [localhost] => {"changed": false, "stat": {"exists": false}}
TASK [packages_el : Determine if we should upgrade Postgres] *******************
ok: [localhost] => {"ansible_facts": {"upgrade_postgres": false}, "changed": false}
TASK [packages_el : Install postgres [RHEL7]] **********************************
changed: [localhost] => {"changed": true, "changes": {"installed": ["rh-postgresql10-postgresql-server", "rh-postgresql10-postgresql-contrib"]}, "msg": "", "rc": 0, "results": ["Loaded plugins: amazon-id, search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package rh-postgresql10-postgresql-contrib.x86_64 0:10.12-2.el7 will be installed\n--> Processing Dependency: libossp-uuid.so.16()(64bit) for package: rh-postgresql10-postgresql-contrib-10.12-2.el7.x86_64\n---> Package rh-postgresql10-postgresql-server.x86_64 0:10.12-2.el7 will be installed\n--> Running transaction check\n---> Package uuid.x86_64 0:1.6.2-26.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n rh-postgresql10-postgresql-contrib\n x86_64 10.12-2.el7 rhel-server-rhscl-7-rpms 775 k\n rh-postgresql10-postgresql-server\n x86_64 10.12-2.el7 rhel-server-rhscl-7-rpms 4.9 M\nInstalling for dependencies:\n uuid x86_64 1.6.2-26.el7 rhel-7-server-rpms 55 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+1 Dependent package)\n\nTotal download size: 5.7 M\nInstalled size: 22 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 21 MB/s | 5.7 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : uuid-1.6.2-26.el7.x86_64 1/3 \n Installing : rh-postgresql10-postgresql-contrib-10.12-2.el7.x86_64 2/3 \n Installing : rh-postgresql10-postgresql-server-10.12-2.el7.x86_64 3/3 \n Verifying : uuid-1.6.2-26.el7.x86_64 1/3 \n Verifying : rh-postgresql10-postgresql-contrib-10.12-2.el7.x86_64 2/3 \n Verifying : rh-postgresql10-postgresql-server-10.12-2.el7.x86_64 3/3 \n\nInstalled:\n rh-postgresql10-postgresql-contrib.x86_64 0:10.12-2.el7 \n rh-postgresql10-postgresql-server.x86_64 0:10.12-2.el7 \n\nDependency Installed:\n uuid.x86_64 0:1.6.2-26.el7 \n\nComplete!\n"]}
TASK [packages_el : Enable Postgres SCL for login shells] **********************
changed: [localhost] => {"changed": true, "checksum": "42600aa3c3adab3f23964ab5f3d2ba04d82ad01d", "dest": "/etc/profile.d/rh-postgresql10-env.sh", "gid": 0, "group": "root", "md5sum": "1f7568d0814fd3c5e14a0faa2fc065bd", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:bin_t:s0", "size": 55, "src": "/root/.ansible/tmp/ansible-tmp-1609985295.14-20878-206306179674741/source", "state": "file", "uid": 0}
TASK [packages_el : Enable postgresql 10 dnf modules] **************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : Install Postgresql [RHEL8]] ********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [packages_el : include] ***************************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : include_vars] *************************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"existing_pg_bin": "/usr/pgsql-9.6/bin", "existing_pg_dir": "/var/lib/pgsql/9.6/data", "existing_pg_name": "postgresql96", "extra_env": {"LD_LIBRARY_PATH": "/opt/rh/rh-postgresql10/root/usr/lib64"}, "pg_bash": "scl enable rh-postgresql10 --", "pg_conf_bin": "/opt/rh/rh-postgresql10/root/bin", "pg_conf_dir": "/var/opt/rh/rh-postgresql10/lib/pgsql/data", "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": "{{ pg_conf_dir }}/pg_hba.conf", "pg_initdb_command": "{{ pg_conf_bin }}/postgresql-setup initdb", "pg_systemd_name": "postgresql-9.6", "pg_upgrade_location": "{{ pg_conf_bin }}/pg_upgrade", "postgres_init_name": "rh-postgresql10-postgresql"}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/RedHat-7.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/vars/../vars/RedHat-7.yml"}
TASK [postgres : include_tasks] ************************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/tasks/init.yml for localhost
TASK [init postgresql] *********************************************************
changed: [localhost] => {"changed": true, "cmd": ["/opt/rh/rh-postgresql10/root/bin/postgresql-setup", "initdb"], "delta": "0:00:03.661366", "end": "2021-01-07 02:08:19.469650", "rc": 0, "start": "2021-01-07 02:08:15.808284", "stderr": "WARNING: using obsoleted argument syntax, try --help\nWARNING: arguments transformed to: postgresql-setup --initdb --unit rh-postgresql10-postgresql\n * Initializing database in '/var/opt/rh/rh-postgresql10/lib/pgsql/data'\n * Initialized, logs are in /var/lib/pgsql/initdb_rh-postgresql10-postgresql.log", "stderr_lines": ["WARNING: using obsoleted argument syntax, try --help", "WARNING: arguments transformed to: postgresql-setup --initdb --unit rh-postgresql10-postgresql", " * Initializing database in '/var/opt/rh/rh-postgresql10/lib/pgsql/data'", " * Initialized, logs are in /var/lib/pgsql/initdb_rh-postgresql10-postgresql.log"], "stdout": "", "stdout_lines": []}
TASK [postgres : Make sure PostgreSQL is started] ******************************
changed: [localhost] => {"changed": true, "name": "rh-postgresql10-postgresql", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket 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": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/opt/rh/rh-postgresql10/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/opt/rh/rh-postgresql10/root/usr/bin/postmaster ; argv[]=/opt/rh/rh-postgresql10/root/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir ; argv[]=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir %N ; 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/rh-postgresql10-postgresql.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rh-postgresql10-postgresql.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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rh-postgresql10-postgresql.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": "system.slice 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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [postgres : Wait for PostgreSQL to start if it wasnt] *********************
ok: [localhost] => {"changed": false, "elapsed": 0, "match_groupdict": {}, "match_groups": [], "path": null, "port": 5432, "search_regex": null, "state": "started"}
TASK [postgres : include_tasks] ************************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/postgres/tasks/conf.yml for localhost
TASK [Update postgresql authentication settings] *******************************
changed: [localhost] => {"changed": true, "checksum": "f55a86579e0e9a123b6c93f8317b83de1dc20d1a", "dest": "/var/opt/rh/rh-postgresql10/lib/pgsql/data/pg_hba.conf", "gid": 26, "group": "postgres", "md5sum": "ec56982139414a104c26adf3a82d7a04", "mode": "0600", "owner": "postgres", "secontext": "unconfined_u:object_r:postgresql_db_t:s0", "size": 487, "src": "/root/.ansible/tmp/ansible-tmp-1609985300.86-21056-256597753544674/source", "state": "file", "uid": 26}
TASK [Apply postgresql general settings] ***************************************
changed: [localhost] => {"changed": true, "checksum": "99a3c2061e103e0603100ea0ef1cff5d7c3c1e75", "dest": "/var/opt/rh/rh-postgresql10/lib/pgsql/data/postgresql.conf", "gid": 26, "group": "postgres", "md5sum": "4a2dd9480c29a00c5503a70b9d966dd3", "mode": "0600", "owner": "postgres", "secontext": "unconfined_u:object_r:postgresql_db_t:s0", "size": 3907, "src": "/root/.ansible/tmp/ansible-tmp-1609985301.24-21087-141473412017531/source", "state": "file", "uid": 26}
TASK [postgres : Copy server SSL certificate] **********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : Copy server SSL private key] **********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [postgres : Create unix socket directory] *********************************
changed: [localhost] => {"changed": true, "gid": 26, "group": "postgres", "mode": "02775", "owner": "postgres", "path": "/var/run/postgresql", "secontext": "system_u:object_r:postgresql_var_run_t:s0", "size": 80, "state": "directory", "uid": 26}
TASK [Configure postgresql tmpfiles.d] *****************************************
changed: [localhost] => {"changed": true, "checksum": "241b3dff32ef1ee86c424ac3e1bf8a10217a55d5", "dest": "/usr/lib/tmpfiles.d/postgresql.conf", "gid": 0, "group": "root", "md5sum": "dcbe09731b1a6d92683f02966abfeed3", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:lib_t:s0", "size": 47, "src": "/root/.ansible/tmp/ansible-tmp-1609985301.91-21142-270333221614566/source", "state": "file", "uid": 0}
TASK [restart postgresql when authentication settings changed] *****************
changed: [localhost] => {"changed": true, "name": "rh-postgresql10-postgresql", "state": "started", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:08:20 UTC", "ActiveEnterTimestampMonotonic": "2835417706", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:08:20 UTC", "AssertTimestampMonotonic": "2835354047", "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": "Thu 2021-01-07 02:08:20 UTC", "ConditionTimestampMonotonic": "2835354046", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rh-postgresql10-postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/opt/rh/rh-postgresql10/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21019", "ExecMainStartTimestamp": "Thu 2021-01-07 02:08:20 UTC", "ExecMainStartTimestampMonotonic": "2835372750", "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=/opt/rh/rh-postgresql10/root/usr/bin/postmaster ; argv[]=/opt/rh/rh-postgresql10/root/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2021-01-07 02:08:20 UTC] ; stop_time=[n/a] ; pid=21019 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir ; argv[]=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir %N ; ignore_errors=no ; start_time=[Thu 2021-01-07 02:08:20 UTC] ; stop_time=[Thu 2021-01-07 02:08:20 UTC] ; pid=21015 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rh-postgresql10-postgresql.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rh-postgresql10-postgresql.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2021-01-07 02:08:20 UTC", "InactiveExitTimestampMonotonic": "2835355110", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "21019", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rh-postgresql10-postgresql.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": "system.slice 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": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "WatchdogTimestamp": "Thu 2021-01-07 02:08:20 UTC", "WatchdogTimestampMonotonic": "2835417660", "WatchdogUSec": "0"}}
TASK [wait for postgresql restart] *********************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "match_groupdict": {}, "match_groups": [], "path": null, "port": 5432, "search_regex": null, "state": "started"}
TASK [configure postgresql to start automatically] *****************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "rh-postgresql10-postgresql", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:08:22 UTC", "ActiveEnterTimestampMonotonic": "2837732393", "ActiveExitTimestamp": "Thu 2021-01-07 02:08:22 UTC", "ActiveExitTimestampMonotonic": "2837655687", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:08:22 UTC", "AssertTimestampMonotonic": "2837676892", "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": "Thu 2021-01-07 02:08:22 UTC", "ConditionTimestampMonotonic": "2837676891", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/rh-postgresql10-postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/opt/rh/rh-postgresql10/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "21193", "ExecMainStartTimestamp": "Thu 2021-01-07 02:08:22 UTC", "ExecMainStartTimestampMonotonic": "2837684605", "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=/opt/rh/rh-postgresql10/root/usr/bin/postmaster ; argv[]=/opt/rh/rh-postgresql10/root/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Thu 2021-01-07 02:08:22 UTC] ; stop_time=[n/a] ; pid=21193 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir ; argv[]=/opt/rh/rh-postgresql10/root/usr/libexec/postgresql-check-db-dir %N ; ignore_errors=no ; start_time=[Thu 2021-01-07 02:08:22 UTC] ; stop_time=[Thu 2021-01-07 02:08:22 UTC] ; pid=21191 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/rh-postgresql10-postgresql.service", "Group": "postgres", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "rh-postgresql10-postgresql.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2021-01-07 02:08:22 UTC", "InactiveEnterTimestampMonotonic": "2837675801", "InactiveExitTimestamp": "Thu 2021-01-07 02:08:22 UTC", "InactiveExitTimestampMonotonic": "2837677580", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "21193", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "rh-postgresql10-postgresql.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": "system.slice 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": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "0", "TimeoutStopUSec": "0", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "WatchdogTimestamp": "Thu 2021-01-07 02:08:22 UTC", "WatchdogTimestampMonotonic": "2837732348", "WatchdogUSec": "0"}}
TASK [postgres : check if pg user exists] **************************************
[WARNING]: Module remote_tmp /var/lib/pgsql/.ansible/tmp did not exist and was
created with a mode of 0700, this may cause issues when running as another
user. To avoid this, create the remote_tmp dir with the correct permissions
manually
changed: [localhost] => {"changed": true, "cmd": ["scl", "enable", "rh-postgresql10", "--", "psql", "-tAc", "SELECT COUNT(u.usename) FROM pg_catalog.pg_user u WHERE u.usename = 'awx';"], "delta": "0:00:00.023811", "end": "2021-01-07 02:08:23.390707", "rc": 0, "start": "2021-01-07 02:08:23.366896", "stderr": "", "stderr_lines": [], "stdout": "0", "stdout_lines": ["0"]}
TASK [create the awx postgres user if it does not exist 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 [Set postgres user password again to ensure scram-sha-256 is used (needed for upgrades from 3.5.x and earlier)] ***
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [create the postgresql database for awx] **********************************
changed: [localhost] => {"changed": true, "db": "awx"}
TASK [Determine if firewalld is running] ***************************************
ok: [localhost] => {"changed": false, "cmd": "firewall-cmd --state", "failed_when_result": false, "msg": "[Errno 2] No such file or directory", "rc": 2}
TASK [Determine if firewalld is enabled] ***************************************
ok: [localhost] => {"changed": false, "cmd": ["systemctl", "list-unit-files"], "delta": "0:00:00.129172", "end": "2021-01-07 02:08:25.148294", "rc": 0, "start": "2021-01-07 02:08:25.019122", "stderr": "", "stderr_lines": [], "stdout": "UNIT FILE STATE \nproc-sys-fs-binfmt_misc.automount static \ndev-hugepages.mount static \ndev-mqueue.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\nbrandbot.path enabled \nsystemd-ask-password-console.path static \nsystemd-ask-password-wall.path static \nsession-7.scope static \nsession-8.scope static \narp-ethers.service disabled\nauditd.service enabled \nautovt@.service enabled \nblk-availability.service disabled\nbrandbot.service static \ncgconfig.service disabled\ncgred.service disabled\nchrony-dnssrv@.service static \nchrony-wait.service disabled\nchronyd.service enabled \ncloud-config.service enabled \ncloud-final.service enabled \ncloud-init-local.service enabled \ncloud-init.service enabled \nconsole-getty.service disabled\nconsole-shell.service disabled\ncontainer-getty@.service static \ncpupower.service disabled\ncrond.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.nm-dispatcher.service enabled \ndbus-org.freedesktop.timedate1.service static \ndbus.service static \ndebug-shell.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 \nemergency.service static \nfstrim.service static \ngetty@.service enabled \nhalt-local.service static \ninitrd-cleanup.service static \ninitrd-parse-etc.service static \ninitrd-switch-root.service static \ninitrd-udevadm-cleanup-db.service static \nirqbalance.service enabled \nkdump.service enabled \nkmod-static-nodes.service static \nmemcached.service disabled\nmessagebus.service static \nmicrocode.service enabled \nNetworkManager-dispatcher.service enabled \nNetworkManager-wait-online.service enabled \nNetworkManager.service enabled \nnginx.service disabled\npolkit.service static \npostfix.service enabled \nqemu-guest-agent.service enabled \nquotaon.service static \nrabbitmq-server.service disabled\nrc-local.service static \nrdisc.service disabled\nrescue.service static \nrh-postgresql10-postgresql.service enabled \nrh-postgresql10-postgresql@.service disabled\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 disabled\nrsyncd.service disabled\nrsyncd@.service static \nrsyslog.service enabled \nselinux-policy-migrate-local-changes@.service static \nserial-getty@.service disabled\nsshd-keygen.service static \nsshd.service enabled \nsshd@.service static \nsupervisord.service disabled\nsvnserve.service disabled\nsystemd-ask-password-console.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 \nwpa_supplicant.service disabled\n-.slice static \nmachine.slice static \nsystem.slice static \nuser-0.slice static \nuser-1001.slice static \nuser.slice static \ndbus.socket static \nrsyncd.socket disabled\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 \nbasic.target static \nbluetooth.target static \ncloud-config.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 static \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 \nkexec.target disabled\nlocal-fs-pre.target static \nlocal-fs.target static \nmachines.target disabled\nmulti-user.target enabled \nnetwork-online.target static \nnetwork-pre.target static \nnetwork.target static \nnss-lookup.target static \nnss-user-lookup.target static \npaths.target static \npoweroff.target disabled\nprinter.target static \nreboot.target disabled\nremote-cryptsetup.target disabled\nremote-fs-pre.target static \nremote-fs.target enabled \nrescue.target disabled\nrpcbind.target static \nrunlevel0.target disabled\nrunlevel1.target disabled\nrunlevel2.target enabled \nrunlevel3.target enabled \nrunlevel4.target enabled \nrunlevel5.target static \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 \nchrony-dnssrv@.timer disabled\nfstrim.timer disabled\nsystemd-readahead-done.timer indirect\nsystemd-tmpfiles-clean.timer static \n\n231 unit files listed.", "stdout_lines": ["UNIT FILE STATE ", "proc-sys-fs-binfmt_misc.automount static ", "dev-hugepages.mount static ", "dev-mqueue.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", "brandbot.path enabled ", "systemd-ask-password-console.path static ", "systemd-ask-password-wall.path static ", "session-7.scope static ", "session-8.scope static ", "arp-ethers.service disabled", "auditd.service enabled ", "autovt@.service enabled ", "blk-availability.service disabled", "brandbot.service static ", "cgconfig.service disabled", "cgred.service disabled", "chrony-dnssrv@.service static ", "chrony-wait.service disabled", "chronyd.service enabled ", "cloud-config.service enabled ", "cloud-final.service enabled ", "cloud-init-local.service enabled ", "cloud-init.service enabled ", "console-getty.service disabled", "console-shell.service disabled", "container-getty@.service static ", "cpupower.service disabled", "crond.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.nm-dispatcher.service enabled ", "dbus-org.freedesktop.timedate1.service static ", "dbus.service static ", "debug-shell.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 ", "emergency.service static ", "fstrim.service static ", "getty@.service enabled ", "halt-local.service static ", "initrd-cleanup.service static ", "initrd-parse-etc.service static ", "initrd-switch-root.service static ", "initrd-udevadm-cleanup-db.service static ", "irqbalance.service enabled ", "kdump.service enabled ", "kmod-static-nodes.service static ", "memcached.service disabled", "messagebus.service static ", "microcode.service enabled ", "NetworkManager-dispatcher.service enabled ", "NetworkManager-wait-online.service enabled ", "NetworkManager.service enabled ", "nginx.service disabled", "polkit.service static ", "postfix.service enabled ", "qemu-guest-agent.service enabled ", "quotaon.service static ", "rabbitmq-server.service disabled", "rc-local.service static ", "rdisc.service disabled", "rescue.service static ", "rh-postgresql10-postgresql.service enabled ", "rh-postgresql10-postgresql@.service disabled", "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 disabled", "rsyncd.service disabled", "rsyncd@.service static ", "rsyslog.service enabled ", "selinux-policy-migrate-local-changes@.service static ", "serial-getty@.service disabled", "sshd-keygen.service static ", "sshd.service enabled ", "sshd@.service static ", "supervisord.service disabled", "svnserve.service disabled", "systemd-ask-password-console.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 ", "wpa_supplicant.service disabled", "-.slice static ", "machine.slice static ", "system.slice static ", "user-0.slice static ", "user-1001.slice static ", "user.slice static ", "dbus.socket static ", "rsyncd.socket disabled", "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 ", "basic.target static ", "bluetooth.target static ", "cloud-config.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 static ", "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 ", "kexec.target disabled", "local-fs-pre.target static ", "local-fs.target static ", "machines.target disabled", "multi-user.target enabled ", "network-online.target static ", "network-pre.target static ", "network.target static ", "nss-lookup.target static ", "nss-user-lookup.target static ", "paths.target static ", "poweroff.target disabled", "printer.target static ", "reboot.target disabled", "remote-cryptsetup.target disabled", "remote-fs-pre.target static ", "remote-fs.target enabled ", "rescue.target disabled", "rpcbind.target static ", "runlevel0.target disabled", "runlevel1.target disabled", "runlevel2.target enabled ", "runlevel3.target enabled ", "runlevel4.target enabled ", "runlevel5.target static ", "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 ", "chrony-dnssrv@.timer disabled", "fstrim.timer disabled", "systemd-readahead-done.timer indirect", "systemd-tmpfiles-clean.timer static ", "", "231 unit files listed."]}
TASK [firewall : Determine if iptables is installed] ***************************
ok: [localhost] => {"changed": false, "cmd": ["iptables", "--version"], "delta": "0:00:00.003541", "end": "2021-01-07 02:08:25.350184", "failed_when_result": false, "rc": 0, "start": "2021-01-07 02:08:25.346643", "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 [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 [check whether rabbitmq is already reachable as a node] *******************
fatal: [localhost]: FAILED! => {"changed": false, "cmd": ["rabbitmqctl", "-n", "rabbitmq@localhost", "status"], "delta": "0:00:00.724320", "end": "2021-01-07 02:08:26.758451", "msg": "non-zero return code", "rc": 69, "start": "2021-01-07 02:08:26.034131", "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 https://rabbitmq.com/documentation.html to learn more\n * Consult server logs on node rabbitmq@localhost\n * If target node is configured to use long node names, don't forget to use --longnames with CLI tools\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 other nodes on localhost: ['rabbitmqcli-21510-rabbit']\n * suggestion: start the node\n\nCurrent node details:\n * node name: 'rabbitmqcli-21510-rabbit@bastion'\n * effective user's home directory: /var/lib/rabbitmq\n * Erlang cookie hash: PY+HnP2aWrYw6g/Yd/TbJw==", "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 https://rabbitmq.com/documentation.html to learn more", " * Consult server logs on node rabbitmq@localhost", " * If target node is configured to use long node names, don't forget to use --longnames with CLI tools", "", "DIAGNOSTICS", "===========", "", "attempted to contact: [rabbitmq@localhost]", "", "rabbitmq@localhost:", " * connected to epmd (port 4369) on localhost", " * epmd reports: node 'rabbitmq' not running at all", " other nodes on localhost: ['rabbitmqcli-21510-rabbit']", " * suggestion: start the node", "", "Current node details:", " * node name: 'rabbitmqcli-21510-rabbit@bastion'", " * effective user's home directory: /var/lib/rabbitmq", " * Erlang cookie hash: PY+HnP2aWrYw6g/Yd/TbJw=="], "stdout": "Status of node rabbitmq@localhost ...", "stdout_lines": ["Status of node rabbitmq@localhost ..."]}
...ignoring
TASK [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": "network.target basic.target systemd-journald.socket -.mount syslog.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": "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": "32768", "LimitNPROC": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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": "basic.target -.mount system.slice", "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", "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 : Generate CA private key] **************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Slurp CA private 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 [rabbitmq : Generate CA CSR] **********************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Generate CA certificate] **************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Slurp CA 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 [rabbitmq : Place the CA key] *********************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Place the CA certificate] *************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Generate server private key] **********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Generate server CSR] ******************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Generate server certificate] **********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Combine server cert+key into a single file] *******************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [rabbitmq : Apply RabbitMQ environment Node Name] *************************
changed: [localhost] => {"changed": true, "checksum": "23a5609d1d9342cd00effb6db25ae6ab14be28cc", "dest": "/etc/rabbitmq/rabbitmq-env.conf", "gid": 991, "group": "rabbitmq", "md5sum": "eeb74f16b8ba8cb38fbe5399fcdb83f5", "mode": "0600", "owner": "rabbitmq", "secontext": "system_u:object_r:etc_t:s0", "size": 156, "src": "/root/.ansible/tmp/ansible-tmp-1609985307.85-21733-170040725552727/source", "state": "file", "uid": 994}
TASK [rabbitmq : Apply RabbitMQ Configuration] *********************************
changed: [localhost] => {"changed": true, "checksum": "d92b27270795385e4832bb076da29d216b3040f2", "dest": "/etc/rabbitmq/rabbitmq.conf", "gid": 991, "group": "rabbitmq", "md5sum": "965d2528bed964e7bf664eab11db0af8", "mode": "0600", "owner": "rabbitmq", "secontext": "system_u:object_r:etc_t:s0", "size": 95, "src": "/root/.ansible/tmp/ansible-tmp-1609985308.2-21762-38778794590638/source", "state": "file", "uid": 994}
TASK [rabbitmq : Apply RabbitMQ Cookie] ****************************************
changed: [localhost] => {"changed": true, "checksum": "64b1b9f36607ff04be7ef6e88e416b54c557d713", "dest": "/var/lib/rabbitmq/.erlang.cookie", "gid": 991, "group": "rabbitmq", "md5sum": "6adeb5f54399cec7a7178e2d48adee94", "mode": "0600", "owner": "rabbitmq", "secontext": "unconfined_u:object_r:rabbitmq_var_lib_t:s0", "size": 13, "src": "/root/.ansible/tmp/ansible-tmp-1609985308.55-21791-270496589210374/source", "state": "file", "uid": 994}
TASK [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": "system.slice systemd-journald.socket -.mount basic.target network.target syslog.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": "32768", "LimitNPROC": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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": "basic.target -.mount system.slice", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/lib/rabbitmq"}}
TASK [wait for rabbitmq service to be running] *********************************
ok: [localhost] => {"changed": false, "elapsed": 0, "match_groupdict": {}, "match_groups": [], "path": null, "port": 5672, "search_regex": null, "state": "started"}
TASK [Activate rabbitmq plugins] ***********************************************
changed: [localhost] => {"changed": true, "disabled": [], "enabled": ["rabbitmq_management", "rabbitmq_management_agent", "rabbitmq_federation", "rabbitmq_federation_management"]}
TASK [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.573239", "end": "2021-01-07 02:08:53.822572", "rc": 0, "start": "2021-01-07 02:08:53.249333", "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 [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 [Start rabbitmq app if we arent the first node] ***************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [create the rabbitmq user] ************************************************
[WARNING]: Module did not set no_log for update_password
changed: [localhost] => {"changed": true, "state": "present", "user": "tower"}
TASK [rabbitmq : Remove default guest user] ************************************
changed: [localhost] => {"changed": true, "cmd": "rabbitmqctl delete_user guest", "delta": "0:00:00.569391", "end": "2021-01-07 02:08:57.473834", "rc": 0, "start": "2021-01-07 02:08:56.904443", "stderr": "", "stderr_lines": [], "stdout": "Deleting user \"guest\" ...", "stdout_lines": ["Deleting user \"guest\" ..."]}
TASK [include memcached variables] *********************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/memcached/vars/../vars/default.yml) => {"ansible_facts": {"memcached_user": "memcached"}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/memcached/vars/default.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/memcached/vars/../vars/default.yml"}
TASK [ensure /var/run/memcached exists] ****************************************
changed: [localhost] => {"changed": true, "gid": 993, "group": "memcached", "mode": "0750", "owner": "memcached", "path": "/var/run/memcached", "secontext": "unconfined_u:object_r:var_run_t:s0", "size": 40, "state": "directory", "uid": 996}
TASK [ensure /var/run/memcached has the correct SELinux context] ***************
changed: [localhost] => {"changed": true, "cmd": "restorecon -R /var/run/memcached", "delta": "0:00:00.010497", "end": "2021-01-07 02:08:57.932328", "rc": 0, "start": "2021-01-07 02:08:57.921831", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [Create tmpfiles.d entry for memcached socket directory] ******************
changed: [localhost] => {"changed": true, "checksum": "2f4704ab9a5751a771da9fab78c584aba81e692f", "dest": "/etc/tmpfiles.d/memcached.conf", "gid": 0, "group": "root", "md5sum": "afc58080b5bde7909663447e49e64547", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 48, "src": "/root/.ansible/tmp/ansible-tmp-1609985338.0-24156-244729996978495/source", "state": "file", "uid": 0}
TASK [bind memcached to a unix domain socket] **********************************
changed: [localhost] => {"backup": "", "changed": true, "msg": "line replaced"}
TASK [restart memcached when bind settings changed] ****************************
changed: [localhost] => {"changed": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target httpd.service", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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": "system.slice 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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [add awx to the memcached group so it can access the socket] **************
changed: [localhost] => {"append": true, "changed": true, "comment": "", "group": 994, "groups": "memcached", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 997}
TASK [memcached : Start Memcached and enable it at startup] ********************
changed: [localhost] => {"changed": true, "enabled": true, "name": "memcached", "state": "started", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:08:58 UTC", "ActiveEnterTimestampMonotonic": "2873927257", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:08:58 UTC", "AssertTimestampMonotonic": "2873926230", "Before": "shutdown.target httpd.service", "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": "Thu 2021-01-07 02:08:58 UTC", "ConditionTimestampMonotonic": "2873926229", "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": "24224", "ExecMainStartTimestamp": "Thu 2021-01-07 02:08:58 UTC", "ExecMainStartTimestampMonotonic": "2873927184", "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=[Thu 2021-01-07 02:08:58 UTC] ; stop_time=[n/a] ; pid=24224 ; 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": "Thu 2021-01-07 02:08:58 UTC", "InactiveExitTimestampMonotonic": "2873927257", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "24224", "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": "system.slice 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": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestamp": "Thu 2021-01-07 02:08:58 UTC", "WatchdogTimestampMonotonic": "2873927232", "WatchdogUSec": "0"}}
TASK [awx_install : include_tasks] *********************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/awx_install/tasks/tasks.yml for localhost
TASK [awx_install : Ensure awx is in the nginx group] **************************
changed: [localhost] => {"append": true, "changed": true, "comment": "", "group": 994, "groups": "nginx", "home": "/var/lib/awx", "move_home": false, "name": "awx", "shell": "/bin/bash", "state": "present", "uid": 997}
TASK [awx_install : Configure the Tower settings directory.] *******************
ok: [localhost] => {"changed": false, "gid": 994, "group": "awx", "mode": "0755", "owner": "root", "path": "/etc/tower", "secontext": "system_u:object_r:etc_t:s0", "size": 24, "state": "directory", "uid": 0}
TASK [awx_install : Configure the Tower socket directory.] *********************
ok: [localhost] => {"changed": false, "gid": 992, "group": "nginx", "mode": "02775", "owner": "nginx", "path": "/var/run/tower", "secontext": "system_u:object_r:httpd_var_run_t:s0", "size": 40, "state": "directory", "uid": 995}
TASK [awx_install : Configure the Tower socket directory for tmpfiles.d] *******
changed: [localhost] => {"changed": true, "checksum": "253caabec97cc797f3e2a99db6869636f747e0b1", "dest": "/etc/tmpfiles.d/tower.conf", "gid": 0, "group": "root", "md5sum": "c17f9680a626839ec3457ebadf976885", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 36, "src": "/root/.ansible/tmp/ansible-tmp-1609985340.53-24370-125165148917936/source", "state": "file", "uid": 0}
TASK [awx_install : Configure the Tower system user's home directory.] *********
ok: [localhost] => {"changed": false, "gid": 994, "group": "awx", "mode": "0755", "owner": "awx", "path": "/var/lib/awx", "secontext": "system_u:object_r:var_lib_t:s0", "size": 70, "state": "directory", "uid": 997}
TASK [awx_install : Configure the Tower system user's .ssh directory.] *********
changed: [localhost] => {"changed": true, "gid": 994, "group": "awx", "mode": "0700", "owner": "awx", "path": "/var/lib/awx/.ssh", "secontext": "unconfined_u:object_r:ssh_home_t:s0", "size": 6, "state": "directory", "uid": 997}
TASK [awx_install : Configure the Tower projects directory.] *******************
changed: [localhost] => {"changed": true, "gid": 994, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/projects", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 997}
TASK [awx_install : Configure the Tower job output directory.] *****************
ok: [localhost] => {"changed": false, "gid": 994, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/lib/awx/job_status", "secontext": "system_u:object_r:public_content_t:s0", "size": 6, "state": "directory", "uid": 997}
TASK [awx_install : Configure the Tower static directory.] *********************
changed: [localhost] => {"changed": true, "gid": 994, "group": "awx", "mode": "0755", "owner": "root", "path": "/var/lib/awx/public/static", "secontext": "unconfined_u:object_r:var_lib_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [awx_install : Add Towers `conf.d` directory.] ****************************
changed: [localhost] => {"changed": true, "gid": 994, "group": "awx", "mode": "0750", "owner": "root", "path": "/etc/tower/conf.d", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [awx_install : configure tower log directory] *****************************
ok: [localhost] => {"changed": false, "gid": 994, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "secontext": "system_u:object_r:var_log_t:s0", "size": 6, "state": "directory", "uid": 997}
TASK [awx_install : update ansible-tower service configuration] ****************
changed: [localhost] => {"changed": true, "checksum": "39b248156a994262b6f8bb4ae9f7ea65e7d8ecf7", "dest": "/etc/sysconfig/ansible-tower", "gid": 0, "group": "root", "md5sum": "c61ed87cc2fb0af84e9b4cb5526fe3f2", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 209, "src": "/root/.ansible/tmp/ansible-tmp-1609985342.39-24539-51816007143339/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": "6062b4fb4b2f71960bf7aa5f1158d58c9a1bb80c", "dest": "/etc/tower/conf.d/postgres.py", "gid": 994, "group": "awx", "md5sum": "496e7ba4c1556a2af4a8657a0e54b8ca", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 400, "src": "/root/.ansible/tmp/ansible-tmp-1609985344.19-24630-8305554017128/source", "state": "file", "uid": 0}
TASK [awx_install : Configure Towers channels settings.] ***********************
changed: [localhost] => {"changed": true, "checksum": "2568b97903cd60d09034ba057e6cdd0fea41a4a4", "dest": "/etc/tower/conf.d/channels.py", "gid": 994, "group": "awx", "md5sum": "897c4b03a909e382a858930eaa4635ab", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 285, "src": "/root/.ansible/tmp/ansible-tmp-1609985344.58-24661-118435275983706/source", "state": "file", "uid": 0}
TASK [awx_install : Configure the Insights URL] ********************************
changed: [localhost] => {"changed": true, "checksum": "86553cdbd2721e0df3b0840f29c6ff40a0185eb0", "dest": "/etc/tower/conf.d/insights.py", "gid": 994, "group": "awx", "md5sum": "24c7b3d4dde4cf2560c123c264a388ec", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 309, "src": "/root/.ansible/tmp/ansible-tmp-1609985344.96-24690-83850500393110/source", "state": "file", "uid": 0}
TASK [awx_install : Initialize instance groups for host] ***********************
ok: [localhost] => {"ansible_facts": {"awx_instance_groups": []}, "changed": false}
TASK [awx_install : Determine instance groups for host] ************************
skipping: [localhost] => (item=RedHat_7) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_7", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported) => {"ansible_loop_var": "item", "changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
ok: [localhost] => (item=tower) => {"ansible_facts": {"awx_instance_groups": ["tower"]}, "ansible_loop_var": "item", "changed": false, "item": "tower"}
TASK [awx_install : Install Tower rabbitmq settings] ***************************
changed: [localhost] => {"changed": true, "checksum": "36314c8af47f53b2f6d32260b84fcd3e58065b85", "dest": "/etc/tower/conf.d/rabbitmq.py", "gid": 994, "group": "awx", "md5sum": "10005e042c6169a5c15b3e3f25c49c8a", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 211, "src": "/root/.ansible/tmp/ansible-tmp-1609985345.43-24723-175120936971957/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": 994, "group": "awx", "md5sum": "e5eb1b7198b66e7989e8f6f282593ca7", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 210, "src": "/root/.ansible/tmp/ansible-tmp-1609985345.8-24752-179810188352888/source", "state": "file", "uid": 0}
TASK [awx_install : Set default image for Container Groups] ********************
changed: [localhost] => {"changed": true, "checksum": "ca8dc01bf606d2fd3e0728694a19ecb6e4031b6b", "dest": "/etc/tower/conf.d/container_groups.py", "gid": 994, "group": "awx", "md5sum": "25a9c5d71ce0a31965d5bf0c9dd0033a", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 80, "src": "/root/.ansible/tmp/ansible-tmp-1609985346.17-24781-221206397978682/source", "state": "file", "uid": 0}
TASK [awx_install : Install Tower's settings file if it doesn't already exist.] ***
changed: [localhost] => {"changed": true, "checksum": "14a211c9335e703757c17617631da04e07b3bacf", "dest": "/etc/tower/settings.py", "gid": 994, "group": "awx", "md5sum": "e8ce27c4a2d35e37a44cf305d9044b7e", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 1529, "src": "/root/.ansible/tmp/ansible-tmp-1609985346.55-24810-212682772384154/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": "system.slice rc-local.service basic.target nss-user-lookup.target systemd-journald.socket", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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 system.slice", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [awx_install : Wait for supervisor to stop.] ******************************
ok: [localhost] => {"attempts": 1, "changed": false, "stat": {"exists": false}}
TASK [awx_install : Migrate the Tower database schema (may take awhile when upgrading).] ***
changed: [localhost] => {"changed": true, "cmd": ["awx-manage", "migrate", "--noinput"], "delta": "0:02:18.295003", "end": "2021-01-07 02:11:25.862795", "rc": 0, "start": "2021-01-07 02:09:07.567792", "stderr": "", "stderr_lines": [], "stdout": "Operations to perform:\n Apply all migrations: auth, conf, contenttypes, main, oauth2_provider, sessions, sites, social_django, sso, taggit\nRunning migrations:\n Applying contenttypes.0001_initial... OK\n Applying contenttypes.0002_remove_content_type_name... OK\n Applying taggit.0001_initial... OK\n Applying taggit.0002_auto_20150616_2121... OK\n Applying auth.0001_initial... OK\n Applying main.0001_initial... OK\n Applying main.0002_squashed_v300_release... OK\n Applying main.0003_squashed_v300_v303_updates... OK\n Applying main.0004_squashed_v310_release... OK\n Applying conf.0001_initial... OK\n Applying conf.0002_v310_copy_tower_settings... OK\n Applying main.0005_squashed_v310_v313_updates... OK\n Applying main.0006_v320_release... OK\n Applying main.0007_v320_data_migrations... OK\n Applying main.0008_v320_drop_v1_credential_fields... OK\n Applying main.0009_v322_add_setting_field_for_activity_stream... OK\n Applying main.0010_v322_add_ovirt4_tower_inventory... OK\n Applying main.0011_v322_encrypt_survey_passwords... OK\n Applying main.0012_v322_update_cred_types... OK\n Applying main.0013_v330_multi_credential... OK\n Applying auth.0002_alter_permission_name_max_length... OK\n Applying auth.0003_alter_user_email_max_length... OK\n Applying auth.0004_alter_user_username_opts... OK\n Applying auth.0005_alter_user_last_login_null... OK\n Applying auth.0006_require_contenttypes_0002... OK\n Applying auth.0007_alter_validators_add_error_messages... OK\n Applying auth.0008_alter_user_username_max_length... OK\n Applying auth.0009_alter_user_last_name_max_length... OK\n Applying auth.0010_alter_group_name_max_length... OK\n Applying auth.0011_update_proxy_permissions... OK\n Applying conf.0003_v310_JSONField_changes... OK\n Applying conf.0004_v320_reencrypt... OK\n Applying conf.0005_v330_rename_two_session_settings... OK\n Applying conf.0006_v331_ldap_group_type... OK\n Applying sessions.0001_initial... OK\n Applying main.0014_v330_saved_launchtime_configs... OK\n Applying main.0015_v330_blank_start_args... OK\n Applying main.0016_v330_non_blank_workflow... OK\n Applying main.0017_v330_move_deprecated_stdout... OK\n Applying main.0018_v330_add_additional_stdout_events... OK\n Applying main.0019_v330_custom_virtualenv... OK\n Applying main.0020_v330_instancegroup_policies... OK\n Applying main.0021_v330_declare_new_rbac_roles... OK\n Applying main.0022_v330_create_new_rbac_roles... OK\n Applying main.0023_v330_inventory_multicred... OK\n Applying main.0024_v330_create_user_session_membership... OK\n Applying main.0025_v330_add_oauth_activity_stream_registrar... OK\n Applying oauth2_provider.0001_initial... OK\n Applying main.0026_v330_delete_authtoken... OK\n Applying main.0027_v330_emitted_events... OK\n Applying main.0028_v330_add_tower_verify... OK\n Applying main.0030_v330_modify_application... OK\n Applying main.0031_v330_encrypt_oauth2_secret... OK\n Applying main.0032_v330_polymorphic_delete... OK\n Applying main.0033_v330_oauth_help_text... OK\n Applying main.0034_v330_delete_user_role... OK\n Applying main.0035_v330_more_oauth2_help_text... OK\n Applying main.0036_v330_credtype_remove_become_methods... OK\n Applying main.0037_v330_remove_legacy_fact_cleanup... OK\n Applying main.0038_v330_add_deleted_activitystream_actor... OK\n Applying main.0039_v330_custom_venv_help_text... OK\n Applying main.0040_v330_unifiedjob_controller_node... OK\n Applying main.0041_v330_update_oauth_refreshtoken... OK\n Applying main.0042_v330_org_member_role_deparent... OK\n Applying main.0043_v330_oauth2accesstoken_modified... OK\n Applying main.0044_v330_add_inventory_update_inventory... OK\n Applying main.0045_v330_instance_managed_by_policy... OK\n Applying main.0046_v330_remove_client_credentials_grant... OK\n Applying main.0047_v330_activitystream_instance... OK\n Applying main.0048_v330_django_created_modified_by_model_name... OK\n Applying main.0049_v330_validate_instance_capacity_adjustment... OK\n Applying main.0050_v340_drop_celery_tables... OK\n Applying main.0051_v340_job_slicing... OK\n Applying main.0052_v340_remove_project_scm_delete_on_next_update... OK\n Applying main.0053_v340_workflow_inventory... OK\n Applying main.0054_v340_workflow_convergence... OK\n Applying main.0055_v340_add_grafana_notification... OK\n Applying main.0056_v350_custom_venv_history... OK\n Applying main.0057_v350_remove_become_method_type... OK\n Applying main.0058_v350_remove_limit_limit... OK\n Applying main.0059_v350_remove_adhoc_limit... OK\n Applying main.0060_v350_update_schedule_uniqueness_constraint... OK\n Applying main.0061_v350_track_native_credentialtype_source... OK\n Applying main.0062_v350_new_playbook_stats... OK\n Applying main.0063_v350_org_host_limits... OK\n Applying main.0064_v350_analytics_state... OK\n Applying main.0065_v350_index_job_status... OK\n Applying main.0066_v350_inventorysource_custom_virtualenv... OK\n Applying main.0067_v350_credential_plugins... OK\n Applying main.0068_v350_index_event_created... OK\n Applying main.0069_v350_generate_unique_install_uuid... OK\n Applying main.0070_v350_gce_instance_id... OK\n Applying main.0071_v350_remove_system_tracking... OK\n Applying main.0072_v350_deprecate_fields... OK\n Applying main.0073_v360_create_instance_group_m2m... OK\n Applying main.0074_v360_migrate_instance_group_relations... OK\n Applying main.0075_v360_remove_old_instance_group_relations... OK\n Applying main.0076_v360_add_new_instance_group_relations... OK\n Applying main.0077_v360_add_default_orderings... OK\n Applying main.0078_v360_clear_sessions_tokens_jt... OK\n Applying main.0079_v360_rm_implicit_oauth2_apps... OK\n Applying main.0080_v360_replace_job_origin... OK\n Applying main.0081_v360_notify_on_start... OK\n Applying main.0082_v360_webhook_http_method... OK\n Applying main.0083_v360_job_branch_override... OK\n Applying main.0084_v360_token_description... OK\n Applying main.0085_v360_add_notificationtemplate_messages... OK\n Applying main.0086_v360_workflow_approval... OK\n Applying main.0087_v360_update_credential_injector_help_text... OK\n Applying main.0088_v360_dashboard_optimizations... OK\n Applying main.0089_v360_new_job_event_types... OK\n Applying main.0090_v360_WFJT_prompts... OK\n Applying main.0091_v360_approval_node_notifications... OK\n Applying main.0092_v360_webhook_mixin... OK\n Applying main.0093_v360_personal_access_tokens... OK\n Applying main.0094_v360_webhook_mixin2... OK\n Applying main.0095_v360_increase_instance_version_length... OK\n Applying main.0096_v360_container_groups... OK\n Applying main.0097_v360_workflowapproval_approved_or_denied_by... OK\n Applying main.0098_v360_rename_cyberark_aim_credential_type... OK\n Applying main.0099_v361_license_cleanup... OK\n Applying 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, main, oauth2_provider, sessions, sites, social_django, sso, taggit", "Running migrations:", " Applying contenttypes.0001_initial... OK", " Applying contenttypes.0002_remove_content_type_name... OK", " Applying taggit.0001_initial... OK", " Applying taggit.0002_auto_20150616_2121... OK", " Applying auth.0001_initial... OK", " Applying main.0001_initial... OK", " Applying main.0002_squashed_v300_release... OK", " Applying main.0003_squashed_v300_v303_updates... OK", " Applying main.0004_squashed_v310_release... OK", " Applying conf.0001_initial... OK", " Applying conf.0002_v310_copy_tower_settings... OK", " Applying main.0005_squashed_v310_v313_updates... OK", " Applying main.0006_v320_release... OK", " Applying main.0007_v320_data_migrations... OK", " Applying main.0008_v320_drop_v1_credential_fields... OK", " Applying main.0009_v322_add_setting_field_for_activity_stream... OK", " Applying main.0010_v322_add_ovirt4_tower_inventory... OK", " Applying main.0011_v322_encrypt_survey_passwords... OK", " Applying main.0012_v322_update_cred_types... OK", " Applying main.0013_v330_multi_credential... OK", " Applying auth.0002_alter_permission_name_max_length... OK", " Applying auth.0003_alter_user_email_max_length... OK", " Applying auth.0004_alter_user_username_opts... OK", " Applying auth.0005_alter_user_last_login_null... OK", " Applying auth.0006_require_contenttypes_0002... OK", " Applying auth.0007_alter_validators_add_error_messages... OK", " Applying auth.0008_alter_user_username_max_length... OK", " Applying auth.0009_alter_user_last_name_max_length... OK", " Applying auth.0010_alter_group_name_max_length... OK", " Applying auth.0011_update_proxy_permissions... OK", " Applying conf.0003_v310_JSONField_changes... OK", " Applying conf.0004_v320_reencrypt... OK", " Applying conf.0005_v330_rename_two_session_settings... OK", " Applying conf.0006_v331_ldap_group_type... OK", " Applying sessions.0001_initial... OK", " Applying main.0014_v330_saved_launchtime_configs... OK", " Applying main.0015_v330_blank_start_args... OK", " Applying main.0016_v330_non_blank_workflow... OK", " Applying main.0017_v330_move_deprecated_stdout... OK", " Applying main.0018_v330_add_additional_stdout_events... OK", " Applying main.0019_v330_custom_virtualenv... OK", " Applying main.0020_v330_instancegroup_policies... OK", " Applying main.0021_v330_declare_new_rbac_roles... OK", " Applying main.0022_v330_create_new_rbac_roles... OK", " Applying main.0023_v330_inventory_multicred... OK", " Applying main.0024_v330_create_user_session_membership... OK", " Applying main.0025_v330_add_oauth_activity_stream_registrar... OK", " Applying oauth2_provider.0001_initial... OK", " Applying main.0026_v330_delete_authtoken... OK", " Applying main.0027_v330_emitted_events... OK", " Applying main.0028_v330_add_tower_verify... OK", " Applying main.0030_v330_modify_application... OK", " Applying main.0031_v330_encrypt_oauth2_secret... OK", " Applying main.0032_v330_polymorphic_delete... OK", " Applying main.0033_v330_oauth_help_text... OK", " Applying main.0034_v330_delete_user_role... OK", " Applying main.0035_v330_more_oauth2_help_text... OK", " Applying main.0036_v330_credtype_remove_become_methods... OK", " Applying main.0037_v330_remove_legacy_fact_cleanup... OK", " Applying main.0038_v330_add_deleted_activitystream_actor... OK", " Applying main.0039_v330_custom_venv_help_text... OK", " Applying main.0040_v330_unifiedjob_controller_node... OK", " Applying main.0041_v330_update_oauth_refreshtoken... OK", " Applying main.0042_v330_org_member_role_deparent... OK", " Applying main.0043_v330_oauth2accesstoken_modified... OK", " Applying main.0044_v330_add_inventory_update_inventory... OK", " Applying main.0045_v330_instance_managed_by_policy... OK", " Applying main.0046_v330_remove_client_credentials_grant... OK", " Applying main.0047_v330_activitystream_instance... OK", " Applying main.0048_v330_django_created_modified_by_model_name... OK", " Applying main.0049_v330_validate_instance_capacity_adjustment... OK", " Applying main.0050_v340_drop_celery_tables... OK", " Applying main.0051_v340_job_slicing... OK", " Applying main.0052_v340_remove_project_scm_delete_on_next_update... OK", " Applying main.0053_v340_workflow_inventory... OK", " Applying main.0054_v340_workflow_convergence... OK", " Applying main.0055_v340_add_grafana_notification... OK", " Applying main.0056_v350_custom_venv_history... OK", " Applying main.0057_v350_remove_become_method_type... OK", " Applying main.0058_v350_remove_limit_limit... OK", " Applying main.0059_v350_remove_adhoc_limit... OK", " Applying main.0060_v350_update_schedule_uniqueness_constraint... OK", " Applying main.0061_v350_track_native_credentialtype_source... OK", " Applying main.0062_v350_new_playbook_stats... OK", " Applying main.0063_v350_org_host_limits... OK", " Applying main.0064_v350_analytics_state... OK", " Applying main.0065_v350_index_job_status... OK", " Applying main.0066_v350_inventorysource_custom_virtualenv... OK", " Applying main.0067_v350_credential_plugins... OK", " Applying main.0068_v350_index_event_created... OK", " Applying main.0069_v350_generate_unique_install_uuid... OK", " Applying main.0070_v350_gce_instance_id... OK", " Applying main.0071_v350_remove_system_tracking... OK", " Applying main.0072_v350_deprecate_fields... OK", " Applying main.0073_v360_create_instance_group_m2m... OK", " Applying main.0074_v360_migrate_instance_group_relations... OK", " Applying main.0075_v360_remove_old_instance_group_relations... OK", " Applying main.0076_v360_add_new_instance_group_relations... OK", " Applying main.0077_v360_add_default_orderings... OK", " Applying main.0078_v360_clear_sessions_tokens_jt... OK", " Applying main.0079_v360_rm_implicit_oauth2_apps... OK", " Applying main.0080_v360_replace_job_origin... OK", " Applying main.0081_v360_notify_on_start... OK", " Applying main.0082_v360_webhook_http_method... OK", " Applying main.0083_v360_job_branch_override... OK", " Applying main.0084_v360_token_description... OK", " Applying main.0085_v360_add_notificationtemplate_messages... OK", " Applying main.0086_v360_workflow_approval... OK", " Applying main.0087_v360_update_credential_injector_help_text... OK", " Applying main.0088_v360_dashboard_optimizations... OK", " Applying main.0089_v360_new_job_event_types... OK", " Applying main.0090_v360_WFJT_prompts... OK", " Applying main.0091_v360_approval_node_notifications... OK", " Applying main.0092_v360_webhook_mixin... OK", " Applying main.0093_v360_personal_access_tokens... OK", " Applying main.0094_v360_webhook_mixin2... OK", " Applying main.0095_v360_increase_instance_version_length... OK", " Applying main.0096_v360_container_groups... OK", " Applying main.0097_v360_workflowapproval_approved_or_denied_by... OK", " Applying main.0098_v360_rename_cyberark_aim_credential_type... OK", " Applying main.0099_v361_license_cleanup... OK", " Applying 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 : get the tower version] *************************************
changed: [localhost] => {"changed": true, "cmd": "awx-manage version", "delta": "0:00:00.868055", "end": "2021-01-07 02:11:27.187901", "rc": 0, "start": "2021-01-07 02:11:26.319846", "stderr": "", "stderr_lines": [], "stdout": "3.6.4", "stdout_lines": ["3.6.4"]}
TASK [awx_install : store the tower version] ***********************************
changed: [localhost] => {"changed": true, "checksum": "ded24367ba96a591530ae7476faefb646d5c84a2", "dest": "/var/lib/awx/.tower_version", "gid": 0, "group": "root", "md5sum": "f56d3e84f8f4fb156548d390a8a85d8e", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:var_lib_t:s0", "size": 5, "src": "/root/.ansible/tmp/ansible-tmp-1609985487.26-25073-119639837981373/source", "state": "file", "uid": 0}
TASK [awx_install : Get configuration files to set permissions on] *************
ok: [localhost] => {"changed": false, "cmd": "ls /etc/tower/conf.d/*.py", "delta": "0:00:00.005242", "end": "2021-01-07 02:11:27.740573", "rc": 0, "start": "2021-01-07 02:11:27.735331", "stderr": "", "stderr_lines": [], "stdout": "/etc/tower/conf.d/caching.py\n/etc/tower/conf.d/channels.py\n/etc/tower/conf.d/container_groups.py\n/etc/tower/conf.d/insights.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/channels.py", "/etc/tower/conf.d/container_groups.py", "/etc/tower/conf.d/insights.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) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/caching.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/caching.py", "secontext": "system_u:object_r:etc_t:s0", "size": 210, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/channels.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/channels.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/channels.py", "secontext": "system_u:object_r:etc_t:s0", "size": 285, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/container_groups.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/container_groups.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/container_groups.py", "secontext": "system_u:object_r:etc_t:s0", "size": 80, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/insights.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/insights.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/insights.py", "secontext": "system_u:object_r:etc_t:s0", "size": 309, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/postgres.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/postgres.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/postgres.py", "secontext": "system_u:object_r:etc_t:s0", "size": 400, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/conf.d/rabbitmq.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/conf.d/rabbitmq.py", "mode": "0640", "owner": "root", "path": "/etc/tower/conf.d/rabbitmq.py", "secontext": "system_u:object_r:etc_t:s0", "size": 211, "state": "file", "uid": 0}
ok: [localhost] => (item=/etc/tower/settings.py) => {"ansible_loop_var": "item", "changed": false, "gid": 994, "group": "awx", "item": "/etc/tower/settings.py", "mode": "0640", "owner": "root", "path": "/etc/tower/settings.py", "secontext": "system_u:object_r:etc_t:s0", "size": 1529, "state": "file", "uid": 0}
TASK [awx_install : Check for Tower Super users] *******************************
fatal: [localhost]: FAILED! => {"changed": true, "cmd": "echo \"from django.contrib.auth.models import User; nsu = User.objects.filter(is_superuser=True).count(); exit(0 if nsu > 0 else 1)\" | awx-manage shell", "delta": "0:00:02.943562", "end": "2021-01-07 02:11:32.225697", "msg": "non-zero return code", "rc": 1, "start": "2021-01-07 02:11:29.282135", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
...ignoring
TASK [awx_install : create django super user if it does not exist] *************
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [awx_install : update django super user password] *************************
changed: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true}
TASK [awx_install : Collect static files for Tower.] ***************************
changed: [localhost] => {"changed": true, "cmd": ["awx-manage", "collectstatic", "--noinput", "--clear", "-v0"], "delta": "0:00:03.046487", "end": "2021-01-07 02:11:43.774072", "rc": 0, "start": "2021-01-07 02:11:40.727585", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [awx_install : Fixup tower log directory permissions post-migration] ******
changed: [localhost] => {"changed": true, "gid": 994, "group": "awx", "mode": "0750", "owner": "awx", "path": "/var/log/tower", "secontext": "system_u:object_r:var_log_t:s0", "size": 206, "state": "directory", "uid": 997}
TASK [awx_install : Add ansible-runner cgroup config] **************************
changed: [localhost] => {"changed": true, "msg": "Block inserted"}
TASK [awx_install : Enable, start cgconfig service] ****************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "cgconfig", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "basic.target 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": "no", "Delegate": "yes", "Description": "Control Group configuration service", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/cgconfigparser ; argv[]=/usr/sbin/cgconfigparser -l /etc/cgconfig.conf -L /etc/cgconfig.d -s 1664 ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStop": "{ path=/usr/sbin/cgclear ; argv[]=/usr/sbin/cgclear -l /etc/cgconfig.conf -L /etc/cgconfig.d -e ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/cgconfig.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "cgconfig.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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "cgconfig.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": "yes", "Requires": "system.slice", "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": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "oneshot", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [include supervisor variables] ********************************************
ok: [localhost] => (item=/home/devops/ansible-tower-setup-3.6.4-1/roles/supervisor/vars/../vars/RedHat-7.yml) => {"ansible_facts": {"extra_env": {"LD_LIBRARY_PATH": "/opt/rh/rh-postgresql10/root/usr/lib64"}, "uwsgi_bash": "scl enable rh-postgresql10"}, "ansible_included_var_files": ["/home/devops/ansible-tower-setup-3.6.4-1/roles/supervisor/vars/RedHat-7.yml"], "ansible_loop_var": "item", "changed": false, "item": "/home/devops/ansible-tower-setup-3.6.4-1/roles/supervisor/vars/../vars/RedHat-7.yml"}
TASK [supervisor : include_tasks] **********************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/supervisor/tasks/tasks.yml for localhost
TASK [install supervisor config] ***********************************************
changed: [localhost] => {"changed": true, "checksum": "de4ad97d4ebe5aedcd1c394c63555d74e1395263", "dest": "/etc/supervisord.d/tower.ini", "gid": 0, "group": "root", "md5sum": "04df34f13b2120bc0712601ada4a6263", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 2678, "src": "/root/.ansible/tmp/ansible-tmp-1609985505.38-25511-113589834114096/source", "state": "file", "uid": 0}
TASK [supervisor : Recreate systemd tmp files] *********************************
changed: [localhost] => {"changed": true, "cmd": ["systemd-tmpfiles", "--create"], "delta": "0:00:00.024515", "end": "2021-01-07 02:11:45.895228", "rc": 0, "start": "2021-01-07 02:11:45.870713", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
TASK [start/enable supervisord process] ****************************************
changed: [localhost] => {"changed": true, "enabled": true, "name": "supervisord", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "nss-user-lookup.target basic.target systemd-journald.socket rc-local.service 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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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 system.slice", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [Wait for the supervisor socket] ******************************************
ok: [localhost] => {"changed": false, "elapsed": 0, "gid": 994, "group": "awx", "match_groupdict": {}, "match_groups": [], "mode": "0700", "owner": "awx", "path": "/var/run/supervisor/supervisor.sock", "port": null, "search_regex": null, "secontext": "system_u:object_r:var_run_t:s0", "size": 0, "state": "file", "uid": 997}
TASK [reload supervisord configuration via supervisorctl] **********************
changed: [localhost] => {"changed": true, "cmd": ["supervisorctl", "reload"], "delta": "0:00:00.120294", "end": "2021-01-07 02:11:46.903616", "rc": 0, "start": "2021-01-07 02:11:46.783322", "stderr": "", "stderr_lines": [], "stdout": "Restarted supervisord", "stdout_lines": ["Restarted supervisord"]}
TASK [nginx : include_tasks] ***************************************************
included: /home/devops/ansible-tower-setup-3.6.4-1/roles/nginx/tasks/tasks.yml for localhost
TASK [nginx : Determine if selinux is enabled] *********************************
ok: [localhost] => {"changed": false, "cmd": ["getenforce"], "delta": "0:00:00.018793", "end": "2021-01-07 02:11:47.381122", "rc": 0, "start": "2021-01-07 02:11:47.362329", "stderr": "", "stderr_lines": [], "stdout": "Enforcing", "stdout_lines": ["Enforcing"]}
TASK [Open up permissions on nginx.] *******************************************
changed: [localhost] => (item=httpd_can_network_connect) => {"ansible_loop_var": "item", "changed": true, "item": "httpd_can_network_connect", "name": "httpd_can_network_connect", "persistent": true, "state": true}
TASK [nginx : Copy SSL certificate] ********************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : Copy SSL private key] ********************************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : Create temporary directory for openssl config] *******************
changed: [localhost] => {"changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/tmp/ansible.PY9WA6tower_openssl", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 6, "state": "directory", "uid": 0}
TASK [nginx : copy openssl config] *********************************************
changed: [localhost] => {"changed": true, "checksum": "e9d7965fb9e0b6cada153445cd5cd585cf9e0909", "dest": "/tmp/ansible.PY9WA6tower_openssl/openssl.cnf", "gid": 994, "group": "awx", "md5sum": "07469edc6d400509cb4dbc55de8c31b0", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 300, "src": "/root/.ansible/tmp/ansible-tmp-1609985510.01-25752-39143743327169/source", "state": "file", "uid": 0}
TASK [nginx : create self signed SSL certificates] *****************************
changed: [localhost] => {"changed": true, "cmd": ["openssl", "req", "-x509", "-nodes", "-sha256", "-days", "824", "-newkey", "rsa:2048", "-keyout", "/etc/tower/tower.key", "-out", "/etc/tower/tower.cert", "-config", "/tmp/ansible.PY9WA6tower_openssl/openssl.cnf"], "delta": "0:00:00.035726", "end": "2021-01-07 02:11:51.084448", "rc": 0, "start": "2021-01-07 02:11:51.048722", "stderr": "Generating a 2048 bit RSA private key\n.+++\n.....+++\nwriting new private key to '/etc/tower/tower.key'\n-----", "stderr_lines": ["Generating a 2048 bit RSA private key", ".+++", ".....+++", "writing new private key to '/etc/tower/tower.key'", "-----"], "stdout": "", "stdout_lines": []}
TASK [nginx : set permissions on self-signed SSL certificate] ******************
changed: [localhost] => (item=/etc/tower/tower.cert) => {"ansible_loop_var": "item", "changed": true, "gid": 994, "group": "awx", "item": "/etc/tower/tower.cert", "mode": "0600", "owner": "root", "path": "/etc/tower/tower.cert", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1066, "state": "file", "uid": 0}
changed: [localhost] => (item=/etc/tower/tower.key) => {"ansible_loop_var": "item", "changed": true, "gid": 994, "group": "awx", "item": "/etc/tower/tower.key", "mode": "0600", "owner": "root", "path": "/etc/tower/tower.key", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 1708, "state": "file", "uid": 0}
TASK [nginx : slurp self-signed SSL certificate] *******************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [nginx : slurp self-signed SSL key] ***************************************
ok: [localhost] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false}
TASK [nginx : Remove the temporary openssl config directory and file] **********
changed: [localhost] => {"changed": true, "path": "/tmp/ansible.PY9WA6tower_openssl", "state": "absent"}
TASK [nginx : place self-signed SSL certificates] ******************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [nginx : place self-signed SSL key file] **********************************
skipping: [localhost] => {"changed": false, "skip_reason": "Conditional result was False"}
TASK [Install Tower nginx.conf] ************************************************
changed: [localhost] => {"changed": true, "checksum": "139a0b309ffbaef264270e0405c8e96647bd3617", "dest": "/etc/nginx/nginx.conf", "gid": 0, "group": "root", "md5sum": "c5ea52d46158c96257748cc9cea03c37", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:httpd_config_t:s0", "size": 5257, "src": "/root/.ansible/tmp/ansible-tmp-1609985513.56-25948-161559441807344/source", "state": "file", "uid": 0}
TASK [start nginx and configure to startup automatically] **********************
changed: [localhost] => {"changed": true, "enabled": true, "name": "nginx", "state": "started", "status": {"ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "tmp.mount system.slice network.target basic.target remote-fs.target -.mount nss-lookup.target systemd-journald.socket", "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": "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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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 system.slice", "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", "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": "5s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
TASK [misc : If Ansible does not provide a system UUID, get a random one.] *****
ok: [localhost] => {"changed": false, "cmd": "echo 'import uuid; print(uuid.uuid4())' | awx-python", "delta": "0:00:00.188735", "end": "2021-01-07 02:11:55.610090", "rc": 0, "start": "2021-01-07 02:11:55.421355", "stderr": "", "stderr_lines": [], "stdout": "0c3e66db-7599-4da8-9530-9a23ae31818b", "stdout_lines": ["0c3e66db-7599-4da8-9530-9a23ae31818b"]}
TASK [misc : Remove the old celeryd.py config file (if it exists)] *************
ok: [localhost] => {"changed": false, "path": "/etc/tower/conf.d/celeryd.py", "state": "absent"}
TASK [misc : Write a ha.conf file to /etc/tower that contains the system UUID.] ***
changed: [localhost] => {"changed": true, "checksum": "681937f2dfa143a0c99a9c15c42ebc2468e7960f", "dest": "/etc/tower/conf.d/ha.py", "gid": 994, "group": "awx", "md5sum": "9e2dbc9a661dbff880cff647d3237f98", "mode": "0640", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 97, "src": "/root/.ansible/tmp/ansible-tmp-1609985516.26-26087-30417294093017/source", "state": "file", "uid": 0}
TASK [misc : Register the tower instance in the database.] *********************
changed: [localhost] => {"changed": true, "cmd": "awx-manage provision_instance --hostname=\"localhost\"", "delta": "0:00:04.042069", "end": "2021-01-07 02:12:01.269645", "rc": 0, "start": "2021-01-07 02:11:57.227576", "stderr": "", "stderr_lines": [], "stdout": "Successfully registered instance localhost\n(changed: True)", "stdout_lines": ["Successfully registered instance localhost", "(changed: True)"]}
TASK [misc : Register tower instance groups.] **********************************
skipping: [localhost] => (item=all) => {"ansible_loop_var": "item", "changed": false, "item": "all", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=database) => {"ansible_loop_var": "item", "changed": false, "item": "database", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=supported) => {"ansible_loop_var": "item", "changed": false, "item": "supported", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=RedHat_7) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_7", "skip_reason": "Conditional result was False"}
skipping: [localhost] => (item=ungrouped) => {"ansible_loop_var": "item", "changed": false, "item": "ungrouped", "skip_reason": "Conditional result was False"}
changed: [localhost] => (item=tower) => {"ansible_loop_var": "item", "changed": true, "cmd": "awx-manage register_queue --queuename=\"tower\" --hostnames=\"localhost\"\n", "delta": "0:00:04.895729", "end": "2021-01-07 02:12:06.744635", "item": "tower", "rc": 0, "start": "2021-01-07 02:12:01.848906", "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:06.279998", "end": "2021-01-07 02:12:13.460208", "rc": 0, "start": "2021-01-07 02:12:07.180210", "stderr": "", "stderr_lines": [], "stdout": "Default organization added.\nDemo Credential, Inventory, and Job Template added.\n(changed: True)", "stdout_lines": ["Default organization added.", "Demo Credential, Inventory, and Job Template added.", "(changed: True)"]}
RUNNING HANDLER [restart supervisor] *******************************************
changed: [localhost] => {
"msg": "Restarting supervisor."
}
RUNNING HANDLER [Stop supervisor.] *********************************************
changed: [localhost] => {"changed": true, "name": "supervisord", "state": "stopped", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:11:46 UTC", "ActiveEnterTimestampMonotonic": "3041537119", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "nss-user-lookup.target system.slice basic.target systemd-journald.socket rc-local.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:11:46 UTC", "AssertTimestampMonotonic": "3041416003", "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": "Thu 2021-01-07 02:11:46 UTC", "ConditionTimestampMonotonic": "3041416002", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/supervisord.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "25597", "ExecMainStartTimestamp": "Thu 2021-01-07 02:11:46 UTC", "ExecMainStartTimestampMonotonic": "3041537068", "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", "InactiveExitTimestamp": "Thu 2021-01-07 02:11:46 UTC", "InactiveExitTimestampMonotonic": "3041422204", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25597", "MemoryAccounting": "no", "MemoryCurrent": "1414615040", "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 system.slice", "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": "22", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2021-01-07 02:11:46 UTC", "WatchdogTimestampMonotonic": "3041537094", "WatchdogUSec": "0"}}
RUNNING HANDLER [Wait for supervisor to stop.] *********************************
ok: [localhost] => {"attempts": 1, "changed": false, "stat": {"exists": false}}
RUNNING HANDLER [Start supervisor.] ********************************************
changed: [localhost] => {"changed": true, "name": "supervisord", "state": "started", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:11:46 UTC", "ActiveEnterTimestampMonotonic": "3041537119", "ActiveExitTimestamp": "Thu 2021-01-07 02:12:14 UTC", "ActiveExitTimestampMonotonic": "3069333652", "ActiveState": "failed", "After": "nss-user-lookup.target system.slice basic.target systemd-journald.socket rc-local.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:11:46 UTC", "AssertTimestampMonotonic": "3041416003", "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": "Thu 2021-01-07 02:11:46 UTC", "ConditionTimestampMonotonic": "3041416002", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Process Monitoring and Control Daemon", "DevicePolicy": "auto", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2021-01-07 02:12:14 UTC", "ExecMainExitTimestampMonotonic": "3069440222", "ExecMainPID": "25597", "ExecMainStartTimestamp": "Thu 2021-01-07 02:11:46 UTC", "ExecMainStartTimestampMonotonic": "3041537068", "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": "Thu 2021-01-07 02:13:44 UTC", "InactiveEnterTimestampMonotonic": "3159672477", "InactiveExitTimestamp": "Thu 2021-01-07 02:11:46 UTC", "InactiveExitTimestampMonotonic": "3041422204", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "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 system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "timeout", "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": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
RUNNING HANDLER [restart nginx] ************************************************
changed: [localhost] => {"changed": true, "name": "nginx", "state": "started", "status": {"ActiveEnterTimestamp": "Thu 2021-01-07 02:11:54 UTC", "ActiveEnterTimestampMonotonic": "3050158298", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket nss-lookup.target basic.target system.slice -.mount tmp.mount network.target remote-fs.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2021-01-07 02:11:54 UTC", "AssertTimestampMonotonic": "3050044075", "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": "Thu 2021-01-07 02:11:54 UTC", "ConditionTimestampMonotonic": "3050044074", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/nginx.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "The nginx HTTP and reverse proxy server", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "26031", "ExecMainStartTimestamp": "Thu 2021-01-07 02:11:54 UTC", "ExecMainStartTimestampMonotonic": "3050158217", "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=[Thu 2021-01-07 02:11:54 UTC] ; stop_time=[Thu 2021-01-07 02:11:54 UTC] ; pid=26029 ; code=exited ; status=0 }", "ExecStartPre": "{ path=/usr/sbin/nginx ; argv[]=/usr/sbin/nginx -t ; ignore_errors=no ; start_time=[Thu 2021-01-07 02:11:54 UTC] ; stop_time=[Thu 2021-01-07 02:11:54 UTC] ; pid=26026 ; code=exited ; status=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", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2021-01-07 02:11:54 UTC", "InactiveExitTimestampMonotonic": "3050054454", "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": "14967", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14967", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "26031", "MemoryAccounting": "no", "MemoryCurrent": "2576384", "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": "basic.target system.slice -.mount", "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", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "3", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "5s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "forking", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0"}}
PLAY [Install Tower isolated node(s)] ******************************************
skipping: no hosts matched
PLAY RECAP *********************************************************************
localhost : ok=152 changed=80 unreachable=0 failed=0 skipped=82 rescued=0 ignored=3
The setup process completed successfully.
Setup log saved to /var/log/tower/setup-2021-01-07-02:05:26.log
使用浏览器进行确认
8. 授权许可的批准
请使用用户名和密码登录:
– 用户名: admin
– 密码: redhat