Skip to content

Installing rabbitmq-server on ohpc node

In group_vars/all, I leave password blank.

When running playbook, you can

  1. put your password in group_vars/all before you run the playbook. Or,
  2. pass in with arguments like this: --extra-vars rabbitmq_user_password="YoUrPasSwOrd"

The command in packer build.json should be something like this:

   {
    "type": "shell",
    "inline": [
      "sudo ansible-playbook -c local -i /CRI_XCBC/hosts -l `hostname -s` /CRI_XCBC/site-build.yaml -b --extra-vars rabbitmq_user_password='YoUrPasSwOrd'"
    ]
   }

Merge request reports

Loading