Skip to content

Commit

Permalink
Remove jmx.conf before first installer run
Browse files Browse the repository at this point in the history
Fixes #336
  • Loading branch information
John Mitsch committed Jul 26, 2018
1 parent 6fc5225 commit 2ecf359
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions roles/satellite-clone/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,12 @@
path: /var/lib/candlepin/cpdb_done
state: absent

# jmx.conf can cause issues when re-running the installer later in the playbook
- name: Remove jmx.conf file
file:
state: absent
path: /etc/tomcat/conf.d/jmx.conf

- name: Run Satellite installer
environment:
HOSTNAME: "{{ hostname }}"
Expand All @@ -215,12 +221,6 @@
- name: Wait for foreman-tasks service to start
command: sleep 300

# jmx.conf can cause issues when re-running the installer later in the playbook
- name: Remove jmx.conf file
file:
state: absent
path: /etc/tomcat/conf.d/jmx.conf

- name: Get candlepin credentials
command: sed -n -e 's/^.*myDS.password=//p' /etc/candlepin/candlepin.conf
register: candlepin_password
Expand Down

0 comments on commit 2ecf359

Please # to comment.