I hereby claim:
- I am maxamillion on github.
- I am maxamillion (https://keybase.io/maxamillion) on keybase.
- I have a public key whose fingerprint is 057A 09D9 E5B1 F1E8 19DC 0B49 3911 1BEF 655D DEDD
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
#NOTES:
#NOTES:
This is meant to be an evolution of the old Bring Your Own Host document that has been retired upstream. The aim is to be a simple step by step guide for setting up a multi host environment
Example inventory we will be working from can be found upstream here.
| {% set results = {} %} | |
| {% for fact in ansible_facts %} | |
| {% if ansible_facts[fact] is mapping and 'pciid' in ansible_facts[fact] %} | |
| {% set x=results.__setitem__(ansible_facts[fact]['pciid'], ansible_facts[fact]['device']) %} | |
| {% endif %} | |
| {% endfor %} | |
| {{ results|to_json}} |
| { | |
| "_meta": { | |
| "hostvars": { | |
| "104.196.66.112": { | |
| "cpuPlatform": "Intel Haswell", | |
| "creationTimestamp": "2017-11-02T15:56:44.318-07:00", | |
| "deletionProtection": true, | |
| "disks": [ | |
| { | |
| "autoDelete": true, |
| #!/usr/bin/python3 | |
| import dnf | |
| base = dnf.Base() | |
| base.conf.read() | |
| base.read_all_repos() | |
| #base.init_plugins() | |
| #base.pre_configure_plugins() | |
| #base.configure_plugins() | |
| base.fill_sack() | |
| base.read_comps() |
| # Hacks to work around the broken installer and incompatible bundled rpms | |
| mkdir /media/cdrom | |
| mount -o loop ~/QRadarCE7_3_1.GA.iso /media/cdrom | |
| mkdir /tmp/qradar-7.6 | |
| cp -R /media/cdrom/* /tmp/qradar-7.6 | |
| sed -i 's/release 7.5/release 7.6/g' /tmp/qradar-7.6/inc/setup.funcs | |
| cat >/etc/yum/pluginconf.d/priorities.conf <<EOF | |
| [main] |
| INVENTORY.TXT | |
| [snort] | |
| 40.121.40.224 | |
| 168.62.170.199 | |
| [qradar] | |
| #ec2-34-217-52-111.us-west-2.compute.amazonaws.com | |
| 13.90.249.151 |