Skip to content

Commit

Permalink
Merge pull request #26 from sean-m-sullivan/ocp_testing
Browse files Browse the repository at this point in the history
Updated to remove become and a python env
  • Loading branch information
sean-m-sullivan authored Dec 18, 2020
2 parents d240b7b + f8b1d6c commit 04e0aff
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions roles/install_ocp/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,9 @@ tower_ocp_setup_file: ansible-tower-openshift-setup-{{ tower_release_version }}.
tower_admin_user: "admin"
tower_admin_password: "password"

# Tower Install Verbosity
tower_verbose_install: false

# Tower secret key
tower_secret_key: "mysecret"

Expand Down
4 changes: 2 additions & 2 deletions roles/install_ocp/tasks/install_ocp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@

# Run the Setup
- name: "[Tower] Run the Ansible Tower Setup Program"
become: true
command: ./setup_openshift.sh -e "openshift_token={{ openshift_token }}"
command: |
./setup_openshift.sh -e "openshift_token={{ openshift_token }}" {% if tower_verbose_install %}-- -vvv{% endif %}
args:
chdir: "{{ tower_setup_dir }}"
async: 10000
Expand Down
2 changes: 1 addition & 1 deletion roles/install_ocp/templates/inventory.j2
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
localhost ansible_connection=local ansible_python_interpreter="/usr/bin/env python"
localhost ansible_connection=local

[all:vars]

Expand Down

0 comments on commit 04e0aff

Please sign in to comment.