Skip to content

Commit

Permalink
Allow multi-word activation key names
Browse files Browse the repository at this point in the history
  • Loading branch information
ehelms authored and John Mitsch committed Nov 29, 2017
1 parent 5d94c6e commit be5225d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions roles/satellite-clone/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@

# Register/subscribe the VM
- name: register host
command: subscription-manager register --force --activationkey={{ activationkey }} --org {{ org }}
command: "subscription-manager register --force --activationkey='{{ activationkey }}' --org '{{ org }}'"
when: register_to_portal
- name: disable all repos
command: subscription-manager repos --disable "*"
Expand Down Expand Up @@ -190,7 +190,7 @@
command: "/usr/share/candlepin/cpdb --update -p {{ clone_candlepin_password }}"

- name: Cleanup paused tasks
command: foreman-rake foreman_tasks:cleanup TASK_SEARCH='label ~ *' STATES='paused' VERBOSE=true AFTER='0h' VERBOSE=true
command: foreman-rake foreman_tasks:cleanup TASK_SEARCH='label ~ *' STATES='paused' VERBOSE=true AFTER='0h' VERBOSE=true
when: satellite_version == 6.2

- name: Run installer upgrade (satellite 6.2 only)
Expand Down

0 comments on commit be5225d

Please sign in to comment.