Hi Anfield,

i had the same problem, i found out that the text editor i used used the 
wrong type of apostrophe around the passwords i had entered. if you copy 
the completely verticle apostrophe tick from one of the other variables and 
replace them it works just fine!

hope this helps,

Alex

On Thursday, June 8, 2017 at 11:13:45 AM UTC-7, Anfield wrote:
>
> The Installation seems to fail at the create the rabbit mq user step (last 
> step)
>
> - Using root
> - Put passwords into inventory as the readme states.
> Am i missing something?
>
>
>
>
>
> [root@localhost ansible-tower-setup-3.1.3]# ./setup.sh
> Using /etc/ansible/ansible.cfg as config file
>
> PLAY [tower:database] 
> **********************************************************
>
> TASK [check_config_static : Ensure expected variables are defined] 
> *************
> skipping: [localhost] => (item=tower_package_name)  => {"changed": false, 
> "item": "tower_package_name", "skip_reason": "Conditional check           
> failed", "skipped": true}
> skipping: [localhost] => (item=tower_package_version)  => {"changed": 
> false, "item": "tower_package_version", "skip_reason": "Conditional         
>   check failed", "skipped": true}
> skipping: [localhost] => (item=tower_package_release)  => {"changed": 
> false, "item": "tower_package_release", "skip_reason": "Conditional         
>   check failed", "skipped": true}
>
> TASK [check_config_static : Ensure at least one tower host is defined] 
> *********
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : Ensure only one database host exists] 
> **************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : Ensure when postgres host is defined that the 
> port is defined] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : Ensure that when a database host is specified, 
> that pg_host is defined] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : Ensure that when a database host is specified, 
> that pg_port is defined] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : HA mode requires an external postgres database 
> with pg_host defined] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [check_config_static : HA mode requires an external postgres database 
> with pg_port defined] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> 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.003163", "end": "2017-06-08 14:07:45.643568", "rc": 0, "s         
>  tart": "2017-06-08 14:07:45.640405", "stderr": "", "stdout": "0", 
> "stdout_lines": ["0"], "warnings": []}
>
> TASK [config_dynamic : Ensure user is root] 
> ************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> PLAY [Group nodes by OS distribution] 
> ******************************************
>
> TASK [setup] 
> *******************************************************************
> ok: [localhost]
>
> TASK [group hosts by distribution] 
> *********************************************
> ok: [localhost] => {"add_group": "CentOS-7.2.1511", "changed": false}
>
> PLAY [Group supported distributions] 
> *******************************************
>
> TASK [group hosts for supported distributions] 
> *********************************
> ok: [localhost] => {"add_group": "supported", "changed": false}
>
> PLAY [Ensure all node OS distributions are supported] 
> **************************
> skipping: no hosts matched
>
> PLAY [Define role discovered variables, usable throughout the playbook] 
> ********
>
> TASK [postgres : include] 
> ******************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/postgres/tasks/vars.yml for 
> localhost
>
> TASK [postgres : include_vars] 
> *************************************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/postgres/templates/../vars/RedHat-7.yml)
>  
> => {"ansible_facts": {"pg_conf_dir"          : "/var/lib/pgsql/9.4/data", 
> "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": 
> "{{ pg_conf_dir }}/pg_hba.conf",           "pg_initdb_command": 
> "/usr/pgsql-9.4/bin/postgresql94-setup initdb", "postgres_init_name": 
> "postgresql-9.4"}, "item": "/tmp/ansible-tower-         
>  setup-3.1.3/roles/postgres/templates/../vars/RedHat-7.yml"}
>
> TASK [postgres : include] 
> ******************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : include] 
> ******************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [nginx : include] 
> *********************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/nginx/tasks/vars.yml for 
> localhost
>
> TASK [nginx : include_vars] 
> ****************************************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/nginx/templates/../vars/default.yml)
>  
> => {"ansible_facts": {"httpd_init_name"          : "httpd", 
> "nginx_init_name": "nginx", "nginx_user": "www-data"}, "item": 
> "/tmp/ansible-tower-setup-3.1.3/roles/nginx/templates/../vars/de         
>  fault.yml"}
>
> TASK [nginx : include] 
> *********************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [supervisor : include] 
> ****************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/supervisor/tasks/vars.yml 
> for localhost
>
> TASK [supervisor : include supervisor variables] 
> *******************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/supervisor/templates/../vars/RedHat-7.yml)
>  
> => {"ansible_facts": {"sup_celery          _add_lang": false, 
> "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": 
> "supervisord", "sup_socket_location": "/var/run/s         
>  upervisor/supervisor.sock"}, "item": 
> "/tmp/ansible-tower-setup-3.1.3/roles/supervisor/templates/../vars/RedHat-7.yml"}
>
> TASK [supervisor : include] 
> ****************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [awx_install : include] 
> ***************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/awx_install/tasks/vars.yml 
> for localhost
>
> TASK [awx_install : include_vars] 
> **********************************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/awx_install/templates/../../supervisor/vars/RedHat-7.yml)
>  
> => {"ansible_facts          ": {"sup_celery_add_lang": false, 
> "sup_conf_location": "/etc/supervisord.d/tower.ini", "sup_init_name": 
> "supervisord", "sup_socket_locatio          n": 
> "/var/run/supervisor/supervisor.sock"}, "item": 
> "/tmp/ansible-tower-setup-3.1.3/roles/awx_install/templates/../../supervisor/vars/RedH
>  
>          at-7.yml"}
>
> TASK [awx_install : include] 
> ***************************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> PLAY [Sanity check and prep Tower node(s)] 
> *************************************
>
> TASK [preflight : Preflight check - require new enough Ansible] 
> ****************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - Fail if this machine lacks sufficient 
> RAM.]
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - Get umask] 
> *********************************
> ok: [localhost] => {"changed": false, "cmd": "umask", "delta": 
> "0:00:00.002868", "end": "2017-06-08 14:07:47.264204", "rc": 0, "start": "2 
>          017-06-08 14:07:47.261336", "stderr": "", "stdout": "0022", 
> "stdout_lines": ["0022"], "warnings": []}
>
> TASK [preflight : Preflight check - Get Hard Max FD limit] 
> *********************
> ok: [localhost] => {"changed": false, "cmd": "ulimit -H -n", "delta": 
> "0:00:00.002949", "end": "2017-06-08 14:07:47.404729", "rc": 0, "sta       
>    rt": "2017-06-08 14:07:47.401780", "stderr": "", "stdout": "4096", 
> "stdout_lines": ["4096"], "warnings": []}
>
> TASK [preflight : Preflight check - Does the system have a standard 
> umask?] ****
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - Verify minimum open fds] 
> *******************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Determine which mountpoint /var exists on] 
> *******************
> ok: [localhost] => {"changed": false, "cmd": "df /var | tail -n1 | awk 
> '{print $NF}'", "delta": "0:00:00.014594", "end": "2017-06-08 14:07         
>  :47.661971", "rc": 0, "start": "2017-06-08 14:07:47.647377", "stderr": "", 
> "stdout": "/", "stdout_lines": ["/"], "warnings": []}
>
> TASK [preflight : Preflight check - Does /var meet minimum disk space 
> requirement] ***
> skipping: [localhost] => (item={u'uuid': 
> u'adc15a20-0d6b-44c4-b0c0-77959ddef93a', u'size_total': 29733576704, 
> u'mount': u'/', u'size_avail          able': 21594279936, u'fstype': 
> u'xfs', u'device': u'/dev/sda3', u'options': 
> u'rw,seclabel,relatime,attr2,inode64,noquota'})  => {"changed"          : 
> false, "item": {"device": "/dev/sda3", "fstype": "xfs", "mount": "/", 
> "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size_ava         
>  ilable": 21594279936, "size_total": 29733576704, "uuid": 
> "adc15a20-0d6b-44c4-b0c0-77959ddef93a"}, "skip_reason": "Conditional check 
> failed          ", "skipped": true}
> skipping: [localhost] => (item={u'uuid': 
> u'480598c5-90cf-420f-a59e-c80709027cfb', u'size_total': 311078912, 
> u'mount': u'/boot', u'size_ava          ilable': 160616448, u'fstype': 
> u'xfs', u'device': u'/dev/sda1', u'options': 
> u'rw,seclabel,relatime,attr2,inode64,noquota'})  => {"changed"          : 
> false, "item": {"device": "/dev/sda1", "fstype": "xfs", "mount": "/boot", 
> "options": "rw,seclabel,relatime,attr2,inode64,noquota", "size         
>  _available": 160616448, "size_total": 311078912, "uuid": 
> "480598c5-90cf-420f-a59e-c80709027cfb"}, "skip_reason": "Conditional check 
> failed          ", "skipped": true}
>
> TASK [preflight : Preflight check - Get /var/log permissions] 
> ******************
> ok: [localhost] => {"changed": false, "stat": {"atime": 
> 1496679782.0155368, "ctime": 1496944239.7456892, "dev": 2051, "exists": 
> true, "gid          ": 0, "gr_name": "root", "inode": 1620, "isblk": false, 
> "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": 
> false, "i          sreg": false, "issock": false, "isuid": false, "mode": 
> "0755", "mtime": 1496944239.7456892, "nlink": 24, "path": "/var/log", 
> "pw_name": "r          oot", "rgrp": true, "roth": true, "rusr": true, 
> "size": 4096, "uid": 0, "wgrp": false, "woth": false, "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 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - Read in tower version] 
> *********************
> fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": 
> "file not found: /var/lib/awx/.tower_version"}
> ...ignoring
>
> TASK [preflight : Preflight check - Detect unsupported HA inventory file] 
> ******
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - User must be on Tower 3.0.x to upgrade 
> to 3.1.x] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - Passwords must be defined for a fresh 
> install] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [preflight : Preflight check - rabbitmq_password must be defined] 
> *********
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [migrations : Check Tower version for supervisor configuration] 
> ***********
> fatal: [localhost]: FAILED! => {"changed": false, "cmd": "cat 
> /var/lib/awx/.tower_version", "delta": "0:00:00.003434", "end": "2017-06-08 
>           14:07:48.621471", "failed": true, "rc": 1, "start": "2017-06-08 
> 14:07:48.618037", "stderr": "cat: /var/lib/awx/.tower_version: No such fil 
>          e or directory", "stdout": "", "stdout_lines": [], "warnings": []}
> ...ignoring
>
> TASK [migrations : Stop httpd if tower is installed] 
> ***************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [migrations : Stop httpd under its old name if needed] 
> ********************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [migrations : Stop and disable prior versions of httpd] 
> *******************
>
> PLAY [Install postgres database node] 
> ******************************************
> skipping: no hosts matched
>
> PLAY [Install Tower node(s)] 
> ***************************************************
>
> TASK [packages_el : include] 
> ***************************************************
> included: 
> /tmp/ansible-tower-setup-3.1.3/roles/packages_el/tasks/install_deps.yml for 
> localhost
>
> TASK [packages_el : include_vars] 
> **********************************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/packages_el/templates/../vars/CentOS-7.yml)
>  
> => {"ansible_facts": {"el_depend          encies": "{{ el7_dependencies 
> }}", "tower_bundle_file": "tower_bundle_el7.j2", "yum_online_repo_files": 
> ["epel-7.repo", "pgdg-94-centos.re          po", "jlaska-rabbitmq.repo"], 
> "yum_repo_keys": ["RPM-GPG-KEY-EPEL-7", "RPM-GPG-KEY-PGDG-94", 
> "RPM-GPG-KEY-ansible-release", "RPM-GPG-KEY-j          laska-rabbitmq"]}, 
> "item": 
> "/tmp/ansible-tower-setup-3.1.3/roles/packages_el/templates/../vars/CentOS-7.yml"}
>
> TASK [packages_el : Install playbook dependencies] 
> *****************************
> ok: [localhost] => (item=[u'python-psycopg2', u'python-setuptools', 
> u'libselinux-python', u'setools-libs', u'yum-utils', u'sudo', u'acl'])     
>       => {"changed": false, "item": ["python-psycopg2", 
> "python-setuptools", "libselinux-python", "setools-libs", "yum-utils", 
> "sudo", "acl"],           "msg": "", "rc": 0, "results": 
> ["python-psycopg2-2.5.1-3.el7.x86_64 providing python-psycopg2 is already 
> installed", "python-setuptools-0.          9.8-4.el7.noarch providing 
> python-setuptools is already installed", 
> "libselinux-python-2.2.2-6.el7.x86_64 providing libselinux-python is a     
>      lready installed", "setools-libs-3.3.7-46.el7.x86_64 providing 
> setools-libs is already installed", "yum-utils-1.1.31-34.el7.noarch providi 
>          ng yum-utils is already installed", "sudo-1.8.6p7-16.el7.x86_64 
> providing sudo is already installed", "acl-2.2.51-12.el7.x86_64 providing   
>         acl is already installed"]}
>
> TASK [packages_el : Install yum repositories] 
> **********************************
> ok: [localhost] => (item=epel-7.repo) => {"changed": false, "checksum": 
> "9079878ccad2df02a308c4316316557dcddc8053", "dest": "/etc/yum.repo         
>  s.d/epel-7.repo", "gid": 0, "group": "root", "item": "epel-7.repo", 
> "mode": "0644", "owner": "root", "path": "/etc/yum.repos.d/epel-7.repo     
>      ", "secontext": "system_u:object_r:system_conf_t:s0", "size": 624, 
> "state": "file", "uid": 0}
> ok: [localhost] => (item=pgdg-94-centos.repo) => {"changed": false, 
> "checksum": "f9402f703129b9838b767993ca07bb9d59d8b7a9", "dest": "/etc/     
>      yum.repos.d/pgdg-94-centos.repo", "gid": 0, "group": "root", "item": 
> "pgdg-94-centos.repo", "mode": "0644", "owner": "root", "path": "/etc       
>    /yum.repos.d/pgdg-94-centos.repo", "secontext": 
> "system_u:object_r:system_conf_t:s0", "size": 440, "state": "file", "uid": 
> 0}
> ok: [localhost] => (item=jlaska-rabbitmq.repo) => {"changed": false, 
> "checksum": "f3c639e8c7472aee7b15d20e08c03b5ab428f9ac", "dest": "/etc       
>    /yum.repos.d/jlaska-rabbitmq.repo", "gid": 0, "group": "root", "item": 
> "jlaska-rabbitmq.repo", "mode": "0644", "owner": "root", "path": "/         
>  etc/yum.repos.d/jlaska-rabbitmq.repo", "secontext": 
> "system_u:object_r:system_conf_t:s0", "size": 299, "state": "file", "uid": 
> 0}
>
> TASK [packages_el : Install yum repo keys] 
> *************************************
> ok: [localhost] => (item=RPM-GPG-KEY-EPEL-7) => {"changed": false, 
> "checksum": "491dc189ad1ceccb3b03277e88eb939dd238d32c", "dest": "/etc/p     
>      ki/rpm-gpg/RPM-GPG-KEY-EPEL-7", "gid": 0, "group": "root", "item": 
> "RPM-GPG-KEY-EPEL-7", "mode": "0644", "owner": "root", "path": "/etc/pk     
>      i/rpm-gpg/RPM-GPG-KEY-EPEL-7", "secontext": 
> "system_u:object_r:cert_t:s0", "size": 1662, "state": "file", "uid": 0}
> ok: [localhost] => (item=RPM-GPG-KEY-PGDG-94) => {"changed": false, 
> "checksum": "fd0e604c59df16f951a847d269f12818786a930c", "dest": "/etc/     
>      pki/rpm-gpg/RPM-GPG-KEY-PGDG-94", "gid": 0, "group": "root", "item": 
> "RPM-GPG-KEY-PGDG-94", "mode": "0644", "owner": "root", "path": "/etc       
>    /pki/rpm-gpg/RPM-GPG-KEY-PGDG-94", "secontext": 
> "system_u:object_r:cert_t:s0", "size": 1726, "state": "file", "uid": 0}
> ok: [localhost] => (item=RPM-GPG-KEY-ansible-release) => {"changed": 
> false, "checksum": "3f6935054f3c035f5c051010c68c2e22969230fa", "dest"       
>    : "/etc/pki/rpm-gpg/RPM-GPG-KEY-ansible-release", "gid": 0, "group": 
> "root", "item": "RPM-GPG-KEY-ansible-release", "mode": "0644", "owner       
>    ": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-ansible-release", 
> "secontext": "system_u:object_r:cert_t:s0", "size": 3130, "state": "fil     
>      e", "uid": 0}
> ok: [localhost] => (item=RPM-GPG-KEY-jlaska-rabbitmq) => {"changed": 
> false, "checksum": "b825cf6d0a665a60a51e057b1d28d60cbbc7b13b", "dest"       
>    : "/etc/pki/rpm-gpg/RPM-GPG-KEY-jlaska-rabbitmq", "gid": 0, "group": 
> "root", "item": "RPM-GPG-KEY-jlaska-rabbitmq", "mode": "0644", "owner       
>    ": "root", "path": "/etc/pki/rpm-gpg/RPM-GPG-KEY-jlaska-rabbitmq", 
> "secontext": "system_u:object_r:cert_t:s0", "size": 987, "state": "file     
>      ", "uid": 0}
>
> TASK [packages_el : Install yum repos that arrive via release packages] 
> ********
>
> TASK [packages_el : Determine if AWS rhui repository exists] 
> *******************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Update rh-amazon-rhui-client (RHEL EC2 only)] 
> **************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Enable AWS rhui repositories] 
> ******************************
>
> TASK [packages_el : Determine if rhui repository exists] 
> ***********************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Enable rhui repositories] 
> **********************************
>
> TASK [packages_el : Determine if rhsm repository exists] 
> ***********************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Determine if rhsm system cert exists] 
> **********************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Enable rhsm repositories] 
> **********************************
>
> TASK [packages_el : Determine if Oracle Linux repository exists] 
> ***************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Enable Oracle repositories] 
> ********************************
>
> TASK [packages_el : Remove old bundle packages source directory] 
> ***************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Copy bundle packages to repo source directory] 
> *************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Install the Tower bundle repository] 
> ***********************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Set bundle repo to enable] 
> *********************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : include] 
> ***************************************************
> included: 
> /tmp/ansible-tower-setup-3.1.3/roles/packages_el/tasks/install_tower.yml 
> for localhost
>
> TASK [packages_el : Check for custom ui logo] 
> **********************************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Check for custom ui settings] 
> ******************************
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [packages_el : Move away custom ui logo] 
> **********************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Move away custom ui settings] 
> ******************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_el : Install the Tower yum repository.] 
> *************************
> ok: [localhost] => {"changed": false, "gid": 0, "group": "root", "mode": 
> "0644", "owner": "root", "path": "/etc/yum.repos.d/ansible-tower.         
>  repo", "secontext": "system_u:object_r:system_conf_t:s0", "size": 222, 
> "state": "file", "uid": 0}
>
> TASK [packages_el : Set online repo to enable] 
> *********************************
> ok: [localhost] => {"ansible_facts": {"tower_enable_repo": 
> "ansible-tower"}, "changed": false}
>
> TASK [packages_el : Install the Tower RPM.] 
> ************************************
> ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": ["All 
> packages providing ansible-tower == 3.1.3 are up to date", ""]}
>
> TASK [packages_el : include] 
> ***************************************************
> included: 
> /tmp/ansible-tower-setup-3.1.3/roles/packages_el/tasks/install_postgres.yml 
> for localhost
>
> TASK [packages_el : Install postgres] 
> ******************************************
> ok: [localhost] => {"changed": false, "msg": "", "rc": 0, "results": 
> ["postgresql94-server-9.4.12-1PGDG.rhel7.x86_64 providing postgresql9       
>    4-server is already installed"]}
>
> TASK [packages_ubuntu : include] 
> ***********************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_ubuntu : include] 
> ***********************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [packages_ubuntu : include] 
> ***********************************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : include] 
> ******************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/postgres/tasks/vars.yml for 
> localhost
>
> TASK [postgres : include_vars] 
> *************************************************
> ok: [localhost] => 
> (item=/tmp/ansible-tower-setup-3.1.3/roles/postgres/templates/../vars/RedHat-7.yml)
>  
> => {"ansible_facts": {"pg_conf_dir"          : "/var/lib/pgsql/9.4/data", 
> "pg_conf_location": "{{ pg_conf_dir }}/postgresql.conf", "pg_hba_location": 
> "{{ pg_conf_dir }}/pg_hba.conf",           "pg_initdb_command": 
> "/usr/pgsql-9.4/bin/postgresql94-setup initdb", "postgres_init_name": 
> "postgresql-9.4"}, "item": "/tmp/ansible-tower-         
>  setup-3.1.3/roles/postgres/templates/../vars/RedHat-7.yml"}
>
> TASK [postgres : include] 
> ******************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/postgres/tasks/init.yml for 
> localhost
>
> TASK [postgres : init postgresql (el-only)] 
> ************************************
> ok: [localhost] => {"changed": false, "cmd": 
> "/usr/pgsql-9.4/bin/postgresql94-setup initdb", "rc": 0, "stderr": false, 
> "stdout": "skipped,           since /var/lib/pgsql/9.4/data/PG_VERSION 
> exists", "stdout_lines": ["skipped, since 
> /var/lib/pgsql/9.4/data/PG_VERSION exists"]}
>
> TASK [postgres : Make sure PostgreSQL is started] 
> ******************************
> ok: [localhost] => {"changed": false, "name": "postgresql-9.4", "state": 
> "started"}
>
> TASK [postgres : Wait for PostgreSQL to start if it wasnt] 
> *********************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : Check for the presence of a database backup that needs to 
> be restored] ***
> ok: [localhost] => {"changed": false, "stat": {"exists": false}}
>
> TASK [postgres : Restore database backup if we created a dump in the 
> migrate_postgres role] ***
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : Remove the Postgres data backup] 
> ******************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : Remove the Postgres data backup directory] 
> ********************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : include] 
> ******************************************************
> included: /tmp/ansible-tower-setup-3.1.3/roles/postgres/tasks/conf.yml for 
> localhost
>
> TASK [postgres : Update postgresql authentication settings] 
> ********************
> ok: [localhost] => {"changed": false, "gid": 26, "group": "postgres", 
> "mode": "0600", "owner": "postgres", "path": "/var/lib/pgsql/9.4/dat       
>    a/pg_hba.conf", "secontext": "unconfined_u:object_r:postgresql_db_t:s0", 
> "size": 451, "state": "file", "uid": 26}
>
> TASK [postgres : Apply postgresql general settings] 
> ****************************
> ok: [localhost] => {"changed": false, "gid": 26, "group": "postgres", 
> "mode": "0600", "owner": "postgres", "path": "/var/lib/pgsql/9.4/dat       
>    a/postgresql.conf", "secontext": 
> "unconfined_u:object_r:postgresql_db_t:s0", "size": 3222, "state": "file", 
> "uid": 26}
>
> TASK [postgres : Create unix socket directory] 
> *********************************
> ok: [localhost] => {"changed": false, "gid": 26, "group": "postgres", 
> "mode": "02775", "owner": "postgres", "path": "/var/run/postgresql",       
>     "secontext": "system_u:object_r:postgresql_var_run_t:s0", "size": 80, 
> "state": "directory", "uid": 26}
>
> TASK [postgres : Configure postgresql tmpfiles.d] 
> ******************************
> ok: [localhost] => {"changed": false, "gid": 0, "group": "root", "mode": 
> "0644", "owner": "root", "path": "/usr/lib/tmpfiles.d/postgresql.         
>  conf", "secontext": "system_u:object_r:lib_t:s0", "size": 47, "state": 
> "file", "uid": 0}
>
> TASK [postgres : restart postgresql when authentication settings changed] 
> ******
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : wait for postgresql restart] 
> **********************************
> skipping: [localhost] => {"changed": false, "skip_reason": "Conditional 
> check failed", "skipped": true}
>
> TASK [postgres : configure postgresql to start automatically] 
> ******************
> ok: [localhost] => {"changed": false, "enabled": true, "name": 
> "postgresql-9.4"}
>
> TASK [postgres : create the postgres user and set the password] 
> ****************
> changed: [localhost] => {"censored": "the output has been hidden due to 
> the fact that 'no_log: true' was specified for this result"}
>
> TASK [postgres : create the postgresql database for awx] 
> ***********************
> ok: [localhost] => {"changed": false, "db": "awx"}
>
> TASK [firewall : Determine if firewalld is running] 
> ****************************
> ok: [localhost] => {"changed": false, "cmd": ["firewall-cmd", "--state"], 
> "delta": "0:00:00.403705", "end": "2017-06-08 14:08:06.148676",           
> "failed": false, "failed_when_result": false, "rc": 0, "start": "2017-06-08 
> 14:08:05.744971", "stderr": "", "stdout": "running", "stdout_l         
>  ines": ["running"], "warnings": []}
>
> TASK [firewall : Determine if firewalld is enabled] 
> ****************************
> ok: [localhost] => {"changed": false, "cmd": ["systemctl", 
> "list-unit-files"], "delta": "0:00:00.673841", "end": "2017-06-08 
> 14:08:07.0188          82", "rc": 0, "start": "2017-06-08 14:08:06.345041", 
> "stderr": "", "stdout": "UNIT FILE                                   STATE 
>   \nproc-s          ys-fs-binfmt_misc.automount           static 
>  \ndev-hugepages.mount                         static  \ndev-mqueue.mount   
>                                    static  \nproc-fs-nfsd.mount             
>              static  \nproc-sys-fs-binfmt_misc.mount               static 
>  \nsys-fs-fuse-          connections.mount               static 
>  \nsys-kernel-config.mount                     static 
>  \nsys-kernel-debug.mount                                static 
>  \ntmp.mount                                   
> disabled\nvar-lib-nfs-rpc_pipefs.mount                static 
>  \nbrandbot.path                                         
> disabled\ncups.path                                   enabled 
> \nsystemd-ask-password-console.path           stat          ic 
>  \nsystemd-ask-password-plymouth.path          static 
>  \nsystemd-ask-password-wall.path              static  \nsession-2.scope   
>                                     static  \nsession-37.scope             
>                static  \nsession-c9.scope                            static 
>  \n          abrt-ccpp.service                           enabled 
> \nabrt-oops.service                           enabled 
> \nabrt-pstoreoops.service                               
> disabled\nabrt-vmcore.service                         enabled 
> \nabrt-xorg.service                           enabled \nabrtd.         
>  service                               enabled \naccounts-daemon.service   
>                   enabled \nalsa-restore.service                           
>        static  \nalsa-state.service                          static 
>  \nalsa-store.service                          static  \nanaconda-dir       
>    ect.service                     static  \nanaconda-nm-config.service     
>              static  \nanaconda-noshell.service                             
>  static  \nanaconda-shell@.service                     static 
>  \nanaconda-sshd.service                       static  \nanaconda-tmux@.ser 
>          vice                      static  \nanaconda.service               
>              static  \narp-ethers.service                          disa     
>      bled\natd.service                                 enabled 
> \nauditd.service                              enabled 
> \nauth-rpcgss-module.servi          ce                  static 
>  \nautofs.service                              disabled\nautovt@.service   
>                           disabled\n          avahi-daemon.service         
>                enabled \nblk-availability.service                   
>  disabled\nbluetooth.service                                     enabled 
> \nbrandbot.service                            static  \nbrltty.service     
>                          disabled\ncanber          ra-system-bootup.service 
>              disabled\ncanberra-system-shutdown-reboot.service     
> disabled\ncanberra-system-shutdown.service                     
>  disabled\ncertmonger.service                         
>  disabled\ncgconfig.service                           
>  disabled\ncgdcbxd.serv          ice                             
> disabled\ncgred.service                               
> disabled\nchrony-dnssrv@.service                                static 
>  \nchrony-wait.service                         disabled\nchronyd.service   
>                           enabled \ncolord.service                         
>                static  \nconfigure-printer@.service                  static 
>  \nconsole-getty.service                       disa         
>  bled\nconsole-shell.service                       
> disabled\ncontainer-getty@.service                    static 
>  \ncpupower.service                                     
>  disabled\ncrond.service                               enabled 
> \ncups-browsed.service                        disabled\n         
>  cups.service                                enabled 
> \ndbus-org.bluez.service                      enabled 
> \ndbus-org.fedoraproject.Firewal          lD1.service   enabled 
> \ndbus-org.freedesktop.Avahi.service          enabled 
> \ndbus-org.freedesktop.hostname1.service      static  \ndbus-o         
>  rg.freedesktop.locale1.service        static 
>  \ndbus-org.freedesktop.login1.service         static 
>  \ndbus-org.freedesktop.machine1.servic          e       static 
>  \ndbus-org.freedesktop.ModemManager1.service  enabled 
> \ndbus-org.freedesktop.network1.service       invalid \ndbus-org.fre       
>    edesktop.NetworkManager.service enabled 
> \ndbus-org.freedesktop.nm-dispatcher.service  enabled 
> \ndbus-org.freedesktop.timedate1.service                static 
>  \ndbus.service                                static 
>  \ndebug-shell.service                         disabled\
> ndisplay-manager.se          rvice                     enabled 
> \ndm-event.service                           
>  disabled\ndmraid-activation.service                   enab          led 
> \ndnsmasq.service                             
> disabled\ndracut-cmdline.service                      static 
>  \ndracut-initqueue.service                              static 
>  \ndracut-mount.service                        static 
>  \ndracut-pre-mount.service                    static  \n         
>  dracut-pre-pivot.service                    static 
>  \ndracut-pre-trigger.service                  static 
>  \ndracut-pre-udev.service                               static 
>  \ndracut-shutdown.service                     static  \nebtables.service   
>                          disabled\nemerge          ncy.service             
>               static  \nfcoe.service                               
>  disabled\nfirewalld.service                                     enabled 
> \nfirstboot-graphical.service                 disabled\nfprintd.service     
>                         static  \nfstrim.servi          ce                 
>              static  \ngdm.service                                 enabled 
> \ngeoclue.service                                       static 
>  \ngetty@.service                              enabled \ngssproxy.service   
>                          disabled\nhalt-local.service                       
>              static  \nhtcacheclean.service                        static 
>  \nhttpd.service                               disa         
>  bled\ninitial-setup-text.service                 
>  disabled\ninitrd-cleanup.service                      static 
>  \ninitrd-parse-etc.service                              static 
>  \ninitrd-switch-root.service                  static 
>  \ninitrd-udevadm-cleanup-db.service           static  \n         
>  instperf.service                            static  \niprdump.service     
>                         disabled\niprinit.service                           
>             disabled\niprupdate.service                           
> disabled\nipsec.service                               disabled\nirqbal     
>      ance.service                          enabled \niscsi-shutdown.service 
>                      static  \niscsi.service                               
>           enabled \niscsid.service                             
>  disabled\niscsiuio.service                           
>  disabled\nkdump.servic          e                               enabled 
> \nkmod-static-nodes.service                   static  \nksm.service         
>                                   enabled \nksmtuned.service               
>              enabled \nldconfig.service                            static 
>  \nlibstoragemgmt.ser          vice                      enabled 
> \nlibvirt-guests.service                      disabled\nlibvirtd.service   
>                          enab          led \nlldpad.service                 
>              disabled\nlvm2-lvmetad.service                       
>  disabled\nlvm2-lvmpolld.service                                 
> disabled\nlvm2-monitor.service                        enabled \nlv
> ...

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to ansible-project+unsubscr...@googlegroups.com.
To post to this group, send email to ansible-project@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/1b38a043-bca6-454e-8978-715b7b127855%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to