Skip to content

Commit

Permalink
DO NOT MERGE - debugging #259
Browse files Browse the repository at this point in the history
  • Loading branch information
John Mitsch committed Nov 16, 2017
1 parent aa059b6 commit 232ca07
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions roles/satellite-clone/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,10 +166,16 @@
command: satellite-installer --scenario satellite --foreman-proxy-dns false --foreman-proxy-dhcp false --foreman-proxy-tftp false --no-enable-foreman-plugin-remote-execution --no-enable-foreman-proxy-plugin-remote-execution-ssh
when: satellite_version == 6.2

- name: Check for pulp event_listeners
command: mongo pulp_database --eval "DBQuery.shellBatchSize = 10000000; db.event_listeners.find().shellPrint()"

- block:
# restore backup data
- include: restore.yml

- name: Check for pulp event_listeners
command: mongo pulp_database --eval "DBQuery.shellBatchSize = 10000000; db.event_listeners.find().shellPrint()"

- name: Restart katello-service
command: katello-service start

Expand All @@ -196,6 +202,9 @@
- name: Run installer upgrade (satellite 6.2 only)
command: satellite-installer --upgrade
when: satellite_version == 6.2

- name: Check for pulp event_listeners
command: mongo pulp_database --eval "DBQuery.shellBatchSize = 10000000; db.event_listeners.find().shellPrint()"

- name: Test Satellite
command: hammer ping
Expand Down Expand Up @@ -232,6 +241,9 @@
- name: copy disassociate_capsules.rb output
local_action: copy content={{ clone_disassociate_capsules }} dest={{ playbook_dir }}/logs/reassociate_capsules.txt

- name: Check for pulp event_listeners
command: mongo pulp_database --eval "DBQuery.shellBatchSize = 10000000; db.event_listeners.find().shellPrint()"

- debug:
msg: "****NOTE**** Your Satellite's hostname is updated to match the original Satellite
****NOTE**** Your Satellite's password is updated to changeme"
Expand Down

0 comments on commit 232ca07

Please sign in to comment.