u/Busy-Examination1148

rh insights

I am working on a role to install and configure rh insights, but I can't tell if the collection from the automation hub is deprecated and I should use the rhc from galaxy. How is everyone you going about this?

Thanks!

reddit.com
u/Busy-Examination1148 — 11 days ago
▲ 16 r/ansible

Patching with ansible

For those of you that are red hat shops and use satellite on prem, how do you determine what servers get patched?

​

Do you have host groups set up?

Are you using host collections?

​

reddit.com
u/Busy-Examination1148 — 20 days ago

Creating new Virtual Machines

I am working on a task in my vmware role that will create new virtual machines from a template and I'm curious to know what anyone else has done. Right now my research has led to do this:

---
- name: Create Virtual Machine From Content Library Template
  vmware.vmware.deploy_content_library_template:
    hostname: "{{ vmwre_hostname }}"
    username: "{{ lookup('env', 'VMWARE_USER') }}"
    password: "{{ lookup('env', 'VMWARE_PASSWORD') }}"
    library_item_name: "{{ vm_template }}"
    library_name: mylibrary
    vm_name: "{{ vm_name }}"
    datacenter: "{{ datacenter_name }}"
    datastore: DS01

- name: Resize VM CPU and Memory (if required)
  vmware.vmware.vm:
    hostname: "{{ vmware_hostname }}"
    username: "{{ lookup('env', 'VMWARE_USER') }}"
    password: "{{ lookup('env', 'VMWARE_PASSWORD') }}"
    validate_certs: "{{ vmware_validate_certs | default(false) }}"
    datacenter: "{{ vmware_datacenter }}"
    name: "{{ vm_name }}"
    folder: "{{ vmware_vm_folder }}"
    cpu:
      cores: 4                # Set target CPUs
    memory:
      size_mb: 8192           # Set target RAM in MB
  delegate_to: localhost
  when: deploy_status.changed

IS this the correct way?

reddit.com
u/Busy-Examination1148 — 2 months ago

Ansible and Infoblox

I am working on a role to create DNS records in infoblox and hitting a snag. The AAP job is failing because I don't have a "view" in there. As far as I can tell, our infoblox set up is using the default view.

- name: Add an A record
  infoblox.nios_modules.nios_a_record:
    name: "{{ custom_fqdn }}"
    ipv4addr: "{{ custom_ipv4 }}"
    view: default
    comment: "{{ custom_comment | default(omit) }}"
    state: present
    provider: "{{ nios_provider }}"
  connection: local
reddit.com
u/Busy-Examination1148 — 2 months ago

I'm coming down for a conference, and trying to figure out the new Marta system, specifically the app. I'm supposed to use breeze Mobile 2, correct?? It said it couldn't connect to their system and gave me a 503 error.

Anyone else having this issue?? Are there still problems with the conversion?

reddit.com
u/Busy-Examination1148 — 2 months ago