So, I'll say it now in full, and only if these EXACT conditions apply:
- If you followed the guide, and your config is something like (please notice
masternodeaddr=):
rpcport=21527
port=21526
masternodeaddr=IP:21527| #!/bin/bash | |
| RELEASEFILE="https://github.com/Znuff/qbic/releases/download/v1.1.1/qbicd-linux64-v1.1.1.tar.gz" | |
| daemon="qbicd" | |
| cli="qbic-cli" | |
| stopcli="stop" | |
| # environment setup, make it pretty | |
| tred=$(tput setaf 1) |
So, I'll say it now in full, and only if these EXACT conditions apply:
masternodeaddr=):rpcport=21527
port=21526
masternodeaddr=IP:21527| node# cat myuuid.fact | |
| "e48aeb68-ebb7-4e53-971d-0b4b59d242c4" | |
| --- | |
| master# ansible cloudini-hosts -m setup -a "filter=ansible_local" | |
| bu-x40092.appnor.net | SUCCESS => { | |
| "ansible_facts": { | |
| "ansible_local": { |
| --- | |
| - name: uuidgen for libvirtd config | |
| hosts: cloudini-hosts | |
| gather_facts: True | |
| # facts.d will automatically be read, so that myuuidgen will be populated if it is defined | |
| tasks: | |
| - name: create directory for ansible custom facts | |
| file: state=directory recurse=yes path=/etc/ansible/facts.d | |
| - name: run uuidgen if necessary |
| --- | |
| - name: uuidgen for libvirtd config | |
| hosts: cloudini-hosts | |
| gather_facts: True | |
| # facts.d will automatically be read, so that myuuidgen will be populated if it is defined | |
| tasks: | |
| - name: create directory for ansible custom facts | |
| file: state=directory recurse=yes path=/etc/ansible/facts.d | |
| - name: run uuidgen if necessary |
| --- | |
| - name: uuidgen for libvirtd config | |
| hosts: cloudini-hosts | |
| gather_facts: True | |
| # facts.d will automatically be read, so that myuuidgen will be populated if it is defined | |
| tasks: | |
| - name: create directory for ansible custom facts | |
| file: state=directory recurse=yes path=/etc/ansible/facts.d | |
| - name: run uuidgen if necessary |